- 30 Nov, 2018 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
This is not the default with Python 2.
-
- 29 Oct, 2018 2 commits
-
-
Julien Muchembled authored
-
Bryton Lacquement authored
-
- 16 Oct, 2018 2 commits
-
-
Jérome Perrin authored
This reverts daa833ea ( !3 ) and extend it to not set `$TMP` either. De facto, setting only `$TMP` was never effective ( see also [#20120530-132221B](https://nexedi.erp5.net/bug_module/20120530-132221B) ) and as we saw in !3 (comment 67059) it causes more harm than good. The conclusion so far is that environment variables related to temporary files should be handled by the parent process. The parent process is responsible for providing a directory short enough so that we can create unix sockets in `$TMPDIR` and to clean up this directory afterwards. In a pure buildout it could be: ```bash tmpdir=$(mktemp -d) trap 'rm -rf $tmpdir' SIGINT SIGTERM TEMP=$tmpdir TMPDIR=$tmpdir TMP=$tmpdir buildout rm -rf $tmpdir ``` /reviewed-on !8
-
Jérome Perrin authored
It was inconsistent to only set TMP and not TEMP / TEMPDIR. In the case of slapos, it should be set by slapos node software Most installation seem to cleanup tmp properly, so the use case cleaning up seem not critical. This TMP was also used to know what new files have been created, by considering files newer that the creation date of this directory. Compare the file dates with the creation of the source directory instead ( xxx__compile__ )
-
- 04 Oct, 2018 1 commit
-
-
Nicolas Wavrant authored
-
- 02 Oct, 2018 2 commits
-
-
Jérome Perrin authored
This reverts commit daa833ea.
-
Jérome Perrin authored
To make it easyier to diagnose build errors. /reviewed-on !7
-
- 19 Sep, 2018 1 commit
-
-
Jérome Perrin authored
We were already setting $TMP, but many software uses $TMPDIR or $TEMP.
-
- 18 Sep, 2018 1 commit
-
-
Jérome Perrin authored
-
- 27 Aug, 2018 2 commits
-
-
Yusei Tahara authored
-
Yusei Tahara authored
Fix a doctest failure. Since shared part is read-only, it is necessary to change permission before removing.
-
- 22 Aug, 2018 3 commits
-
-
Yusei Tahara authored
To check shared directory is not enough. Shared directory may be created before completing installation. Check signature file too.
-
Yusei Tahara authored
Revert "To check shared directory is not enough. Shared directory may be created before completing installation. Check signature file too." This reverts commit ea8ac2d2.
-
Yusei Tahara authored
To check shared directory is not enough. Shared directory may be created before completing installation. Check signature file too.
-
- 21 Aug, 2018 2 commits
-
-
Yusei Tahara authored
-
Yusei Tahara authored
Rename 'shared-part' to 'shared-parts'. Since the original option name is 'parts', 'shared-parts' is consistent.
-
- 20 Aug, 2018 1 commit
-
-
Yusei Tahara authored
Disable shared feature by default since it is stil an experimental one. Enable it only if shared-part is defined.
-
- 01 Aug, 2018 1 commit
-
-
Xiaowu Zhang authored
-
- 31 Jul, 2018 1 commit
-
-
Xiaowu Zhang authored
-
- 22 Jun, 2018 1 commit
-
-
Xiaowu Zhang authored
-
- 31 May, 2018 1 commit
-
-
Xiaowu Zhang authored
1.use shared-part in [buildout] section to define shared path 2.shared option is True or Flase 3.a magic substitution @@LOCATION@@ is used to for dynamic path
-
- 28 Mar, 2018 1 commit
-
-
Jérome Perrin authored
``` ====================================================================== ERROR: /srv/slapgrid/slappart0/parts/slapos.recipe.cmmi/slapos/recipe/cmmi/README.txt Doctest: README.txt ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/slapgrid/298b8e2a56fa3803aa68aa4cfe6a3b96/parts/python2.7/lib/python2.7/doctest.py", line 2194, in setUp self._dt_setUp(test) File "/srv/slapgrid/slappart0/parts/slapos.recipe.cmmi/slapos/recipe/cmmi/tests.py", line 26, in setUp os.environ.pop('MAKEFLAGS') File "/opt/slapgrid/298b8e2a56fa3803aa68aa4cfe6a3b96/parts/python2.7/lib/python2.7/os.py", line 505, in pop return self.data.pop(key, *args) KeyError: 'MAKEFLAGS' ```
-
- 09 Mar, 2018 1 commit
-
-
Jérome Perrin authored
When running under testnode, there was sometimes this failure: ``` File "/srv/slapgrid/slappart8/srv/testnode/bee/inst/test0-0/parts/slapos.recipe.cmmi/slapos/recipe/cmmi/README.txt", line 521, in README.txt Failed example: print(system(buildout)) Expected: Uninstalling package. Installing package. package: [ENV] CFLAGS = -I/sw/include package: [ENV] LDFLAGS = -L/sw/lib -L/some/extra/lib package: [ENV] TMP = /sample_buildout/parts/package/tmp package: Applying patches patching file configure patching file Makefile.dist patched-configure --prefix=/somewhere/else --with-threads --without-foobar building patched package installing patched package installing patched package-lib <BLANKLINE> Got: Uninstalling package. Installing package. package: [ENV] CFLAGS = -I/sw/include package: [ENV] LDFLAGS = -L/sw/lib -L/some/extra/lib package: [ENV] TMP = /sample_buildout/parts/package/tmp package: Applying patches patching file configure patching file Makefile.dist patched-configure --prefix=/somewhere/else --with-threads --without-foobar building patched package installing patched package-lib installing patched package <BLANKLINE> ``` The order of in which `installing patched package-lib` and ` installing patched package` are printed is not always same. This test does `make install install-lib` with a Makefile containing: ``` all: @echo building package install: @echo installing package install-lib: @echo installing package-lib ``` @vpelletier and I investigated this and he pointed out that order of parts depends is not stable when make is invoked with `-j` option. Turned out that [on test node](https://nexedi.erp5.net/test_result_module/20180308-55459479/7) `MAKEFLAGS` is set to `-j12`. /reviewed-on nexedi/slapos.recipe.cmmi!5
-
- 07 Mar, 2018 4 commits
-
-
Jérome Perrin authored
option is used, so this warning is incorrect.
-
Jérome Perrin authored
There is no `Unused options for package: 'md5sum'.` (and this option is used, so we don't want to ignore this)
-
Jérome Perrin authored
Instead of using ellipsys use buildout provided way of ignoring these messages.
-
Jérome Perrin authored
Use buildout testing utility to start a webserver instead of downloading from the internet. This also fixes the test because the downloaded content changed.
-
- 06 Jun, 2017 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 05 Jun, 2017 5 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 30 May, 2017 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 06 Apr, 2017 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 03 Apr, 2017 2 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-