Add requirements history

We have static URLs redirecting /constraints/upper/series to the
appropriate git interface.  In the next change in this series we move to
a data-driven model so let's supply the data :)

Even though we have tag history that goes back to Folsom only import
Juno and later because that's when we first added constraints support

This means as the create and delete branches for requirements, like
other projects, we have a central source of truth (other than git) from
which to update the htaccess redirects.

I had update deliverables.py to account for the fact most of the
requirements branches don't have a release.  This does make the table
look a little funny (as the earliest release is the series eol tag :()
but I'm not sure how we can do better there.

Change-Id: Ie8e60dc865ab301539c0bb085a52dd25f3f62edf
This commit is contained in:
Tony Breeds 2019-02-25 10:08:00 +11:00
parent 6503fc4c10
commit 6b9db7e638
6 changed files with 62 additions and 1 deletions

View File

@ -0,0 +1,14 @@
---
launchpad: openstack-requirements
team: requirements
type: other
include-pypi-link: yes
release-model: cycle-with-intermediary
stable-branch-type: tagless
repository-settings:
openstack/requirements: {}
releases:
- projects:
- hash: f2223f2b9003b4dd7182159c7d6b9457c6cd18a1
repo: openstack/requirements
version: juno-eol

View File

@ -0,0 +1,14 @@
---
launchpad: openstack-requirements
team: requirements
type: other
include-pypi-link: yes
release-model: cycle-with-intermediary
stable-branch-type: tagless
repository-settings:
openstack/requirements: {}
releases:
- projects:
- hash: b7c9502f924acc4f8e13b1e561520f14a90535a3
repo: openstack/requirements
version: kilo-eol

View File

@ -0,0 +1,14 @@
---
launchpad: openstack-requirements
team: requirements
type: other
include-pypi-link: yes
release-model: cycle-with-intermediary
stable-branch-type: tagless
repository-settings:
openstack/requirements: {}
releases:
- projects:
- hash: 104c1f0cdeb2aebe7e63f04c322c26e3e2519ff2
repo: openstack/requirements
version: liberty-eol

View File

@ -0,0 +1,14 @@
---
launchpad: openstack-requirements
team: requirements
type: other
include-pypi-link: yes
release-model: cycle-with-intermediary
stable-branch-type: tagless
repository-settings:
openstack/requirements: {}
releases:
- projects:
- hash: 2a6816dab055a70747f37a6184b0d0d196a73647
repo: openstack/requirements
version: mitaka-eol

View File

@ -3,6 +3,11 @@ launchpad: openstack-requirements
team: requirements
type: other
include-pypi-link: yes
release-model: cycle-with-intermediary
stable-branch-type: tagless
repository-settings:
openstack/requirements: {}
branches:
- location:
openstack/requirements: c589637b184e77901d37cc7faa93dbb906979448
name: stable/newton

View File

@ -215,7 +215,7 @@ class DeliverableDirectiveBase(rst.Directive):
if not self.team_name:
most_recent = []
for deliv in deliverables:
earliest_version = deliv.earliest_release
recent_version = earliest_version = deliv.earliest_release
# Determine the most recent release that is not an EOL
# tag.
for r in reversed(deliv.releases):