- 20 Feb, 2023 1 commit
-
-
Jérome Perrin authored
This fixes rmtree with broken symlinks on python >= 3.8: after https://github.com/python/cpython/issues/86180 func is os.open
-
- 29 Apr, 2022 1 commit
-
-
Julien Muchembled authored
-
- 22 Apr, 2022 2 commits
-
-
Thomas Gambier authored
They are deprecated since Python 3.8 Rebase instructions: - split and fixup commits 171c2459 c9e9b267
-
Michael Howitz authored
Fixes #484. (cherry picked from commit 5aa3e5bd)
-
- 05 Apr, 2022 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
This fixes filtering of distributions, like py_version for EGG_DIST. See commit fb785cb3.
-
- 28 Mar, 2022 1 commit
-
-
Julien Muchembled authored
-
- 14 Mar, 2022 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
This is a rewrite of commit 6e4b8efe ("Support network cache in Download.download()").
-
- 03 Mar, 2022 1 commit
-
-
Julien Muchembled authored
This reverts commit e6e348fa.
-
- 12 Feb, 2022 1 commit
-
-
Julien Muchembled authored
Commit c3903c7e was error-prone because (lambda f1, f2: False) may be wrong in other cases than where it's currently used.
-
- 11 Feb, 2022 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
To be squashed with commit 4ccb79e9.
-
- 07 Jan, 2022 3 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
Like for URL that contain credentials, we still skip auth challenge because it's faster and: - we only support one auth scheme (basic) - netrc provides no way to specify realms, which seem anyway to be less and less used (https://stackoverflow.com/q/69303610 reports that recent browsers don't display them anymore) See merge request !25
-
Julien Muchembled authored
- Py3: stop using legacy API of urllib.request and fix download of http(s) URLs containing user:passwd@ - Py2: avoid OOM when downloading huge files This is implemented as a method in case we want to make it configurable via [buildout].
-
- 29 Dec, 2021 1 commit
-
-
Julien Muchembled authored
To be dropped once all buildout in the wild are able to upgrade to a version that supports new names in expression of conditional sections (see previous commit).
-
- 27 Dec, 2021 2 commits
-
-
Julien Muchembled authored
Adding new names for expression is currently not possible because buildout aborts before it tries to upgrade (in-place or bootstrap).
-
Jason Madden authored
(cherry picked from commit f1589378)
-
- 14 Dec, 2021 1 commit
-
-
Julien Muchembled authored
For example, existing values were not enough to distinguish 'arm-linux-gnueabi' from 'arm-linux-gnueabihf'. The 'multiarch' value is the output of $CC -dumpmachine where CC defaults to 'gcc'. See also https://wiki.debian.org/Multiarch/Tuples
-
- 25 Sep, 2021 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
Sometimes, most parts are reinstalled for a reason that the user didn't think about and it can take time to understand why. Explaining for all parts would be too verbose and useless because many are reinstalled just because their dependencies changed.
-
- 24 Sep, 2021 2 commits
-
-
Julien Muchembled authored
This alternate URL is used in case of HTTPError with the main one. In any case, the main URL is used for both downloading & uploading from/to networkcache. This will be exposed by slapos.recipe.build:download* and slapos.recipe.cmmi recipes.
-
Julien Muchembled authored
An optimization is to avoid temporary file when possible: a rename (or hard link) is not always possible (different mount points). Another one is to not check md5sum twice when using cache file. Fall-back mode is ignored if an MD5 checksum is given. In case of checksum mismatch for a cached path, remove it and download again, mainly to cover the following cases: - the url content changes and the user updates the checksum - buildout killed while downloading directly to cache (see above optimization) - shutil.copyfile is interrupted
-
- 15 May, 2021 3 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 14 May, 2021 1 commit
-
-
Julien Muchembled authored
Egg is install from wheel the requested version ends with :whl This replaces: 6d9b7483 Avoid installing eggs from wheels when possible ff2ee218 Do never install from wheels
-
- 12 May, 2021 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
This relaxes commit ff2ee218 ("Do never install from wheels") because for some eggs like plantuml, there's no tarball. About the implementation, no need to sort by version (as it was done) because the list is already filtered to keep the best one.
-
- 11 May, 2021 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 23 Dec, 2020 2 commits
-
-
Thomas Gambier authored
-
Thomas Gambier authored
See merge request nexedi/slapos.buildout!22
-
- 22 Dec, 2020 1 commit
-
-
Thomas Gambier authored
-
- 11 Sep, 2020 2 commits
-
-
Jérome Perrin authored
other tests have been disabled by mistake. test was randomly failing because of glob.
-
Jérome Perrin authored
-
- 10 Sep, 2020 3 commits
-
-
Jérome Perrin authored
When recipes mutate the options, we should not allow invalid syntax otherwise it gets written in .installed.cfg and generate invalid configparser syntax.
-
Jérome Perrin authored
When recipe mutate options, options values are written to .installed.cfg without escaping buildout substitution syntax, so if a recipe sets an option value that could be interpreted as a buildout substitution, it is written as is in .installed.cfg. This can be a problem if options read from _read_installed_part_options are accessed, like it's the case with slapos patched buildout which saves installed options after an error with part installation or after each part installation when running in verbose mode.
-
Jérome Perrin authored
Contrary to bash, dash filters out environment variables containing '-' characters. And for example, /bin/sh is dash on Debian. Rebase instructions: - squash with 93369b04 and keep the above commit message fixup! Fix testing index when /bin/sh is dash (like on Debian)
-