Commit Graph

17 Commits

Author SHA1 Message Date
Jeremy Stanley 39a82df080 This repository is now retired
The Release Management Team ceased using this months ago. Its
contents are replaced with a retirement notice so that potential
users will realize it is no longer maintained. Publicly announced
at:

http://lists.openstack.org/pipermail/openstack-dev/2018-June/131920.html

Change-Id: Ia30884174c43ef1c1afcc1f4a18b3c0051a89d8e
Depends-On: https://review.openstack.org/579185
2018-06-29 15:27:19 +00:00
Swapnil Kulkarni (coolsvap) 8521f35d1c Keep py3.X compatibility for urllib
Change-Id: I72acba435cb5b41e4ac9da42b3ba18c8d5b2b833
Partial-Bug:#1280105
2015-12-24 14:48:04 +05:30
Clint Adams 49d560de11 Fix flake8 warnings
This fixes all the warnings emitted by flake8, mostly involving
qualified imports, import grouping, and indentation.

Change-Id: Ia45839f3e65e15a34e2a2793fd21b83e4fc891d7
Needed-By: I158ea10f104549dd4f0f3ff777b39feb5886642e
2015-11-02 22:53:50 +09:00
Davanum Srinivas f6fc77ce82 Sync with global requirements
* update test requirements with what's in g-r
* Remove hard-coded dependencies from tox.ini as update-requirements
  does not edit tox.ini
* Remove requirements.txt as it is redundant (sdist already has it)
* Fix up all the issues identified by flake8

Co-Authored-By: Robert Collins <rbtcollins@hp.com>
Change-Id: I0508bd74edda20fbf844e7303c9b44b80ff794ef
2015-09-23 22:20:35 -04:00
Clint Adams 5b80df0891 python3-compatible syntax
Use parentheses for `print`, 0o for an octal literal, "as" for except.
import print_function from __future__.

Change-Id: Ie76910c3e0a03e4a103f612639a1b74e84f182bb
2015-08-13 10:37:21 +02:00
Thierry Carrez 9ab31aa161 upload_release.py should use $VERSION.0b1 too
To further align with the canonical form of PEP440, pre-versions
leading to $VERSION should no longer be ${VERSION}b1 but
${VERSION}.0b1.

The logic to determine that is duplicated in upload_release.py, so
until we rearchitect that that needs to be fixed there too.

Change-Id: Ic0bb8f5e9ba31370cd495f4396eb1b1306e06911
2015-06-23 15:44:55 +02:00
Thierry Carrez 900aec2f8b Support neutron advanced services
The recently split neutron-*aas need special treatment in release
scripts. The extra deliverables need to be uploaded to the same
Launchpad milestone page, and bugs should only be closed once (all
projects share the same Launchpad bug pages).

To this effect, we distinguish in the scripts the Launchpad concept
of project from the git project name as used in tarballs and skip
parts as needed. We also introduce an optional --deliverable option
to upload_release.py so that it can use different values for both.

Change-Id: I8a4db8b09a3b9d480a767ea0ce94373b4528d1a2
2015-02-02 10:14:33 +01:00
Thierry Carrez 208af0667a Use PEP440 normalized versions
Switch to using X.Y.Z format (think: 2015.1.0) versions for final
versions, X.Y.Z{b,rc}N for milestones and release candidates, to
match PEP440-normalized versions that setuptools and our tooling
now produce for our tarballs.

Change-Id: I42bd41b7fd2d9f1e9ead8a76f11a54926b637fdf
2014-12-23 14:56:57 +01:00
Christian Berendt 8cbd60937d Use /usr/bin/env python instead of /usr/bin/python
The usage of /usr/bin/env ensures that the first interpreter
found in the environment's $PATH variable is used. This should
be preferred.

Change-Id: I4011ec477534f920092cc323a26e75ff26a90051
2014-07-13 18:56:58 +02:00
Thierry Carrez c632605a64 Support swift and oslo milestone releases
For intermediary releases of Swift, first a RC tag is pushed on master
and bugs get fixreleased (using swiftrc.sh) then we use milestone.sh
in SKIPBUGS mode to push the final tag and upload the resulting tarball
without affecting bugs.

oslo-incubator does not produce tarballs, but we still want tags and
mark the 'oslo' Launchpad project milestone "released". We use
milestone.sh in SKIPTARBALL mode to just skip tarball wait and call
upload_release.py with the --nop argument to skip tarball upload.

oslo.messaging is not tagged at milestones, but we still want to mark
the milestone "released". We use milestone.sh in SKIPTARBALL and SKIPTAG
mode to skip tagging completely, skip tarball wait and call
upload_release.py with the --nop argument to skip tarball upload.

Change-Id: I7e670d2dd5052460a593a06e82dc212d176a395d
2014-06-27 12:03:21 +02:00
Christian Berendt 504ea7c9fc Use except x as y instead of except x, y
According to https://docs.python.org/3/howto/pyporting.html the
syntax changed in Python 3.x. The new syntax is usable with
Python >= 2.6 and should be preferred to be compatible with Python3.

Change-Id: I4624c9be5c70e4401c67f4f053daa9e85e3cdea4
2014-05-30 00:08:10 +02:00
Thierry Carrez b22ffa4b60 Use .bX suffix for development milestones 2013-05-30 18:07:17 +02:00
Thierry Carrez a5a650c869 Print MD5 for uploaded release 2013-03-14 09:54:41 +01:00
Thierry Carrez da637ff3cb Support final releases in upload_release.py 2013-03-11 16:08:50 +01:00
Thierry Carrez c7be5ad71a Tarballs are actually like 2013.1.g3 now. 2013-02-21 15:49:31 +01:00
Thierry Carrez 47c69fd251 Support tagged releases
Tarballs are now built when a tag is pushed. upload_release should
therefore support downloading that versioned tarball by default
(project-version~milestone.tar.gz). You can still use --tarball to
specify a specific tarball ("--tarball=milestone-proposed").
2013-02-07 16:15:53 +01:00
Thierry Carrez 8c22ede341 Initial import, includes upload_release.py
Initial import, including the new upload_release.py compatible with
no per-commit tarball (grizzly-2 and later).

Was previously developed at:
https://code.launchpad.net/~openstack-release/+junk/openstack-lp-scripts
2013-01-28 12:00:02 +01:00