Merge lp:~soren/swift/versioning into lp:~hudson-openstack/swift/trunk
Status: | Merged |
---|---|
Approved by: | John Dickinson |
Approved revision: | 304 |
Merged at revision: | 301 |
Proposed branch: | lp:~soren/swift/versioning |
Merge into: | lp:~hudson-openstack/swift/trunk |
Diff against target: |
81 lines (+55/-2) 3 files modified
setup.py (+1/-1) swift/__init__.py (+17/-1) test/unit/common/test_init.py (+37/-0) |
To merge this branch: | bzr merge lp:~soren/swift/versioning |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Swift Core security contacts | Pending | ||
Review via email: mp+62439@code.launchpad.net |
Commit message
Add a __canonical_
Add a couple of unit tests to make sure __version__ and __canonical_
Description of the change
This aligns the release process for all of Swift, Glance and Nova.
__canonical_
__version__ is constructed of __canonical_
It may look like overkill with the class in the swift/__init__.py, but my first couple of attempts without it made testing this stuff quite awkward, and since it's covered by unit tests, it should be safe enough.
I think that should be (1.4.0, False): the idea would be to switch to (1.4.0, True) at release time on the release branch.