- 02 Sep, 2015 6 commits
-
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
Changed os.mkdir to os.makedirs to make it support nested directory creation
-
Bernard `Guyzmo` Pratz authored
Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
-
Jim Fulton authored
Added extra newline to test pr testing by travis
-
Reinout van Rees authored
-
- 01 Sep, 2015 1 commit
-
-
Bernard `Guyzmo` Pratz authored
fixes issue GH-259. Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
-
- 26 Aug, 2015 5 commits
-
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
A MissingSectionHeader error now also reports the cached file
-
Reinout van Rees authored
-
Reinout van Rees authored
Reason: it doesn't only apply to URLs downloaded to the extends-cache, but also to URLs downloaded as tempfiles.
-
- 25 Aug, 2015 4 commits
-
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
Fixes #245 mostly
-
Reinout van Rees authored
See #245
-
- 07 Aug, 2015 7 commits
-
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
On windows, two files are generated (a something.exe and a something-script.py). The if/else I used is used elsewhere in other tests, too.
-
Reinout van Rees authored
-
Reinout van Rees authored
Enable downloading behind a proxy by using urllib2
-
Stefano Mazzucco authored
As per @reinout comments in PR #253, let's make it clear that we're assigning request._urlopener to a patched URL opener.
-
- 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
-
- 10 Jul, 2015 1 commit
-
-
Stefano Mazzucco authored
Behind a proxy, `urllib` does not work with Python2 due to [Python issue 24599](https://bugs.python.org/issue24599). Instead of using `urllib`, let's implement `urlretrieve` with `urllib2`, which instead works and leave the Python3 implementation untouched (since that one works too). This fixes buildout issue #32. There's no need to change the `try: except:IOError` block where `urlretrieve` is used (line 195 in download.py) since the exceptions raised by `urllib2` are subclasses of `IOError` and will then be caught.
-
- 01 Jul, 2015 12 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
-