Merge "remove the make-dashboard command"
This commit is contained in:
commit
25227f4285
@ -161,11 +161,7 @@ Final Library Release (week before Milestone-3)
|
|||||||
4. Ensure that final releases for libraries also include the
|
4. Ensure that final releases for libraries also include the
|
||||||
specification to create the stable/$series branch.
|
specification to create the stable/$series branch.
|
||||||
|
|
||||||
5. Use the ``make-dashboard`` command to prepare the data for tracking
|
5. Tag HEAD of master for any cycle-with-intermediary project without
|
||||||
the final release and import it into a Google Docs spreadsheet for
|
|
||||||
collaborative editing and monitoring.
|
|
||||||
|
|
||||||
6. Tag HEAD of master for any cycle-with-intermediary project without
|
|
||||||
any releases. Do not create branches for non-library projects.
|
any releases. Do not create branches for non-library projects.
|
||||||
|
|
||||||
Milestone-3
|
Milestone-3
|
||||||
|
@ -662,9 +662,6 @@ easy as ``pip install .`` in this repository directory.
|
|||||||
set of projects.
|
set of projects.
|
||||||
* ``missing-releases`` scans deliverable files and verifies that all
|
* ``missing-releases`` scans deliverable files and verifies that all
|
||||||
of the releases that should have been tagged by hand have been
|
of the releases that should have been tagged by hand have been
|
||||||
* ``make-dashboard`` produces a CSV file that can be imported into
|
|
||||||
Google docs (or any other spreadsheet) for tracking the
|
|
||||||
milestone-based projects at the end of the cycle
|
|
||||||
* ``init-series`` initializes a new deliverable directory with stub
|
* ``init-series`` initializes a new deliverable directory with stub
|
||||||
files based on the previous release.
|
files based on the previous release.
|
||||||
|
|
||||||
|
@ -1,97 +0,0 @@
|
|||||||
# All Rights Reserved.
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
||||||
# not use this file except in compliance with the License. You may obtain
|
|
||||||
# a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
||||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
||||||
# License for the specific language governing permissions and limitations
|
|
||||||
# under the License.
|
|
||||||
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import argparse
|
|
||||||
import csv
|
|
||||||
import sys
|
|
||||||
|
|
||||||
import openstack_releases
|
|
||||||
from openstack_releases import defaults
|
|
||||||
from openstack_releases import deliverable
|
|
||||||
from openstack_releases import governance
|
|
||||||
|
|
||||||
MILESTONE = 'cycle-with-milestones'
|
|
||||||
|
|
||||||
|
|
||||||
def main():
|
|
||||||
parser = argparse.ArgumentParser()
|
|
||||||
parser.add_argument(
|
|
||||||
'--deliverables-dir',
|
|
||||||
default=openstack_releases.deliverable_dir,
|
|
||||||
help='location of deliverable files',
|
|
||||||
)
|
|
||||||
parser.add_argument(
|
|
||||||
'--series',
|
|
||||||
default=defaults.RELEASE,
|
|
||||||
help='the release series, such as "newton" or "ocata"',
|
|
||||||
)
|
|
||||||
args = parser.parse_args()
|
|
||||||
|
|
||||||
all_deliv = deliverable.Deliverables(
|
|
||||||
root_dir=args.deliverables_dir,
|
|
||||||
collapse_history=False,
|
|
||||||
)
|
|
||||||
|
|
||||||
interesting_deliverables = [
|
|
||||||
d
|
|
||||||
for d in (deliverable.Deliverable(t, s, dn, da)
|
|
||||||
for t, s, dn, da in
|
|
||||||
all_deliv.get_deliverables(None, args.series))
|
|
||||||
if d.model == MILESTONE
|
|
||||||
]
|
|
||||||
|
|
||||||
team_data = governance.get_team_data()
|
|
||||||
teams = {
|
|
||||||
n.lower(): governance.Team(n, i)
|
|
||||||
for n, i in team_data.items()
|
|
||||||
}
|
|
||||||
|
|
||||||
# Dump the dashboard data
|
|
||||||
writer = csv.writer(sys.stdout)
|
|
||||||
writer.writerow(
|
|
||||||
('Team',
|
|
||||||
'Deliverable Type',
|
|
||||||
'Deliverable Name',
|
|
||||||
'Pre-RC1',
|
|
||||||
'RC1',
|
|
||||||
'Branched at',
|
|
||||||
'Latest RC',
|
|
||||||
'Release Notes',
|
|
||||||
'Comments',
|
|
||||||
'PTL Nick',
|
|
||||||
'PTL Email',
|
|
||||||
'Liaison Nick',
|
|
||||||
'IRC Channel')
|
|
||||||
)
|
|
||||||
|
|
||||||
for deliv in sorted(interesting_deliverables,
|
|
||||||
key=lambda x: (x.team, x.name)):
|
|
||||||
team = teams[deliv.team.lower()]
|
|
||||||
writer.writerow(
|
|
||||||
(deliv.team.lower(),
|
|
||||||
deliv.type,
|
|
||||||
deliv.name,
|
|
||||||
deliv.latest_release,
|
|
||||||
'', # RC1
|
|
||||||
deliv.get_branch_location('stable/' + args.series), # branched at
|
|
||||||
'', # latest RC
|
|
||||||
deliv.release_notes,
|
|
||||||
'', # Comments
|
|
||||||
team.data['ptl']['irc'],
|
|
||||||
team.data['ptl']['email'],
|
|
||||||
team.liaison[1] or '',
|
|
||||||
team.data.get('irc-channel'))
|
|
||||||
)
|
|
@ -30,7 +30,6 @@ console_scripts =
|
|||||||
missing-releases = openstack_releases.cmds.missing:main
|
missing-releases = openstack_releases.cmds.missing:main
|
||||||
check-diff-start = openstack_releases.cmds.check_diff_start:main
|
check-diff-start = openstack_releases.cmds.check_diff_start:main
|
||||||
list-deliverables = openstack_releases.cmds.list_deliverables:main
|
list-deliverables = openstack_releases.cmds.list_deliverables:main
|
||||||
make-dashboard = openstack_releases.cmds.dashboard:main
|
|
||||||
init-series = openstack_releases.cmds.init_series:main
|
init-series = openstack_releases.cmds.init_series:main
|
||||||
list-liaisons = openstack_releases.wiki:main
|
list-liaisons = openstack_releases.wiki:main
|
||||||
get-deliverable-owner = openstack_releases.cmds.get_deliverable_owner:main
|
get-deliverable-owner = openstack_releases.cmds.get_deliverable_owner:main
|
||||||
|
Loading…
Reference in New Issue
Block a user