Merge lp://staging/~sinzui/juju-release-tools/deprecated-mirrors into lp://staging/juju-release-tools
Status: | Merged |
---|---|
Merged at revision: | 109 |
Proposed branch: | lp://staging/~sinzui/juju-release-tools/deprecated-mirrors |
Merge into: | lp://staging/juju-release-tools |
Diff against target: |
148 lines (+71/-4) 2 files modified
generate_mirrors.py (+22/-2) tests/test_generate_mirrors.py (+49/-2) |
To merge this branch: | bzr merge lp://staging/~sinzui/juju-release-tools/deprecated-mirrors |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Packman (community) | Approve | ||
Review via email: mp+240862@code.staging.launchpad.net |
Description of the change
Point the deprecated devel (and proposed) mirror data to the deprecated CPC mirror.
This branch restores the rule to point streams.
An alpha1 tester (I know, he should be using alpha2 or 3 with support agent-stream) reported that he could not bootstrap in aws. Juju was pointed to streams.
We can remove this rule when when 1.21.0 is stable.
Code looks good, I don't completely follow the reasoning behind the change.
+DEPRECATED_PATTERN = re.compile( r'.*(devel| proposed) /tools/ streams/ v[1-9]' )
Why start '.*' when using re.search anyway?