lp-mark-bugs-released revision ac4dc8c32116eb4089277fd2ef8c3e4700a429a2
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# Copyright (c) 2010 Canonical Ltd.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# This program is free software; you can redistribute it and/or modify it
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# under the terms of the GNU General Public License version 3 as published
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# by the # Free Software Foundation
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# lp-mark-bugs-released is distributed in the hope that it will be useful, but
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# WITHOUT ANY WARRANTY; without even the implied warranty of
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# General Public License for more details.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl'''Mark bugs that are Fix Committed on a release to be Fix Released'''
9512fe850e98fdd448c638ca63fdd92a8a510255ahl print "Marking bug " + str(bug.bug.id) + " as 'Fix Released'"
9512fe850e98fdd448c638ca63fdd92a8a510255ahl print >> sys.stderr, '''Mark bugs 'Fix Committed' on a release as released
73427c57f824c3ec3b396181b163f37d50c5b3b1ahl launchpad = Launchpad.login_with('ubuntu-dev-tools', 'production')
73427c57f824c3ec3b396181b163f37d50c5b3b1ahl print >> sys.stderr, 'Could not connect to Launchpad:', str(error)
9512fe850e98fdd448c638ca63fdd92a8a510255ahl # Look up the project using the Launchpad instance.
73427c57f824c3ec3b396181b163f37d50c5b3b1ahl # Find the release in the project's releases collection.