Merge lp:~stgraber/ubuntu-archive-tools/add-note-to-tracker into lp:ubuntu-archive-tools

Proposed by Stéphane Graber
Status: Merged
Merged at revision: 604
Proposed branch: lp:~stgraber/ubuntu-archive-tools/add-note-to-tracker
Merge into: lp:ubuntu-archive-tools
Diff against target: 22 lines (+4/-1)
1 file modified
post-image-to-iso-tracker (+4/-1)
To merge this branch: bzr merge lp:~stgraber/ubuntu-archive-tools/add-note-to-tracker
Reviewer Review Type Date Requested Status
Ubuntu Package Archive Administrators Pending
Review via email: mp+122761@code.launchpad.net

Description of the change

Add new -n/--note option to post-image-to-tracker so the note field can now
be set by people and/or scripts interacting with the tracker.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'post-image-to-iso-tracker'
2--- post-image-to-iso-tracker 2012-07-18 14:26:37 +0000
3+++ post-image-to-iso-tracker 2012-09-04 21:13:21 +0000
4@@ -30,6 +30,8 @@
5 parser.add_option('-s', '--series', help='post image for SERIES')
6 parser.add_option('-m', '--milestone',
7 help='post to MILESTONE rather than the default')
8+ parser.add_option('-n', '--note', default="",
9+ help='set the note field on the build')
10
11 options, args = parser.parse_args()
12 if len(args) < 2:
13@@ -38,7 +40,8 @@
14 if options.milestone is None:
15 options.milestone = isotracker.default_milestone(series=options.series)
16
17- isotracker.post_build(args[0], args[1], milestone=options.milestone)
18+ isotracker.post_build(args[0], args[1], milestone=options.milestone,
19+ note=options.note)
20
21
22 if __name__ == '__main__':

Subscribers

People subscribed via source and target branches