Merge lp:~bjornt/lp2kanban/bugs-to-cards into lp:~launchpad/lp2kanban/trunk
Status: | Merged |
---|---|
Approved by: | Graham Binns |
Approved revision: | 71 |
Merged at revision: | 59 |
Proposed branch: | lp:~bjornt/lp2kanban/bugs-to-cards |
Merge into: | lp:~launchpad/lp2kanban/trunk |
Diff against target: |
167 lines (+106/-1) 3 files modified
examples/config.ini (+11/-0) src/lp2kanban/bugs2cards.py (+43/-0) src/lp2kanban/tests/test_bugs2cards.py (+52/-1) |
To merge this branch: | bzr merge lp:~bjornt/lp2kanban/bugs-to-cards |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Benji York (community) | code | Approve | |
Review via email: mp+135909@code.launchpad.net |
Description of the change
Support creating new cards from Launchpad bugs.
The workflow is:
1) Tag the bug you want to create a card for with the
configured tag.
2) bugs2cards.py gets all bugs with the configured tag
and creates new cards from them, if there aren't already
a card linking to that bug.
3) bugs2cards.py removes the configured tag from the bug, in
order to make the next runs faster.
I'm not completely happy with 3), since it adds noise to the bug and
requires authenticated use of the API, but it's needed, since otherwise
the list of bugs to process would just grow and grow.
I'm also not too happy of the name of the config options, but I couldn't
come up with anything better. I'm open to suggestions.
Something that I would like to do in the future is to have the type of the
card be determined by what tags the bug has, but for now it always creates
card of the same type.
Hi. This sounds nice. I agree that #3 is not ideal but I can't think of another approach yet. I've asked someone in yellow squad to give you a review soon. I'd love to have this landed.
Thank you!
Gary