- 06 Aug, 2015 4 commits
-
-
Reinout van Rees authored
Check the 'use-dependency-links' option earlier.
-
Maurits van Rees authored
This can give a small speed increase. Before this, for each dist we would first check if it had a dependency links option, which is almost always the case, but it is usually empty: the package *will* have a dependency_links.txt in its EGG-INFO, but there is only an empty line in it. When you have a lot of packages and several buildout parts that use them, the dependency links can be checked a lot of times. On an extended Plone buildout with 'use-dependency-links=false', where get_dist was called over 2500 times, the difference was 0.1 seconds, so not much. When I/O is slow, the difference could be more noticeable. Note that actually setting 'use-dependency-links' to false, already helps much more. For this buildout it shaved off 1.5 seconds. Note that the 0.1 seconds win is because we do not have to call 'os.exists' for all those files, and the 1.5 seconds win is because we do not have to actually read those files. Also, for completeness sake, note that in this buildout get_dist was called lots of times, but the list of dists that we checked for dependency links in this method was always just a list of one. So we could have simply switched the order of the three parts of the condition around with the same effect (and a smaller diff). Still, the way I did it now seems better. And I am probably explaining myself much much more than is needed. :-)
-
Jim Fulton authored
Fixed bootstrap help text: --buildout-version.
-
Maurits van Rees authored
-
- 01 Jul, 2015 21 commits
-
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
Better, simpler fix than #250
-
Reinout van Rees authored
Bootstrap fixes, including develop-eggs removal
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
Buildout no longer breaks on packages with non-ascii filenames in them.
-
Reinout van Rees authored
-
Reinout van Rees authored
Slightly improved version of lelit's #172
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
This means the eggs/ cache dir creation also moved to the start of buildout instead of happening somewhere deep in the installation mechanism. I'll need to adjust the test output for this.
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
-
- 30 Jun, 2015 12 commits
-
-
Reinout van Rees authored
Avoid prefixing buildout dir to 'special' rpath elements.
-
Reinout van Rees authored
Noted the change in buildout's changelog, too, as that's much more prominent and as it fixes a buildout bug.
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
Replaces #204, fixes #30. A date leads to less confusion than a version number separate from buildout's own version number. Similarly, tracking buildout's version number leads to bootstraps with a new version number but without changes or to bootstraps with version number from an already-older buildout. So: a date is best.
-
Reinout van Rees authored
I don't think many people use this option as it isn't documented. It used to be handy around the time when we had lots of breakage. Nowadays it isn't needed. So... I'm moving it out of the way to make room for --version as a proper version-returning option.
-
Reinout van Rees authored
This is an urelated change from mgedmin's #204 pull request. Prefixing is good as it might help figuring out what keeps filling up a temp dir in case there's a problem.
-
Reinout van Rees authored
See #86 and #222
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
Travis speed improvement through caching
-
Reinout van Rees authored
-
- 29 Jun, 2015 3 commits
-
-
Reinout van Rees authored
-
Reinout van Rees authored
The [:] is necessary to edit the os.walk results in-place. Otherwise the filtering-out of .svn, CVS and so doesn't work as intended. (Note: this regression I put in was caught by one of the tests! Good that we've got such a large amount of tests!)
-
Reinout van Rees authored
Added fs_to_text() function that ensures a filename is always unicode (python 2) or str (python 3). os.walk() gets such a unicode dirname as start point, so that it tries to do its best on python2. The resulting filenames are converted to unicode to make really sure that the join() doesn't fail with a decoding error. The input to the hash function is encoded, as it gives an ascii encoding error otherwise on python 2.
-