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
=== modified file 'post-image-to-iso-tracker'
--- post-image-to-iso-tracker 2012-07-18 14:26:37 +0000
+++ post-image-to-iso-tracker 2012-09-04 21:13:21 +0000
@@ -30,6 +30,8 @@
30 parser.add_option('-s', '--series', help='post image for SERIES')30 parser.add_option('-s', '--series', help='post image for SERIES')
31 parser.add_option('-m', '--milestone',31 parser.add_option('-m', '--milestone',
32 help='post to MILESTONE rather than the default')32 help='post to MILESTONE rather than the default')
33 parser.add_option('-n', '--note', default="",
34 help='set the note field on the build')
3335
34 options, args = parser.parse_args()36 options, args = parser.parse_args()
35 if len(args) < 2:37 if len(args) < 2:
@@ -38,7 +40,8 @@
38 if options.milestone is None:40 if options.milestone is None:
39 options.milestone = isotracker.default_milestone(series=options.series)41 options.milestone = isotracker.default_milestone(series=options.series)
4042
41 isotracker.post_build(args[0], args[1], milestone=options.milestone)43 isotracker.post_build(args[0], args[1], milestone=options.milestone,
44 note=options.note)
4245
4346
44if __name__ == '__main__':47if __name__ == '__main__':

Subscribers

People subscribed via source and target branches