~dannf/canonical-server-hwe-utils:update-milestone

Last commit made on 2019-06-05
Get this branch:
git clone -b update-milestone https://git.launchpad.net/~dannf/canonical-server-hwe-utils
Only dann frazier can upload to this branch. If you are dann frazier please log in for upload directions.

Branch merges

Branch information

Name:
update-milestone
Repository:
lp:~dannf/canonical-server-hwe-utils

Recent commits

127f9fd... by dann frazier

lp-bulk-action.py: Add update-milestone command

Change the expected release date for a milestone across projects.

9b36537... by dann frazier

Add pearl2-tag-ubuntu-18.04.3-risky.py

Look for all bugs that have an ubuntu-18.04-hwe task that either has not
yet been given a milestone, or the milestone has an estimated release
date after the release date of ubuntu-18.04.3. These bugs get the
ubuntu-18.04.3-ga-risky tag applied. All other bugs get it removed.

c7c02fa... by dann frazier

Add mc-reset command to perform a cold reset of the BMC

IPMI also supports a "warm" reset, but I don't generally have a
use case for that.

6cbd419... by dann frazier

lp-bulk-action.py: Require a subcommand

When called w/o an argument, lp-bulk-action.py gives a traceback:

$ ./lp-bulk-action.py
Traceback (most recent call last):
  File "./lp-bulk-action.py", line 77, in <module>
    if args.cmd == 'create-milestone':
AttributeError: 'Namespace' object has no attribute 'cmd'

Enforce the subcommand requirement so that we get a more useful message:

$ ./lp-bulk-action.py
usage: lp-bulk-action.py [-h]
                         {create-milestone,release-milestone,create-series}
                         ...
lp-bulk-action.py: error: the following arguments are required: cmd

0019ec3... by dann frazier

Add release-milestone subcommand

29c270f... by dann frazier

Add new create-series subcommand

Rework the argument parsing to use subparsers to make it easier to vary
the arguments used for different sub commands and use that to add new
'create-series' command.

3273f2d... by dann frazier

Fix pep8 error: 22:1: E305 expected 2 blank lines after class or function definition, found 1

7f64b5e... by dann frazier

Fix pep8 error: 18:80: E501 line too long (107 > 79 characters)

b514108... by dann frazier

Make the list of projects a global variable

a2e2186... by dann frazier

Rename and refactor to prepare to support additional actions

There are several more actions beyond creating milestones that'd be useful
to automate across projects. Add an "action" argument, which for now can
only be "create-milestone". Also rename script to reflect its generality.