Commit Graph

12 Commits

Author SHA1 Message Date
Jeremy Stanley 39a82df080 This repository is now retired
The Release Management Team ceased using this months ago. Its
contents are replaced with a retirement notice so that potential
users will realize it is no longer maintained. Publicly announced
at:

http://lists.openstack.org/pipermail/openstack-dev/2018-June/131920.html

Change-Id: Ia30884174c43ef1c1afcc1f4a18b3c0051a89d8e
Depends-On: https://review.openstack.org/579185
2018-06-29 15:27:19 +00:00
Doug Hellmann cb72d56a7f use plain-text file for launchpad credentials
Authenticating to use launchpad now defaults to an encrypted keyring,
which requires the user to enter a keyring password
interactively. Enable using a plain-text file explicitly or via an
environment variable to bypass this to improve automation.

Change-Id: Ifed22f7c178b1e62e7b5e95d0f8810633ba46fb1
2015-12-02 17:00:40 +00:00
Clint Adams 49d560de11 Fix flake8 warnings
This fixes all the warnings emitted by flake8, mostly involving
qualified imports, import grouping, and indentation.

Change-Id: Ia45839f3e65e15a34e2a2793fd21b83e4fc891d7
Needed-By: I158ea10f104549dd4f0f3ff777b39feb5886642e
2015-11-02 22:53:50 +09:00
Doug Hellmann bb7139f047 Fix formatting in process_bugs.py output
The recent changes to use print() instead of print mean we started
having more newlines, which in turn means the output is much longer than
it used to be. Restore the same formatting, and fix some prints that
didn't have the () so weren't being called.

Change-Id: I55f8c8bfe899bc0bb57cdf4f4a4b49ffd146ff94
2015-08-24 21:33:06 +00:00
Clint Adams 5b80df0891 python3-compatible syntax
Use parentheses for `print`, 0o for an octal literal, "as" for except.
import print_function from __future__.

Change-Id: Ie76910c3e0a03e4a103f612639a1b74e84f182bb
2015-08-13 10:37:21 +02:00
Doug Hellmann 0a397a988a Handle more errors when updating bugs
Sometimes the user running the script doesn't have access to a bug that
is marked private and gets a 401 error. Catch *all* errors trying to
update the bug status and treat them all as failures from which we can
continue and then clean up manually.

Change-Id: Ibc37d69259e841ba80bf4d42de5b0b45678fc54b
2015-06-24 18:04:35 +00:00
Christian Berendt 8cbd60937d Use /usr/bin/env python instead of /usr/bin/python
The usage of /usr/bin/env ensures that the first interpreter
found in the environment's $PATH variable is used. This should
be preferred.

Change-Id: I4011ec477534f920092cc323a26e75ff26a90051
2014-07-13 18:56:58 +02:00
Thierry Carrez c7d28d5581 Add bug-deferral feature to process_bugs.py
Add a new --milestone selection option in process_bugs.py to allow
selection of all open bugs from a given milestone.

That lets you defer bugs using:
./process_bugs.py glance --milestone juno-2 --settarget juno-3

Change-Id: I50f0081d49a491aaaa07c34f9dd9d9a608468e7f
2014-06-24 14:59:14 +02:00
Thierry Carrez 35f631be73 process_bugs.py: handle LP timeouts gracefully
Launchpad timeouts all the time when modifying bugs with lots of tasks.
process_bugs should fail gracefully when it's in that unfortunately
common situation.
2013-11-29 15:10:16 +01:00
Thierry Carrez bb98fb2e82 Fix issue in process_bug.py setting milestone
process_bug would try to set the milestone on a staging URL.
2013-03-13 09:54:59 +01:00
Thierry Carrez 7c6c21d239 Fix infinite loop when only --settarget is used
If you only use --settarget then there will always be bugs to
process (overwrite milestone with itself). New code makes sure
you don't loop if you didn't change anything at the last loop.
2013-03-08 16:12:08 +01:00
Thierry Carrez a7d3569572 Added process_bugs.py 2013-03-08 15:53:03 +01:00