- 08 Apr, 2020 9 commits
-
-
Jérome Perrin authored
Instead of the previous approach which relied on a side effect of installing *-fonts parts that would write in parts/fonts/ and make the fonts automatically available to applications, use a new approach where each part is "pure", without side effects. To make the fonts available to applications, a fontconfig font.conf listing all the parts with fonts needs to be generated and set as $FONTCONFIG environment variable. A template font.conf is included in component/fontconfig
-
Jérome Perrin authored
This keeps the bug compatibility that we ignore error in the build. jsl does not understand modern javascript syntax and does not do so many useful checks, it would be waste of time trying to fix it.
-
Jérome Perrin authored
We now need to refer to the part where the dictionnary was installed.
-
Jérome Perrin authored
this allow to share aspell component. Users needs to install the part with dictionnaries, ie. aspell-en-dictionary instead of simply aspell
-
Jérome Perrin authored
-
Jérome Perrin authored
apr and apr-util are now build separately. I'm not sure there was any benefit with that approach of copying the directories inside apache source tree before build. Using extra modules, like apache-antiloris require to install apache in non-shared mode. This also removes apache-antiloris from cloudooo and erp5 stacks so that they can use apache as shared. Even if the section was installed, this was not used anywhere.
-
Jérome Perrin authored
Otherwise it will try to use development system package and we will have different results depending on wether that package is installed or not. Note that because of a typo in the environment variable (this makefile uses $LDFLAGS, slapos zlib was not effective so far)
-
Jérome Perrin authored
In my environment this relinking to system package, I don't know why it works in other cases.
-
Jérome Perrin authored
-
- 07 Apr, 2020 8 commits
-
-
Jérome Perrin authored
See merge request !723
-
Jérome Perrin authored
See merge request !724
-
Jérome Perrin authored
Since `buildout 2.7.1+slapos002`, we `Check that sections don't installed the same path`, so we need to adjust some profiles which were not respecting this rule. This fixes the regression introduced by nexedi/slapos@bbd70f7d See merge request !726
-
Jérome Perrin authored
-
Jérome Perrin authored
use another port so that we can run tests on test node, port 8080 is already used by testnode.
-
Jérome Perrin authored
-
Jérome Perrin authored
Install a promise so that we know when instance is ready Use a builout.hash.cfg for easier management
-
Thomas Gambier authored
-
- 06 Apr, 2020 6 commits
-
-
Jérome Perrin authored
By using a short filenames like "httpd.crt" or "httpd.key", we risk have conflict with users of this stack. Use a name with more context, that should likely not be used by applications. This solves an issue with lamp stack, that was visible with nextcloud software: While: Installing ca-apache-php. Error: The following paths are already installed by other sections: {'/srv/slapgrid/slappart8/srv/testnode/cvt/inst/test0-0/tmp/inst/ncs2/srv/ssl/certs/httpd.key': 'ca-monitor-httpd', '/srv/slapgrid/slappart8/srv/testnode/cvt/inst/test0-0/tmp/inst/ncs2/srv/ssl/certs/httpd.crt': 'ca-monitor-httpd'}
-
Jérome Perrin authored
We were using caddy-log-access-header to make sure we have at least one file to include, but this was implemented in a way that the config file was overwritten. Reimplement this by using caddy-log-access-empty to create an empty file when there are no slaves, caddy-log-access otherwise.
-
Jérome Perrin authored
If we list eggs as eggs= of a zc.recipe.egg section, the scripts of these eggs will be installed again. This fixes this error while building: While: Installing extra-eggs. Error: The following paths are already installed by other sections: {'/srv/slapgrid/slappart8/srv/testnode/cvt/inst/test0-0/tmp/soft/72b4c4e0472506664a0cb3cc44bbb0b2/bin/caucased-manage': 'caucase-eggs', '/srv/slapgrid/slappart8/srv/testnode/cvt/inst/test0-0/tmp/soft/72b4c4e0472506664a0cb3cc44bbb0b2/bin/caucase-key-id': 'caucase-eggs', '/srv/slapgrid/slappart8/srv/testnode/cvt/inst/test0-0/tmp/soft/72b4c4e0472506664a0cb3cc44bbb0b2/bin/caucase-updater': 'caucase-eggs', '/srv/slapgrid/slappart8/srv/testnode/cvt/inst/test0-0/tmp/soft/72b4c4e0472506664a0cb3cc44bbb0b2/bin/caucase-rerequest': 'caucase-eggs', '/srv/slapgrid/slappart8/srv/testnode/cvt/inst/test0-0/tmp/soft/72b4c4e0472506664a0cb3cc44bbb0b2/bin/caucase': 'caucase-eggs', '/srv/slapgrid/slappart8/srv/testnode/cvt/inst/test0-0/tmp/soft/72b4c4e0472506664a0cb3cc44bbb0b2/bin/caucase-probe': 'caucase-eggs', '/srv/slapgrid/slappart8/srv/testnode/cvt/inst/test0-0/tmp/soft/72b4c4e0472506664a0cb3cc44bbb0b2/bin/caucased': 'caucase-eggs'}
-
Jérome Perrin authored
The same caddy-log-access section was defined more than once, keep only one implementation. Remove some trailing spaces.
-
Jérome Perrin authored
library dir is lib64 in that case
-
Jérome Perrin authored
npm invokes node from $PATH, so make sure we have proper node version in PATH.
-
- 05 Apr, 2020 1 commit
-
-
Dmitry Blinov authored
-e is already set by default in slapos.recipe.cmmi 0.13
-
- 03 Apr, 2020 8 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Jérome Perrin authored
let's use the one from stack/slapos.cfg because there's a version confict
-
Jérome Perrin authored
-
Julien Muchembled authored
-
Łukasz Nowak authored
-
Kazuhiko Shiozaki authored
-
Jérome Perrin authored
Test Mariadb in ERP5 SR test and a few cleanups, mainly around mariadb: - We need a more "strict" promise than just checking if something is listening on the port - We don't need to wait so long between setup retries - We can use mroonga provided setup script instead of writing the setup ourselves. See merge request !722
-
- 02 Apr, 2020 4 commits
-
-
Thomas Gambier authored
-
Łukasz Nowak authored
-
Ivan Tyagov authored
Buildout complains that two sections can not write to same file (rightfully) thus rewrite in same section.
-
Thomas Gambier authored
In Ubuntu 19.10, we use GCC 9.2.1 and glib was failing to compile with the following message: CC libgio_2_0_la-gdbusauth.lo gdbusauth.c: In function '_g_dbus_auth_run_server': gdbusauth.c:1302:11: error: '%s' directive argument is null [-Werror=format-overflow=] 1302 | debug_print ("SERVER: WaitingForBegin, read '%s'", line); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors So we apply this MR: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/626 corresponding to this commit: https://gitlab.gnome.org/GNOME/glib/-/commit/2a9ddc630341789c629c17c17565f5a7a7db8a8e "gdbus: Avoid printing null strings"
-
- 01 Apr, 2020 1 commit
-
-
Jérome Perrin authored
This does not seem to use autoheader and automake, these commands exists with error code and don't touch any local files when executed, so don't run them, because since slapos.recipe.cmmi 0.13, we check exit code of each command in multi line commands
-
- 31 Mar, 2020 3 commits
-
-
Julien Muchembled authored
-
Jérome Perrin authored
This mysql_update service retries every 30 seconds, but what usually happens is that it starts at same time as mariadb, make a first attempt at connect which fails because mariadb is not ready, sleep for 30 seconds, reties and succeed. Which is not efficient because we don't need to wait for so long. Instead of sleeping for 30 seconds between each retries, start with a short delay and increase each time, but not more than 30 seconds.
-
Jérome Perrin authored
-