lpupdatebug needs to handle multiple bug references

Bug #1442693 reported by Mateusz Matuszkowiak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Mateusz Matuszkowiak

Bug Description

lpupdatebug script needs to be able to handle multiple (closes|related) bug references specified in commit message. right now it is capable only of handline one per comming msg.

tags: added: non-release
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to fuel-infra-packages/python-lpupdatebug (master)

Fix proposed to branch: master
Change author: Mateusz Matuszkowiak <email address hidden>
Review: https://review.fuel-infra.org/5682

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to fuel-infra-packages/python-lpupdatebug (master)

Reviewed: https://review.fuel-infra.org/5682
Submitter: Mateusz Matuszkowiak <email address hidden>
Branch: master

Commit: aa86e5bc0631efc8047e9cbcbb16260792b5344c
Author: Mateusz Matuszkowiak <email address hidden>
Date: Mon Apr 13 23:53:23 2015

Minor fixes in lpupdatebug script

- be able to process every LP bug's referenced in commit msg,
- explicitly try-catch KeyError on set_status & add_comment
- tolerate missing "#" char before the actual LP bugs number

Closes-Bug: #1442693

Change-Id: I93f47b1e4e19c150644d4ac1fc908a40920b1155

Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.