Merge "add release notes links for mitaka"

This commit is contained in:
Jenkins 2016-03-31 17:54:02 +00:00 committed by Gerrit Code Review
commit 8ddc905731
30 changed files with 82 additions and 0 deletions

View File

@ -1,6 +1,7 @@
---
launchpad: aodh
send-announcements-to: openstack-announce@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/aodh/mitaka.html
releases:
- version: 2.0.0.0b1
projects:

View File

@ -1,6 +1,7 @@
---
launchpad: barbican
send-announcements-to: openstack-announce@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/barbican/mitaka.html
releases:
- version: 2.0.0.0b1
projects:

View File

@ -1,6 +1,7 @@
---
launchpad: bifrost
send-announcements-to: openstack-dev@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/bifrost/mitaka.html
releases:
- version: 0.1.0
projects:

View File

@ -1,6 +1,7 @@
---
launchpad: ceilometer
send-announcements-to: openstack-announce@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/ceilometer/mitaka.html
releases:
- version: 6.0.0.0b1
projects:

View File

@ -1,6 +1,7 @@
---
launchpad: cinder
send-announcements-to: openstack-announce@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/cinder/mitaka.html
releases:
- version: 8.0.0.0b1
projects:

View File

@ -1,6 +1,7 @@
---
launchpad: designate
send-announcements-to: openstack-announce@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/designate/mitaka.html
releases:
- version: 2.0.0.0b1
projects:

View File

@ -1,6 +1,7 @@
---
launchpad: glance
send-announcements-to: openstack-announce@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/glance/mitaka.html
releases:
- version: 12.0.0.0b1
projects:

View File

@ -1,6 +1,7 @@
---
launchpad: heat
send-announcements-to: openstack-announce@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/heat/mitaka.html
releases:
- version: 6.0.0.0b1
projects:

View File

@ -1,6 +1,7 @@
---
launchpad: horizon
send-announcements-to: openstack-announce@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/horizon/mitaka.html
releases:
- version: 9.0.0.0b1
projects:

View File

@ -1,6 +1,7 @@
---
launchpad: ironic-python-agent
send-announcements-to: openstack-dev@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/ironic-python-agent/mitaka.html
releases:
- version: 1.1.0
projects:

View File

@ -1,6 +1,7 @@
---
launchpad: ironic
send-announcements-to: openstack-announce@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/ironic/mitaka.html
releases:
- version: 4.3.0
projects:

View File

@ -1,6 +1,7 @@
---
launchpad: keystone
send-announcements-to: openstack-announce@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/keystone/mitaka.html
releases:
- version: 9.0.0.0b1
projects:

View File

@ -1,6 +1,7 @@
---
launchpad: manila
send-announcements-to: openstack-announce@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/manila/mitaka.html
releases:
- version: 2.0.0.0b1
projects:

View File

@ -1,6 +1,7 @@
---
launchpad: mistral
send-announcements-to: openstack-announce@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/mistral/mitaka.html
releases:
- version: 2.0.0.0b1
projects:

View File

@ -1,6 +1,7 @@
---
launchpad: murano
send-announcements-to: openstack-announce@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/murano-agent/mitaka.html
releases:
- version: 2.0.0.0b1
projects:

View File

@ -1,6 +1,7 @@
---
launchpad: murano
send-announcements-to: openstack-announce@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/murano-dashboard/mitaka.html
releases:
- version: 2.0.0.0b1
projects:

View File

@ -1,6 +1,7 @@
---
launchpad: murano
send-announcements-to: openstack-announce@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/murano/mitaka.html
releases:
- version: 2.0.0.0b1
projects:

View File

@ -1,6 +1,7 @@
---
launchpad: neutron
send-announcements-to: openstack-announce@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/neutron/mitaka.html
releases:
- version: 8.0.0.0b1
projects:

View File

@ -1,6 +1,7 @@
---
launchpad: nova
send-announcements-to: openstack-announce@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/nova/mitaka.html
releases:
- version: 13.0.0.0b1
projects:

View File

@ -2,6 +2,7 @@
launchpad: os-brick
send-announcements-to: openstack-dev@lists.openstack.org
include-pypi-link: yes
release-notes: http://docs.openstack.org/releasenotes/os-brick/mitaka.html
releases:
- version: 0.6.0
projects:

View File

@ -2,6 +2,7 @@
launchpad: os-client-config
send-announcements-to: openstack-dev@lists.openstack.org
include-pypi-link: yes
release-notes: http://docs.openstack.org/releasenotes/os-client-config/mitaka.html
releases:
- version: 1.8.0
projects:

View File

@ -2,6 +2,7 @@
launchpad: python-cinderclient
send-announcements-to: openstack-announce@lists.openstack.org
include-pypi-link: yes
release-notes: http://docs.openstack.org/releasenotes/python-cinderclient/mitaka.html
releases:
- version: 1.5.0
projects:

View File

@ -2,6 +2,7 @@
launchpad: python-ironicclient
send-announcements-to: openstack-announce@lists.openstack.org
include-pypi-link: yes
release-notes: http://docs.openstack.org/releasenotes/python-ironicclient/mitaka.html
releases:
- version: 0.9.0
projects:

View File

@ -1,6 +1,7 @@
---
launchpad: python-saharaclient
send-announcements-to: openstack-announce@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/python-saharaclient/mitaka.html
releases:
- version: 0.12.0
projects:

View File

@ -1,6 +1,7 @@
---
launchpad: sahara
send-announcements-to: openstack-announce@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/sahara/mitaka.html
releases:
- version: 4.0.0.0b1
projects:

View File

@ -1,6 +1,7 @@
---
launchpad: searchlight
send-announcements-to: openstack-announce@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/searchlight/mitaka.html
releases:
- version: 0.2.0.0b1
projects:

View File

@ -1,6 +1,7 @@
---
launchpad: senlin
send-announcements-to: openstack-announce@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/senlin/mitaka.html
releases:
- version: 1.0.0.0b2
projects:

View File

@ -1,6 +1,7 @@
---
launchpad: trove
send-announcements-to: openstack-announce@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/trove/mitaka.html
releases:
- version: 5.0.0.0b1
projects:

View File

@ -1,6 +1,7 @@
---
launchpad: zaqar
send-announcements-to: openstack-announce@lists.openstack.org
release-notes: http://docs.openstack.org/releasenotes/zaqar/mitaka.html
releases:
- version: 2.0.0.0b1
projects:

53
tools/add_release_note_links.sh Executable file
View File

@ -0,0 +1,53 @@
#!/bin/bash
#
# Add release notes links to deliverable files when they page exists
# and the link is not already in the file.
#
# 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.
if [ -z "$1" ]; then
echo "Usage: $0 SERIES"
exit 1
fi
SERIES="$1"
function url_exists {
local url="$1"
code=$(curl --silent -I -w "%{http_code}" -o /dev/null "$url")
if [[ $code = 200 ]]; then
return 0
else
return 1
fi
}
for filename in deliverables/$SERIES/*.yaml; do
deliverable=$(basename $filename .yaml)
echo -n $deliverable
if grep -q 'release-notes' $filename; then
echo " already linked"
continue
fi
url="http://docs.openstack.org/releasenotes/${deliverable}/${SERIES}.html"
if ! url_exists $url; then
echo " no release notes page at $url"
else
sed -i -e "/releases:/i \
release-notes: $url" $filename
echo
fi
done