Merge "add client-library deliverable type"

This commit is contained in:
Zuul 2018-01-31 13:02:09 +00:00 committed by Gerrit Code Review
commit 5e8c03e3f8
43 changed files with 61 additions and 41 deletions

View File

@ -3,4 +3,4 @@ include-pypi-link: yes
launchpad: python-aodhclient
release-model: cycle-with-intermediary
team: Telemetry
type: library
type: client-library

View File

@ -2,7 +2,7 @@
launchpad: python-barbicanclient
release-model: cycle-with-intermediary
team: barbican
type: library
type: client-library
releases:
- projects:
- hash: 262025bd2ea60aa668d0981b50e2d62071ed8d60

View File

@ -3,7 +3,7 @@ include-pypi-link: yes
launchpad: blazar
release-model: cycle-with-intermediary
team: blazar
type: library
type: client-library
releases:
- projects:
- hash: 037f74de1f48b90dc25c5812b16543a6fccedfc1

View File

@ -3,7 +3,7 @@ include-pypi-link: yes
launchpad: python-cinderclient
release-model: cycle-with-intermediary
team: cinder
type: library
type: client-library
releases:
- projects:
- hash: 17e94f506b18ff1354ce8938467e31f6ae867c35

View File

@ -3,4 +3,4 @@ include-pypi-link: yes
launchpad: python-ceilometerclient
release-model: cycle-with-intermediary
team: Telemetry
type: library
type: client-library

View File

@ -3,7 +3,7 @@ include-pypi-link: yes
launchpad: python-cinderclient
release-model: cycle-with-intermediary
team: cinder
type: library
type: client-library
releases:
- version: 3.2.0
projects:

View File

@ -3,7 +3,7 @@ include-pypi-link: yes
launchpad: cloudkitty
release-model: cycle-with-intermediary
team: cloudkitty
type: library
type: client-library
releases:
- version: 1.2.0
projects:

View File

@ -3,7 +3,7 @@ include-pypi-link: yes
launchpad: python-congressclient
release-model: cycle-with-intermediary
team: congress
type: library
type: client-library
releases:
- version: 1.9.0
projects:

View File

@ -3,7 +3,7 @@ include-pypi-link: yes
launchpad: python-designateclient
release-model: cycle-with-intermediary
team: designate
type: library
type: client-library
releases:
- version: 2.8.0
projects:

View File

@ -2,7 +2,7 @@
launchpad: freezer
release-model: cycle-with-intermediary
team: freezer
type: library
type: client-library
releases:
- version: 1.5.0
projects:

View File

@ -17,4 +17,4 @@ releases:
repo: openstack/python-glanceclient
version: 2.9.1
team: glance
type: library
type: client-library

View File

@ -3,7 +3,7 @@ include-pypi-link: yes
launchpad: python-heatclient
release-model: cycle-with-intermediary
team: heat
type: library
type: client-library
releases:
- version: 1.12.0
projects:

View File

@ -3,7 +3,7 @@ include-pypi-link: yes
launchpad: python-ironic-inspector-client
release-model: cycle-with-intermediary
team: ironic
type: library
type: client-library
releases:
- projects:
- hash: e4ceea7a96f9b446fbe3b230ffce1d920a883324

View File

@ -3,7 +3,7 @@ include-pypi-link: yes
launchpad: python-ironicclient
release-model: cycle-with-intermediary
team: ironic
type: library
type: client-library
releases:
- projects:
- hash: 9ab4193ea3a7cc11046f6e3e1b64a16211d00ef2

View File

@ -3,7 +3,7 @@ include-pypi-link: yes
launchpad: python-karborclient
release-model: cycle-with-intermediary
team: karbor
type: library
type: client-library
releases:
- projects:
- hash: a4cec6cb18418a5e1d5508aa627f919f6a08ab11

View File

@ -6,7 +6,7 @@ include-pypi-link: yes
launchpad: python-keystoneclient
release-model: cycle-with-intermediary
team: keystone
type: library
type: client-library
releases:
- projects:
- hash: 2bea645ccc0723d69f10c771b73b5894223feedf

View File

@ -3,4 +3,4 @@ include-pypi-link: yes
launchpad: python-magnumclient
release-model: cycle-with-intermediary
team: magnum
type: library
type: client-library

View File

@ -3,7 +3,7 @@ include-pypi-link: yes
launchpad: python-manilaclient
release-model: cycle-with-intermediary
team: manila
type: library
type: client-library
releases:
- projects:
- hash: 63b5a4dedfde0a64c75fd4dad4a1da6a775effdf

View File

@ -1,6 +1,6 @@
---
team: mistral
type: library
type: client-library
include-pypi-link: yes
launchpad: python-mistralclient
release-model: cycle-with-intermediary

View File

@ -6,7 +6,7 @@ include-pypi-link: yes
launchpad: monasca
release-model: cycle-with-intermediary
team: monasca
type: library
type: client-library
releases:
- projects:
- hash: d81d2119fb90702d4ff497b29f5619ccf1d8ae04

View File

@ -3,7 +3,7 @@ include-pypi-link: yes
launchpad: python-muranoclient
release-model: cycle-with-intermediary
team: murano
type: library
type: client-library
releases:
- version: 1.0.0
projects:

View File

@ -3,7 +3,7 @@ include-pypi-link: yes
launchpad: python-neutronclient
release-model: cycle-with-intermediary
team: neutron
type: library
type: client-library
releases:
- projects:
- hash: 50b5b29b1acf5c60a6e4f9cf33ec482336a0e68b

View File

@ -7,7 +7,7 @@ launchpad: python-novaclient
release-model: cycle-with-intermediary
release-notes: https://docs.openstack.org/releasenotes/python-novaclient/unreleased.html
team: nova
type: library
type: client-library
releases:
- version: 10.0.0
projects:

View File

@ -4,7 +4,7 @@ storyboard: 911
release-model: cycle-with-intermediary
release-notes: https://docs.openstack.org/releasenotes/python-octaviaclient/queens.html
team: octavia
type: library
type: client-library
branches:
- name: stable/queens
location: 1.4.0

View File

@ -3,4 +3,4 @@ include-pypi-link: yes
launchpad: python-pankoclient
release-model: cycle-with-intermediary
team: Telemetry
type: library
type: client-library

View File

@ -3,7 +3,7 @@ include-pypi-link: yes
launchpad: python-saharaclient
release-model: cycle-with-intermediary
team: sahara
type: library
type: client-library
releases:
- version: 1.4.0
projects:

View File

@ -3,4 +3,4 @@ include-pypi-link: yes
launchpad: python-searchlightclient
release-model: cycle-with-intermediary
team: searchlight
type: library
type: client-library

View File

@ -3,7 +3,7 @@ include-pypi-link: yes
launchpad: python-senlinclient
release-model: cycle-with-intermediary
team: senlin
type: library
type: client-library
releases:
- version: 1.5.0
projects:

View File

@ -2,7 +2,7 @@
launchpad: python-solumclient
release-model: cycle-with-intermediary
team: solum
type: library
type: client-library
releases:
- version: 2.6.0
projects:

View File

@ -4,7 +4,7 @@ launchpad: python-swiftclient
release-model: cycle-with-intermediary
release-notes: https://docs.openstack.org/releasenotes/python-swiftclient/current.html
team: swift
type: library
type: client-library
releases:
- version: 3.5.0
projects:

View File

@ -3,4 +3,4 @@ include-pypi-link: yes
launchpad: python-tackerclient
release-model: cycle-with-intermediary
team: tacker
type: library
type: client-library

View File

@ -2,4 +2,4 @@
launchpad: python-tricircleclient
release-model: cycle-with-intermediary
team: tricircle
type: library
type: client-library

View File

@ -6,7 +6,7 @@ launchpad: tripleo
release-model: cycle-trailing
release-type: python-pypi
team: tripleo
type: library
type: client-library
releases:
- projects:
- hash: d8e2ad26940e5fe83140e60f5ef8509775da3463

View File

@ -3,7 +3,7 @@ include-pypi-link: yes
launchpad: python-troveclient
release-model: cycle-with-intermediary
team: trove
type: library
type: client-library
releases:
- version: 2.13.0
projects:

View File

@ -3,7 +3,7 @@ include-pypi-link: yes
launchpad: python-vitrageclient
release-model: cycle-with-intermediary
team: vitrage
type: library
type: client-library
branches:
- location: 2.0.0
name: stable/queens

View File

@ -3,7 +3,7 @@ include-pypi-link: yes
launchpad: watcher
release-model: cycle-with-intermediary
team: watcher
type: library
type: client-library
releases:
- version: 1.4.0
projects:

View File

@ -3,7 +3,7 @@ include-pypi-link: yes
launchpad: python-zaqarclient
release-model: cycle-with-intermediary
team: zaqar
type: library
type: client-library
releases:
- version: 1.8.0
projects:

View File

@ -3,7 +3,7 @@ include-pypi-link: yes
launchpad: python-zunclient
release-model: cycle-with-intermediary
team: zun
type: library
type: client-library
releases:
- version: 0.5.0
projects:

View File

@ -20,13 +20,23 @@ library
=======
This deliverable type indicates that a project is a library,
middleware, client, or other piece of software that is used to build
middleware, or other piece of software that is used to build
another project and does not, by itself, provide a long-running
service or stand-alone tool.
* The repository contains software used as a library for the loose and
commonly-understood definition of "library".
.. _`type-client-library`:
client-library
==============
This deliverable type indicates that a project is a library containing
a client for an OpenStack service that is intended to be consumed by
other OpenStack services (so not a general-purpose user client such as
``shade``).
.. _`type-service`:
service

View File

@ -64,6 +64,13 @@ def main():
default=defaults.RELEASE,
help='the name of the release series to work on (%(default)s)'
)
parser.add_argument(
'--include-clients',
action='append_const',
const='client-library',
default=['library'],
dest='types',
)
parser.add_argument(
'deliverable',
nargs='*',
@ -105,7 +112,7 @@ def main():
continue
with open(filename, 'r', encoding='utf-8') as f:
deliverable_data = yamlutils.loads(f.read())
if deliverable_data['type'] != 'library':
if deliverable_data['type'] not in args.types:
continue
verbose('\n{}'.format(filename))
releases = deliverable_data.get('releases')

View File

@ -78,6 +78,7 @@ _USES_PREVER = set([
_VALID_TYPES = set([
'horizon-plugin',
'library',
'client-library',
'service',
'other',
])

View File

@ -26,7 +26,7 @@ properties:
enum: ["cycle-with-intermediary", "cycle-with-milestones", "cycle-trailing", "untagged"]
type:
type: "string"
enum: ["horizon-plugin", "library", "service", "other"]
enum: ["horizon-plugin", "library", "client-library", "service", "other"]
artifact-link-mode:
type: "string"
enum: ["tarball", "none"]

View File

@ -84,6 +84,7 @@ class DeliverableDirectiveBase(rst.Directive):
_CATEGORY_ORDER = [
'service',
'client-library',
'library',
'horizon-plugin',
'other',
@ -173,6 +174,7 @@ class DeliverableDirectiveBase(rst.Directive):
'service': 'Service Projects',
'horizon-plugin': 'Horizon Plugins',
'library': 'Library Projects',
'client-library': 'Service Client Projects',
'other': 'Other Projects',
'cycle-trailing': 'Projects Trailing the Release Cycle',
}