diff --git a/deliverables/mitaka/aodh.yaml b/deliverables/mitaka/aodh.yaml index 0016a6afc9..df645fbd83 100644 --- a/deliverables/mitaka/aodh.yaml +++ b/deliverables/mitaka/aodh.yaml @@ -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: diff --git a/deliverables/mitaka/barbican.yaml b/deliverables/mitaka/barbican.yaml index e85dc4b2dd..0f5b4461bc 100644 --- a/deliverables/mitaka/barbican.yaml +++ b/deliverables/mitaka/barbican.yaml @@ -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: diff --git a/deliverables/mitaka/bifrost.yaml b/deliverables/mitaka/bifrost.yaml index 1b0a2782e5..826addfbe9 100644 --- a/deliverables/mitaka/bifrost.yaml +++ b/deliverables/mitaka/bifrost.yaml @@ -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: diff --git a/deliverables/mitaka/ceilometer.yaml b/deliverables/mitaka/ceilometer.yaml index fff2e1df57..9dd24438cb 100644 --- a/deliverables/mitaka/ceilometer.yaml +++ b/deliverables/mitaka/ceilometer.yaml @@ -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: diff --git a/deliverables/mitaka/cinder.yaml b/deliverables/mitaka/cinder.yaml index 4b431849f5..a2890aa067 100644 --- a/deliverables/mitaka/cinder.yaml +++ b/deliverables/mitaka/cinder.yaml @@ -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: diff --git a/deliverables/mitaka/designate.yaml b/deliverables/mitaka/designate.yaml index b811666e3a..7861379166 100644 --- a/deliverables/mitaka/designate.yaml +++ b/deliverables/mitaka/designate.yaml @@ -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: diff --git a/deliverables/mitaka/glance.yaml b/deliverables/mitaka/glance.yaml index 1e43662145..a03de827ef 100644 --- a/deliverables/mitaka/glance.yaml +++ b/deliverables/mitaka/glance.yaml @@ -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: diff --git a/deliverables/mitaka/heat.yaml b/deliverables/mitaka/heat.yaml index b1f527c313..35e61943e9 100644 --- a/deliverables/mitaka/heat.yaml +++ b/deliverables/mitaka/heat.yaml @@ -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: diff --git a/deliverables/mitaka/horizon.yaml b/deliverables/mitaka/horizon.yaml index 9d6878d1a3..8ce5900746 100644 --- a/deliverables/mitaka/horizon.yaml +++ b/deliverables/mitaka/horizon.yaml @@ -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: diff --git a/deliverables/mitaka/ironic-python-agent.yaml b/deliverables/mitaka/ironic-python-agent.yaml index ec7e794741..77e2df1b9d 100644 --- a/deliverables/mitaka/ironic-python-agent.yaml +++ b/deliverables/mitaka/ironic-python-agent.yaml @@ -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: diff --git a/deliverables/mitaka/ironic.yaml b/deliverables/mitaka/ironic.yaml index 6ea6fffe14..006c6631d2 100644 --- a/deliverables/mitaka/ironic.yaml +++ b/deliverables/mitaka/ironic.yaml @@ -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: diff --git a/deliverables/mitaka/keystone.yaml b/deliverables/mitaka/keystone.yaml index 0ddee5846b..e8c7bb84f4 100644 --- a/deliverables/mitaka/keystone.yaml +++ b/deliverables/mitaka/keystone.yaml @@ -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: diff --git a/deliverables/mitaka/manila.yaml b/deliverables/mitaka/manila.yaml index e2973af7f0..d9c1996431 100644 --- a/deliverables/mitaka/manila.yaml +++ b/deliverables/mitaka/manila.yaml @@ -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: diff --git a/deliverables/mitaka/mistral.yaml b/deliverables/mitaka/mistral.yaml index 0406c849b8..65fb45c9eb 100644 --- a/deliverables/mitaka/mistral.yaml +++ b/deliverables/mitaka/mistral.yaml @@ -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: diff --git a/deliverables/mitaka/murano-agent.yaml b/deliverables/mitaka/murano-agent.yaml index b4acd9020f..a02675aaa7 100644 --- a/deliverables/mitaka/murano-agent.yaml +++ b/deliverables/mitaka/murano-agent.yaml @@ -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: diff --git a/deliverables/mitaka/murano-dashboard.yaml b/deliverables/mitaka/murano-dashboard.yaml index e230550cd4..eca52e6e22 100644 --- a/deliverables/mitaka/murano-dashboard.yaml +++ b/deliverables/mitaka/murano-dashboard.yaml @@ -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: diff --git a/deliverables/mitaka/murano.yaml b/deliverables/mitaka/murano.yaml index 15e2faa980..281bb28d23 100644 --- a/deliverables/mitaka/murano.yaml +++ b/deliverables/mitaka/murano.yaml @@ -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: diff --git a/deliverables/mitaka/neutron.yaml b/deliverables/mitaka/neutron.yaml index 17f575d488..ead598a47e 100644 --- a/deliverables/mitaka/neutron.yaml +++ b/deliverables/mitaka/neutron.yaml @@ -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: diff --git a/deliverables/mitaka/nova.yaml b/deliverables/mitaka/nova.yaml index 641e6b5b90..d93eb08b4e 100644 --- a/deliverables/mitaka/nova.yaml +++ b/deliverables/mitaka/nova.yaml @@ -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: diff --git a/deliverables/mitaka/os-brick.yaml b/deliverables/mitaka/os-brick.yaml index ee0ef88c91..5d2c6b2536 100644 --- a/deliverables/mitaka/os-brick.yaml +++ b/deliverables/mitaka/os-brick.yaml @@ -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: diff --git a/deliverables/mitaka/os-client-config.yaml b/deliverables/mitaka/os-client-config.yaml index 8b3a05949e..16f877aa88 100644 --- a/deliverables/mitaka/os-client-config.yaml +++ b/deliverables/mitaka/os-client-config.yaml @@ -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: diff --git a/deliverables/mitaka/python-cinderclient.yaml b/deliverables/mitaka/python-cinderclient.yaml index d1da5ab3ab..caab4a583e 100644 --- a/deliverables/mitaka/python-cinderclient.yaml +++ b/deliverables/mitaka/python-cinderclient.yaml @@ -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: diff --git a/deliverables/mitaka/python-ironicclient.yaml b/deliverables/mitaka/python-ironicclient.yaml index e6e858f813..f0807ffd24 100644 --- a/deliverables/mitaka/python-ironicclient.yaml +++ b/deliverables/mitaka/python-ironicclient.yaml @@ -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: diff --git a/deliverables/mitaka/python-saharaclient.yaml b/deliverables/mitaka/python-saharaclient.yaml index c5851c4336..e090c71eac 100644 --- a/deliverables/mitaka/python-saharaclient.yaml +++ b/deliverables/mitaka/python-saharaclient.yaml @@ -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: diff --git a/deliverables/mitaka/sahara.yaml b/deliverables/mitaka/sahara.yaml index ac680038d6..876341b660 100644 --- a/deliverables/mitaka/sahara.yaml +++ b/deliverables/mitaka/sahara.yaml @@ -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: diff --git a/deliverables/mitaka/searchlight.yaml b/deliverables/mitaka/searchlight.yaml index da45d8fedb..0e9c044cb1 100644 --- a/deliverables/mitaka/searchlight.yaml +++ b/deliverables/mitaka/searchlight.yaml @@ -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: diff --git a/deliverables/mitaka/senlin.yaml b/deliverables/mitaka/senlin.yaml index adbfc9a45f..8acc82171f 100644 --- a/deliverables/mitaka/senlin.yaml +++ b/deliverables/mitaka/senlin.yaml @@ -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: diff --git a/deliverables/mitaka/trove.yaml b/deliverables/mitaka/trove.yaml index abc98c3204..ba223de92a 100644 --- a/deliverables/mitaka/trove.yaml +++ b/deliverables/mitaka/trove.yaml @@ -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: diff --git a/deliverables/mitaka/zaqar.yaml b/deliverables/mitaka/zaqar.yaml index 90a2986930..ca036972a6 100644 --- a/deliverables/mitaka/zaqar.yaml +++ b/deliverables/mitaka/zaqar.yaml @@ -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: diff --git a/tools/add_release_note_links.sh b/tools/add_release_note_links.sh new file mode 100755 index 0000000000..82d5ba6b6c --- /dev/null +++ b/tools/add_release_note_links.sh @@ -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