- 04 May, 2020 3 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
This was using zlib and lzma from system if they are available
-
Jérome Perrin authored
setUpModule is expensive and also the snapshot in case of error would fail if called more than once
-
- 03 May, 2020 1 commit
-
-
Jérome Perrin authored
-
- 02 May, 2020 6 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
This reverts commit 5a6bec0e.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
- 01 May, 2020 3 commits
-
-
Jérome Perrin authored
Because we were generating a fontconfig file without the default configuration, non optimal fonts where selected during substitutions, for example instead of the very common Arial, we were substituting a serif font which looks completly different.
-
Jérome Perrin authored
-
Jérome Perrin authored
- move or link instead of copying - don't set too open permissions
-
- 30 Apr, 2020 10 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
See merge request !747
-
Rafael Monnerat authored
This would allow the webrunner invoke it to bootstrap the instance rather them create the folders manually.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Creating this file and updating the slapos.cfg configuration is possible to call slapos node format from the partition in the same way you would do in a computer.
-
Rafael Monnerat authored
-
Thomas Gambier authored
kvm_controller_raw uses slapos.qemuqmpclient from slapos.toolbox See the following error without this patch: slapuser61@COMP-202:~/srv/runner/instance/slappart0$ /srv/slapgrid/slappart61/srv/runner/instance/slappart0/bin/kvm_controller_raw Traceback (most recent call last): File "/srv/slapgrid/slappart61/srv/runner/software/1adf3dca589722a5eeac686fd4870ad0/bin/python-with-eggs", line 76, in <module> exec(compile(__file__f.read(), __file__, "exec")) File "/srv/slapgrid/slappart61/srv/runner/instance/slappart0/bin/kvm_controller_raw", line 9, in <module> from slapos.qemuqmpclient import QemuQMPWrapper, getInitialQemuResourceDict ImportError: No module named qemuqmpclient
-
Jérome Perrin authored
Modify components to make them compatible with `slapos.recipe.cmmi` shared mode. Most of them were straightforward, except: - aspell, where all dictionnaries parts were installed in aspell part. Instead of this, we generate an aspell wrapper for each language. This wrapper runs aspell with environment variables so that it loads dictionnaries from the language. - fonts, where all fonts were installed in the same `${buildout:parts-directory}/fonts/` folder and where just installing a font part had the side effect to make this font available to every application. Now each font is installed separately and it becomes applications responsability to generate a fontconfig's fonts.conf and set `FONTCONFIG_FILE` environment variable to load it, as described in https://www.freedesktop.org/software/fontconfig/fontconfig-user.html . A new `template-fonts-conf` section was introduced for this. - mariadb, where mroonga plugin write in mariadb's folder. For this, mroonga plugin is installed in another directory along with all original mariadb's plugin (that are copied) and mariadb service is configured to use mroonga's plugin folder instead of the default mariadb's folder. See merge request !706
-
Jérome Perrin authored
Include a slapos command implemented with slapos standalone See merge request !743
-
- 29 Apr, 2020 17 commits
-
-
Łukasz Nowak authored
-
Thomas Gambier authored
don't add automatic route when adding IP address on interface because the automatic route doesn't add "via XXXXXX" gateway option. In KVM setup, the host machine is the gateway. We need to go through the gateway because we can't reach directly the other VM running on different slaptap interfaces.
-
Arnaud Fontaine authored
As SOFTWARE_HOME is added at the top of sys.path, this meant that Zope2.egg/Zope2 ended up at the top of sys.path: * This broke `imp.find_module('App')` and Pylint (`No name 'Extensions' in module 'App' (no-name-in-module)`) because there are `App` modules in both Zope2.egg/Zope2/ and Zope2.egg/ and the former was returned. * "Normal" instances and Products.ERP5Type.tests.runUnitTest properly set up SOFTWARE_HOME to Zope2.egg/. Additionally, according to Zope2/Testing documentation, SOFTWARE_HOME is only needed to find Zope2.egg/Testing module, already available as Zope2.egg is in sys.path.
-
Jérome Perrin authored
Mariadb was not shared, because installing mroonga writes a plugin in mariadb's plugin dir and it's not allowed for one part to write in another part's folder. The approach is to install mroonga plugin in it's own plugin directory, then copy all mariadb default plugins in this plugin directory and configure instance to use mroonga's plugin directory. Groonga also has plugins and we are using groonga-normalizer-mysql plugin. Fortunately, groonga reads plugins located in paths listed in GRN_PLUGINS_PATH environment variable, so we can use a simpler approach of installing plugins in their own installation folder and set GRN_PLUGINS_PATH in the environment of processes using groonga, ie. the mariadb server process.
-
Jérome Perrin authored
This test make sure that groonga-normalizer-mysql is functional
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
Users will need to generate a proper fonts.conf and set it as $FONTCONFIG_FILE environment variable.
-
Jérome Perrin authored
The recommended approach is now to generate a font.conf file using slapos.recipe.template:jinja2 since font.conf now needs entries for all directories containing fonts.
-
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
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
-