Merge lp://staging/~gary/zc.buildout/betafix6 into lp://staging/zc.buildout
Status: | Needs review |
---|---|
Proposed branch: | lp://staging/~gary/zc.buildout/betafix6 |
Merge into: | lp://staging/zc.buildout |
Prerequisite: | lp://staging/~gary/zc.buildout/betafix5 |
Diff against target: |
979 lines (+465/-123) 7 files modified
CHANGES.txt (+37/-4) src/zc/buildout/bootstrap.txt (+103/-24) src/zc/buildout/buildout.py (+60/-55) src/zc/buildout/buildout.txt (+24/-12) src/zc/buildout/easy_install.py (+20/-15) src/zc/buildout/tests.py (+183/-11) src/zc/buildout/update.txt (+38/-2) |
To merge this branch: | bzr merge lp://staging/~gary/zc.buildout/betafix6 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Francis J. Lacoste (community) | code | Approve | |
Review via email:
|
Description of the change
By default, Buildout and the bootstrap script now prefer final versions of Buildout, recipes, and extensions. This was done to try and prevent problems such as those that happened the last time I tried to make a zc.buildout release. See the CHANGES file updates (which also include some notes I should have included in an earlier revision) for how it works; also not that betafix7 has a help document for users, so if you think the mechanism is fine but you want the users to have some better docs, please look at that branch. The logic for figuring out final versions in bootstrap was ripped from easy_install. The bootstrap test had to do some new tricks to exercise the changes. These new tricks revealed that, once the new version of zc.buildout was released, the bootstrap test would have failed. I believe this is now fixed as a side effect of the main effort.
I factored out some bool parsing behavior into a method on the Options object, because I was adding yet another bool and wanted to not copy and paste the code again. Note that I change the behavior of get_bool in betafix7, so it might be better to comment on its approach on that branch.
Unmerged revisions
- 564. By Gary Poster
-
clarify that --accept-
early-release must be accompanied with prefer- final-build- system= false. - 563. By Gary Poster
-
merge from trunk/previous branches
- 562. By Gary Poster
-
By default, Buildout and the bootstrap script now prefer final versions of Buildout, recipes, and extensions.
- 561. By Gary Poster
-
get tests passing for Python 2.7. Also includes Lennart Regebro changes to use the standard library doctest.
- 560. By Gary Poster
-
small Python 2.6 bugfix and Distribute test clean-ups
- 559. By Gary Poster
-
fix tests for changes
- 558. By Gary Poster
-
mimic standard site.py behavior for inclusion of .pth files
- 557. By Gary Poster
-
eliminate spurious warning if you are using distribute.
- 556. By Gary Poster
-
add files so releases can be made from a non-SVN checkout
- 555. By Gary Poster
-
fix virtualenv interaction by identfying broken virtualenv characteristic and reverting to previous behavior in that case.
Hi Gary,
I don't understand the need for both an option to bootstrap and one for
buildout. What happen if we only use the bootstrap.py option?
Is it that buildout/setuptools will upgrade itself whenever the buildout is
used? Or only the recipes? I think some clarifications of why one would use
the various options is needed to make this clearer.
Otherwise, everything looks good.