- 31 Aug, 2018 4 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
This reverts 8f35ea4d It should no longer be needed because erp5.util should now have the fix from erp5@97f3310e
-
Jérome Perrin authored
so that we don't have to escape % as %%
-
Julien Muchembled authored
Major change is that slapos compatible wrapper is no longer installed in parts/firefox/firefox-slapos , but directly as "firefox" in the buildout:bin-directory of the software profile. geckodriver is also in the same buildout:bin-directory. This way, softwares using this just need to add buildout:bin-directory to $PATH erp5testnode knows since nexedi/erp5@59ee7970 that it should look for firefox in buildout:bin-directory of the installed SR, so we should not need backward compatibility here. Adjust seleniumrunner and jstestnode for the changes Also drop unused firefox 45 Jérome changes from original 8cf6908df752b9e7632b2910ffc85027f1f4f22c : - name sections [firefox-wrapper] and [firefox] because including the version in section name means we have to also update section name when we update version. Users have to be careful of installing ${firefox-wrapper:} and not ${firefox:} - introduce macros for implementation and simple section using the macros, to make it easy to had more versions or to increase versions, for both firefox and geckodriver. They are slightly different because for firefox we need a wrapper, but geckodriver is usable directly. - use same version, the "versions up" will be separate commits. - now that seleniumrunner and jstestnode are using buildout.hash.cfg, md5sums are in separate files. Co-authored-by: Jérome Perrin <jerome@nexedi.com>
-
- 30 Aug, 2018 2 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
- 29 Aug, 2018 10 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
it clean up....
-
Rafael Monnerat authored
Up to some extent we would like to set diskcache=none and diskaio=native
-
Rafael Monnerat authored
-
Alain Takoudjou authored
This reverts commit 2c79bee1 because it depends on rdiff-backup version 1.3.4nxd4 which is not stable yet.
-
Alain Takoudjou authored
This reverts commit 9b3dfa01
-
Alain Takoudjou authored
On runner importer script, when updating database, set timeout to 5 seconds (same value as the default in python sqlite3 module: https://docs.python.org/2.7/library/sqlite3.html#sqlite3.connect). If database is locked by another process we wait a bit instead of raise immediately "database is locked". Importer script will raise if database is locked for more than 5 seconds. /reviewed-on nexedi/slapos!384
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Rafael Monnerat authored
-
- 28 Aug, 2018 3 commits
-
-
Romain Courteaud authored
-
Jérome Perrin authored
they are already pinned in stack/slapos.cfg
-
Jérome Perrin authored
When slapos.libnetworkcache is not installed, then shacache is not enabled, so SR will no longer build when there's a dead link. /reviewed on nexedi/slapos!379
-
- 27 Aug, 2018 4 commits
-
-
Klaus Wölfel authored
See https://www.erp5.com/group_section/forum/No-test-results-rtSJ3H4fpC /reviewed-on nexedi/slapos!382
-
Romain Courteaud authored
-
-
Yusei Tahara authored
aspell-en-dictionary, groonga-normalizer-mysql, file-msooxml, apache-antiloris are not shareable, they write files in other parts.
-
- 23 Aug, 2018 1 commit
-
-
Guillaume Hervier authored
With new rdiff-backup version, it is possible to speed up push process by ignoring UID/GID changes (as it will always be different because of different partitions) /reviewed-on nexedi/slapos!378
-
- 22 Aug, 2018 2 commits
-
-
Yusei Tahara authored
-
Yusei Tahara authored
stack/slapos.cfg: Add slapos.extension.shared. This extension creates .shared file in software directory as a mark of software that was built with shared feature.
-
- 21 Aug, 2018 4 commits
-
-
Jérome Perrin authored
This usage of textwrap.dedent *sometimes* does not work and sometimes create files with indentation, so we don't have "#!/bin/sh" as first line but " #!/bin/sh" Use a "safer" version that should work in all cases.
-
Jérome Perrin authored
perl path does not need extra /bin
-
Romain Courteaud authored
See nexedi/jio@4b8bddba
-
Jérome Perrin authored
Rework perl installation to install each package in a separate directory. Each package install a `perl` interpreter for each package, which is implemented a shell wrapper setting `$PERL5LIB` with the path of this package and its dependencies. To install a perl package, use `perl-CPAN-package` macro, like in this example for a fictional `XXX::YYY` package: ``` [perl-XXX-YYY] <= perl-CPAN-package module = XXX/XXX-YYY version = 1.2.3 md5sum = ab68b329da9893e34099c7d8ad5cb9c940cd123 ``` This will download package from https://www.cpan.org/modules/by-module/XXX/XXX-YYY-1.2.3.tar.gz and install using the usual `perl Makefile.PL && make && make install` sequence. To install package with dependencies, use the `inc=` argument, like in this example for another fictional package `XXX::ZZZ` package that would depend on `XXX::YYY` and `XXX::ABC` : ``` [perl-XXX-ZZZ] <= perl-CPAN-package module = XXX/XXX-ZZZ version = 1.2.3 md5sum = 401b30e3b8b5d629635a5c613cdb7919 inc = ${perl-XXX-YYY:site_perl}:${perl-XXX-ABC:site_perl} ``` The full list of options is described in the [macro](https://lab.nexedi.com/nexedi/slapos/blob/a5bec95c/component/perl/buildout.cfg#L31-65). That macro creates an interpreter for each package, but sometimes we need to create an interpreter with multiple packages. The `perl-wrapper` macro is available for this. It also accepts a `inc=` argument in the same format. Because this wrapper is implemented using `-I` argument, it is also suitable for scrips running in perl [taint mode](https://perldoc.perl.org/perlsec.html#Taint-mode-and-%40INC), like the w3-validator we are using. All perl components and perl usages have been updated to this new infrastructure. Some (apparently) unmaintained components were using an obsolete `slapos.recipe.build:cpan` recipe. They were used only in mioga2 from unstable, so I moved them inline in mioga2 software. /reviewed-on nexedi/slapos!341
-
- 20 Aug, 2018 9 commits
-
-
Jérome Perrin authored
-
Kazuhiko Shiozaki authored
-
Jérome Perrin authored
( mostly because old version is no longer on CPAN )
-
Jérome Perrin authored
( mostly because old version is no longer on CPAN )
-
Jérome Perrin authored
We stop using slapos.recipe.build:cpan , but these unstable components are not ready and not being actively maintained, so move them inline in mioga software, which was the only user of these components. When the work on this is resumed, we should switch to perl-CPAN-package here as well.
-
Jérome Perrin authored
Generate a wrapper with all dependencies available
-
Jérome Perrin authored
${perl:location} is now a perl without any package, components using perl with one specific package must switch to using the perl with the dependent CPAN packages installed.
-
Jérome Perrin authored
-
Jérome Perrin authored
Installing everything in site_perl is not the "buildout way" and is incompatible with the upcoming shared slapos.recipe.cmmi
-
- 17 Aug, 2018 1 commit
-
-
Alain Takoudjou authored
-