- 13 May, 2024 1 commit
-
-
Xavier Thompson authored
-
- 07 May, 2024 2 commits
-
-
Xavier Thompson authored
Why take the chance to potentially clobber a module named 'script'?
-
Xavier Thompson authored
The imp module is deprecated and disappears in Python 3.12. In slapos.recipe.cmmi, importlib/imp is used to run scripts loaded directly from files. The importlib version is the now recommanded way for Python 3.5+.
-
- 19 Mar, 2024 1 commit
-
-
Jérome Perrin authored
-
- 18 Mar, 2024 1 commit
-
-
Xavier Thompson authored
See merge request !17
-
- 15 Feb, 2024 1 commit
-
-
Xavier Thompson authored
In slapos.recipe.build >= 0.57, code slapos/recipe/__init__.py (which is a legacy namespace) was moved to slapos/recipe/utils.py Also version up slapos.recipe.build requirement to >= 0.57
-
- 21 Feb, 2022 1 commit
-
-
Ophélie Gagnard authored
-
- 12 Jan, 2022 1 commit
-
-
Julien Muchembled authored
-
- 29 Dec, 2021 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 06 Dec, 2021 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 02 Dec, 2021 1 commit
-
-
Julien Muchembled authored
This fixes up commit d5199b9d ("Add support for Python 3").
-
- 30 Nov, 2021 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
'environment-section' option is dropped.
-
- 23 Sep, 2021 10 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
It was broken because it conflicts with buildout, which has similar feature.
-
Julien Muchembled authored
In particular, buildout already strips values.
-
Julien Muchembled authored
We want to keep the build directory when keep-compile-dir=true, whereas sharing a part is reliable only if everything goes inside the same directory.
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 17 Aug, 2021 1 commit
-
-
Jérome Perrin authored
1dc49d3e (tests: ignore CryptographyDeprecationWarning on python2, 2021-08-13) was wrong, because this warning includes the path of the software, which also has a md5sum hash, so the normalization has to be done before the md5sum normalization, otherwise this consumes an md5sum and they become off by one, with errors like: Expected: package: shared at /shared/package/<MD5SUM:0> Uninstalling package. Installing package. package: Checking whether package is installed at shared path: /shared/package/<MD5SUM:0> package: [ENV] FOO = bar package: Command 'set -e;./configure --prefix=/shared/package/<MD5SUM:0>"' returned non-zero exit status 127. package: Compilation error. The package is left as is at /shared/package/<MD5SUM:0>__compile__ where you can inspect what went wrong. A shell script slapos.recipe.build.env.sh has been generated. You can source it in your shell to reproduce build environment. /bin/sh: 1: ./configure: not found While: Installing package. Error: System error Got: package: shared at /shared/package/<MD5SUM:1> Uninstalling package. Installing package. package: Checking whether package is installed at shared path: /shared/package/<MD5SUM:1> package: [ENV] FOO = bar package: Command 'set -e;./configure --prefix=/shared/package/<MD5SUM:1>"' returned non-zero exit status 127. package: Compilation error. The package is left as is at /shared/package/<MD5SUM:1>__compile__ where you can inspect what went wrong. A shell script slapos.recipe.build.env.sh has been generated. You can source it in your shell to reproduce build environment. <BLANKLINE> /bin/sh: 1: ./configure: not found While: Installing package. Error: System error <BLANKLINE>
-
- 13 Aug, 2021 2 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
When we switch to using `python -m unittest discover -v` test_suite is not used, but load_tests is used instead.
-
- 26 Feb, 2021 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
Symlinks can point anywhere outside the parts. Also symlinks can be broken. By using lstat instead of stat, the symlink is not considered as a regular file. See merge request !14
-
- 08 May, 2020 1 commit
-
-
Jérome Perrin authored
-
- 04 May, 2020 1 commit
-
-
Dmitry Blinov authored
Don't force strip_top_level_dir option to be false when calling for slapos.recipe.build:downloadunpacked - let the user decide. Effectively adds strip_top_level_dir option to the script which allows for shorter and more consistent paths. Also it can help mitigating the variability of path length between archives downloaded for branch, commit hash and release.
-
- 01 May, 2020 1 commit
-
-
Jérome Perrin authored
Add some doctests to describe the use cases of shared parts with slapos, including the need for our `${:_profile_base_location_}` buildout patch and the need to save signature files.
-
- 26 Apr, 2020 1 commit
-
-
Julien Muchembled authored
-
- 23 Apr, 2020 4 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Jérome Perrin authored
-
- 22 Apr, 2020 3 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
It is redundant with the fact that slapos.buildout already rebuilds if any dependency is modified. slapos.buildout does not yet understand the new => syntax from upstream buildout but meanwhile a dummy option can be set to any options of required parts.
-