- 18 Mar, 2024 1 commit
-
-
Xavier Thompson authored
See merge request !20
-
- 22 Jan, 2024 1 commit
-
-
Xavier Thompson authored
Move code from slapos/recipe/__init__.py to slapos/recipe/utils.py, so that __init__.py only contains legacy namespace-mechanism code. This is needed for buildout 3 because pip seems not to install __init__.py files from packages declared as namespace packages. slapos.recipe.cmmi and rubygemsrecipe will need to adapt to the changed path.
-
- 21 Dec, 2023 2 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
prevent these warnings to pollute the output: hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch <name> hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m <name>
-
- 10 Nov, 2022 1 commit
-
-
Jérome Perrin authored
-
- 08 Nov, 2022 1 commit
-
-
Jérome Perrin authored
See https://lore.kernel.org/lkml/xmqq4jw1uku5.fsf@gitster.g/ In the case of slapos, cloned repositories are considered trusted, so it should not be an issue to set this flag.
-
- 29 Aug, 2022 1 commit
-
-
Jérome Perrin authored
This is not used, not tested and causes SyntaxWarning on python 3.8: slapos/recipe/npm.py:128: SyntaxWarning: "is not" with a literal. Did you mean "!="? if npm_process.returncode is not 0:
-
- 07 Jul, 2022 2 commits
-
-
Jérome Perrin authored
git fetch --all no longer include "Fetching $REMOTE" when there's only one remote to fetch from
-
Jérome Perrin authored
-
- 06 Jun, 2022 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 10 Mar, 2022 1 commit
-
-
Julien Muchembled authored
-
- 11 Feb, 2022 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
This fixes: Traceback (most recent call last): ... File "slapos/recipe/build/__init__.py", line 268, in install return self._shared.install(self.__install) File "slapos/recipe/__init__.py", line 149, in install os.makedirs(parent) File "/usr/lib/python2.7/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 2] No such file or directory: ''
-
- 20 Jan, 2022 1 commit
-
-
Julien Muchembled authored
-
- 12 Jan, 2022 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 27 Dec, 2021 3 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 26 Dec, 2021 1 commit
-
-
Julien Muchembled authored
It was redundant with conditional configuration sections. SlapOS fork of zc.buildout has 'multiarch' value since 2.7.1+slapos015
-
- 13 Dec, 2021 1 commit
-
-
Julien Muchembled authored
This makes 'init' able to set other options that depend on location. It's still free to change options['location'] if the part is not shared.
-
- 10 Dec, 2021 1 commit
-
-
Julien Muchembled authored
-
- 09 Dec, 2021 3 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 08 Dec, 2021 4 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
Currently only useful for buildout.hash.cfg files in https://lab.nexedi.com/nexedi/slapos (e.g. software/slaprunner)
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 03 Dec, 2021 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
The download recipe relies on buildout's download, which uses hardlinking for performance reasons in 2 cases: downloading from cache or from local file. This means 2 things: - the user shall not modify downloaded files without first making sure that st_nlink == 1 - the source file shall not be modified in-place, which is reasable to assume for both cache and local file In-place modification of files is more and more rare because it has many drawbacks and it tends to be limited to things like logs and databases. This commit adds a test to check that Git does not do that when managing working copies: and actually, this may be our only use case of local download. This commit does not mean that the current way of hardlinking is fully fine. There remains at least the issue that file permissions may be changed at the end of the recipe, either with `shared=true` or with `mode` option.
-
- 29 Nov, 2021 3 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
By default, recent SSH (since v8.6) refuses to connect to not-so-old server (e.g. the version on Debian 8) with RSA key.
-
Julien Muchembled authored
It was partially broken since commit 8a9e3766: it only works when combined with `environment` option.
-
- 04 Oct, 2021 3 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
These files are usually so small that it's free (< FS block size) and it is more readable with non-str option values (possible with slapos.buildout).
-
Julien Muchembled authored
-
- 28 Sep, 2021 1 commit
-
-
Julien Muchembled authored
This fixes a regression that was introduced in commit d5f5d399.
-
- 27 Sep, 2021 1 commit
-
-
Julien Muchembled authored
-