Merge lp://qastaging/~chad.smith/lp2kanban/kanban-cards-in-feature-owners-next into lp://qastaging/lp2kanban

Proposed by Chad Smith
Status: Merged
Approved by: Chad Smith
Approved revision: 129
Merged at revision: 125
Proposed branch: lp://qastaging/~chad.smith/lp2kanban/kanban-cards-in-feature-owners-next
Merge into: lp://qastaging/lp2kanban
Diff against target: 341 lines (+164/-32)
3 files modified
src/lp2kanban/bugs2cards.py (+46/-12)
src/lp2kanban/tests/common.py (+4/-1)
src/lp2kanban/tests/test_bugs2cards.py (+114/-19)
To merge this branch: bzr merge lp://qastaging/~chad.smith/lp2kanban/kanban-cards-in-feature-owners-next
Reviewer Review Type Date Requested Status
Benji York (community) Approve
Review via email: mp+281795@code.qastaging.launchpad.net

Commit message

Allow feature tags on bugs to get automatically created in the designated squad todo_lane

Description of the change

bugs2cards will now observe the todo_lane setting from the lp2kanban sync.ini. It allows specific people/groups to be a feature owner.

When a feature card is on the LKK board assigned to a specific kanban user and has an unique "feature tag X", any LP bugs tagged with "kanban" and the "feature tag X" will be moved into the todo_lane instead of the default bug_to_card_lane.

In landscape's LKK, our configuration will look like this:
https://pastebin.canonical.com/146880/

By default, bugs tagged kanban in Launchpad will end up in Backlog::Engineering

If a feature card tagged "openstack-roles" is assigned to Alberto on our kanban board, then any new LP bugs tagged "kanban openstack-roles" will automatically be but into the "Development::Epsilon::Next" lane instead of "Backlog::Engineering".

To Test:
make configs
./create_creds # logs your local lp2kanban branch in as you so you can modify our production LKK board
# Select "Update all" option in your browser to give edit rights to your lp2kanban user

# Feel free to play around with Support taskboards card in Beta::Doing lane, there are cards already in landed that can automatically be pulled into the feature taskboard if you drag it into the Ready for QA lane
# There is also a TEST TAGGED CARD which has the same tag "lp2kanban" as the feature card above and depending on where you place the TEST card, it either will be pulled into the taskboard, or will be ignored.

# You can also create new fake bugs against landscape tagged with kanban and some known feature tag.

# Run lp2kanban to update the board. Watch the board's activity stream for updates from "LR" Landscape robot
./bin/py src/lp2kanban/bugs2cards.py -c configs/sync.ini -b 'Landscape 2016'

To post a comment you must log in.
Revision history for this message
Benji York (benji) wrote :

This branch looks good. I, for one, welcome our new kanban overlords.

review: Approve
130. By Chad Smith

rewrap some docstrings per review.

Revision history for this message
Chad Smith (chad.smith) :

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: