An error occurred fetching the project authors.
- 27 May, 2022 1 commit
-
-
Jérome Perrin authored
erp5.recipe.w3validator is not installed, it was just a version pin because when running buildout updating the software needs a version pin, by now all softwares must have been updated.
-
- 24 May, 2022 1 commit
-
-
Jérome Perrin authored
This reverts commit 4fa33dfc. This patch is not complete, backporting full support of `__{code,defaults}__` on Zope2 would require patching more, so we decided to keep using func_code with ERP5 on Zope2 and to use __code__ only with ERP5 on Zope4
-
- 06 May, 2022 2 commits
-
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
- 04 May, 2022 2 commits
-
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
Python2 already provides __code__ and __defaults__ so this just does the same on PythonScript.
-
- 28 Apr, 2022 1 commit
-
-
Thomas Leymonerie authored
Use slapos.recipe.template instead of slapos.recipe.template if possible Harmonize template keys : rendered -> output template -> url template = inline: -> inline = Delete "mode" key See merge request nexedi/slapos!1151
-
- 16 Apr, 2022 2 commits
-
-
Jérome Perrin authored
This macro generates an intepreters knowing its own sys.executable, so it can be used as interpreter for theia's python extension to provide code navigation, completion etc.
-
Jérome Perrin authored
-
- 07 Feb, 2022 1 commit
-
-
Arnaud Fontaine authored
-
- 20 Jan, 2022 1 commit
-
-
Cédric Le Ninivin authored
-
- 11 Jan, 2022 1 commit
-
-
Jérome Perrin authored
Since ERP5 commit 8f3b77517e (Force use of the new TimerServer, 2019-09-13) the timerserver egg is not longer used, so it's not needed to install and configure it.
-
- 02 Dec, 2021 1 commit
-
-
Julien Muchembled authored
-
- 30 Nov, 2021 1 commit
-
-
Cédric Le Ninivin authored
* Note from @jerome: We have a useless dependency to https://pypi.org/project/alabaster/, a sphynx theme, but with oic v0.15.1 it's listed as a dependency ( https://github.com/OpenIDC/pyoidc/blob/v0.15.1/setup.py#L89 ) so we don't have a choice. It was fixed later ( https://github.com/OpenIDC/pyoidc/issues/598 ) but after python2 support was dropped.
-
- 06 Oct, 2021 1 commit
-
-
Jérome Perrin authored
-
- 19 Aug, 2021 1 commit
-
-
Jérome Perrin authored
With multiple security fixes
-
- 12 Aug, 2021 1 commit
-
-
Jérome Perrin authored
These comments are not updated automatically and very hard to update manually, so it's better not to have them.
-
- 13 Jul, 2021 1 commit
-
-
Kirill Smelkov authored
tempstorage 2.12.2 is from 2012 and misses loadBefore fixes which are important when ERP5 is run with ZODB5 or ZODB4-wc2: https://github.com/zopefoundation/tempstorage/commit/d187a86d https://github.com/zopefoundation/tempstorage/pull/16 When the first loadBefore fix is not there, the problem manifests itself as Zope not starting correctly with the following error in its log: 2021-07-02 08:37:25,579 ERROR Zope.ZODBMountPoint Failed to mount database. <class 'ZODB.POSException.ReadConflictError'> (^@^@^@^@^@^@^@^@) Traceback (most recent call last): File ".../eggs/Zope2-2.13.30-py2.7.egg/Products/ZODBMountPoint/MountedObject.py", line 248, in _getOrOpenObject root = conn.root() File ".../parts/ZODB4-wc2/src/ZODB/Connection.py", line 405, in root return RootConvenience(self.get(z64)) File ".../parts/ZODB4-wc2/src/ZODB/Connection.py", line 276, in get p, serial = self._load(oid) File ".../parts/ZODB4-wc2/src/ZODB/Connection.py", line 246, in _load return self._loadFrom(oid, self._storage) File ".../parts/ZODB4-wc2/src/ZODB/Connection.py", line 255, in _loadFrom raise ReadConflictError(oid) ReadConflictError: ^@^@^@^@^@^@^@^@ When the second loadBefore fix is not there, the problem manifests itself as data corruption and sporadic POSKeyErrors (https://github.com/zopefoundation/tempstorage/issues/8). -> Fix both problem by using recent tempstorage with ZODB5 and ZODB4: - ZODB5: just use tempstorage 5.2 egg - ZODB4-wc2: use tempstorage 3 + loadBefore backports: https://lab.nexedi.com/nexedi/tempstorage/commits/3-nxd - ZODB4: stays at 2.12.2 for now for this change to be as risk-free as possible. However, due to the fixes and e.g. https://github.com/zopefoundation/tempstorage/issues/8#issuecomment-873894941 it makes sense to switch ZODB4 to tempstorage 3-nxd as well. /cc @tomo, @romain, @rafael
-
- 16 Jun, 2021 1 commit
-
-
Jérome Perrin authored
-
- 26 May, 2021 2 commits
-
-
Jérome Perrin authored
This will be used to do OCR from PDF documents
-
Jérome Perrin authored
Also enable shared parts and provide new languages: Simplied Chinese, Japanese and French
-
- 07 May, 2021 1 commit
-
-
Jérome Perrin authored
-
- 15 Apr, 2021 1 commit
-
-
Kirill Smelkov authored
This complements 7f877621 (Move wendelin.core from Wendelin to ERP5) and introduces new WCFS service into ERP5 software-release to support upcoming wendelin.core 2. Wendelin.core 2 will introduce new WCFS filesystem server component that serves in-ZODB arrays data as OS files for Zopes to memory-map. Please see the following links for overview of what WCFS is and how it interoperates with and serves Python clients: https://lab.nexedi.com/kirr/wendelin.core/blob/b5fc98bb/wcfs/wcfs.go#L20-247 https://lab.nexedi.com/kirr/wendelin.core/blob/b5fc98bb/wcfs/client/wcfs.h#L20-96 Implementation notes: - WCFS is by default disabled in ERP5 - we do not want to load every ERP5 user with it in the early days of wendelin.core 2. WCFS service will also not work when ERP5 is built with wendelin.core 1, so keeping it disabled by default is reasonable for now. - There is a duplication for instance-erp5.cfg.in in between stack/erp5/ and software/slapos-master/ . It was negotiated with VIFIB developers to go this way instead of first deduplicating instance-erp5.cfg.in copying that was started in 87d13789 (slapos-master: Copy files from erp5 stack for local changes). To enable wcfs one can either pass `wcfs` configuration parameter, or add the following to a software-release that uses stack/erp5: [erp5-defaults] wcfs-enable-default = true /cc @rafael, @tomo
-
- 13 Apr, 2021 1 commit
-
-
Julien Muchembled authored
-
- 24 Mar, 2021 1 commit
-
-
Aurel authored
-
- 16 Mar, 2021 1 commit
-
-
Kirill Smelkov authored
Factor-out things that provide components for ZODB stack from software/neoppod/ into component/ZODB/.
-
- 22 Feb, 2021 1 commit
-
-
Jérome Perrin authored
All CMF Products are using eggtestinfo as a setup egg (which is no longer the case after 2.4.0)
-
- 21 Jan, 2021 1 commit
-
-
Jérome Perrin authored
Since bd3c2b18 (Remove httpd from ERP5 and use haproxy instead, 2020-12-14) timing in balancer access log files are in milliseconds, no longer in microseconds as they use to be with apache. We update apachedex to version 1.8, where it supports generating reports from access log files with milliseconds, as long as the expected format is passed with --logformat argument. We changed the default value of apachedex configuration to use the expected --logformat argument, but users with a custom apachedex config passed as instance parameters (monitor.apachedex-configuration) will have to update their request parameters, to also pass --logformat. Since this is breaking change, we take this opportunity to introduce another breaking change, this parameter is not longer a string with all arguments on the same line, which was problematic because these arguments contained quotes and backslashes. The arguments are now passed as a list of strings which will become the list of arguments passed to apachedex. This is implemented by generating an apachedex config file, which simplifies the generation of the wrapper. For this we also needed to upate slapos.toolbox. The same change is reflected to the overriden profiles in slapos-master, but for slapos-master we don't pass the --logformat argument, because slapos-master is using httpd, so the logs timings are still in microseconds.
-
- 17 Dec, 2020 1 commit
-
-
Léo-Paul Géneau authored
moves python2 release to component/jupyter-py2 because it is required by ERP5 but not maintained anymore moves to python 3 : - test/test.py - jupyter_notebook_config.py.jinja - ERP5kernel.py modifies custom.js to create a workaround for events issue see (https://github.com/jupyter/notebook/issues/2499) upgrades slapos.cookbook version to 1.0.171 to use zero_knowledge recipe with python 3 adds jupyter partition check in software/erp5/test/test_erp5.py
-
- 07 Dec, 2020 3 commits
-
-
Kirill Smelkov authored
We are starting to use wendelin.core not only in Wendelin context. So it makes sense to have it installed in base ERP5, like we already do for example for NumPy and SciPy. /reviewed-by @rafael, @jp /reviewed-on nexedi/slapos!874
-
Jérome Perrin authored
haproxy can be controlled with this socket, so it might be useful to "expose" it - it's not really expose because we only use a UNIX socket.
-
Jérome Perrin authored
Two main differences of haproxy are file format for certificates and logs. HAProxy also uses certificates in PEM format, but it expect its own server certificate and the key to be in the same file (although recent version seems to accept separate files, we don't use this now) and the CRL and CA certificates also all together in the same file. We change to use the same file for certificate and key and for CA and CRL, in the updater script we we build PEM files by containing all CA certificates and all CRL together. Also, since haproxy needs to be reloaded when certificate change, we run it in master-worker mode, with a pid file so that we can signal it to reload. For the logs, since haproxy does not log to file, we introduce a rsyslogd to log to a file. The log format is same as with httpd, except that timing are not in microseconds but in milliseconds - this did not seem to be configurable. This is a problem for apachedex reports on log, for that we plan to use an updated version of apachedex with support for `%{ms}T` for durations. HAProxy is configured with same timeouts, except: - "connect" timeout has been increased a bit (from 5 to 10s), because the comment "The connection should be immediate on LAN" was no longer true, now that haproxy is accessed from frontend. - the server entries for testrunner are a very long timeout (8h) because some ERP5 functional tests exceeed the 305s timeout. The SSL configuration is with current "modern" config from https://ssl-config.mozilla.org/ Tests have been modified a bit, because haproxy uses HTTP/2.0 and not 1.1 like httpd was doing several haproxy features (keep alive and gzip compression) are only available when backend uses HTTP/1.1, so we adjusted tests to use a 1.1 backend. There was also differences with logs, because of the time being in milliseconds. TestPublishedURLIsReachableMixin._checkERP5IsReachable was also updated, it was working by chance because when accessed behind httpd->haproxy->zope, zope was producing a redirect URL that was the URL of haproxy, which could be resolved by chance. This test was updated to access zope with a path that contains VirtualHostMonster magic, as the shared frontend ( with "zope" software type) is supposed to set. This should hopefuly solve the "502 Proxy Error" that we are observing with httpd.
-
- 16 Nov, 2020 1 commit
-
-
Yusei Tahara authored
-
- 20 Oct, 2020 1 commit
-
-
Kirill Smelkov authored
We already patch ZEO4 with TCP_NODELAY patch (see 5cf4cf1f "ERP5: enable TCP_NODELAY for ZEO") and we will need to backport more patches to ZEO4 branch for wendelin.core 2 to work correctly. It's not only software/neoppod which uses ZEO, and it is not convenient for all other software-releases to inherit from neoppod to use correct version and build of ZEO egg. For this reason factor out details of ZEO egg building into component/ZEO and let users use ${ZEO:egg} where ZEO is needed. This way ZEO will be correctly installed for all users. This patch should be a non-functional change. We switch to nexedi/ZEO@5114f909 revision which corresponds to ZEO 4.3.1 + TCP_NODELAY.patch Adding other patches to ZEO4 needed by wendelin.core 2 will be done as a separate step.
-
- 28 Sep, 2020 1 commit
-
-
Vincent Pelletier authored
Should be used soon.
-
- 15 Sep, 2020 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 26 Aug, 2020 1 commit
-
-
Jérome Perrin authored
section to install dependencies of slapos.toolbox using slapos libraries
-
- 25 Aug, 2020 1 commit
-
-
Jérome Perrin authored
Since this version introduces a dependency on backports.lzma we had to explicitly install backports.lzma in a slapos compliant way before installing slapos.toolbox, because installing the egg needs xz-utils. For slapos-sr-testing it's also a version up of backports.lzma to 0.14.0
-
- 24 Aug, 2020 1 commit
-
-
Jérome Perrin authored
These reports are large, no need to keep them as text
-
- 19 Aug, 2020 1 commit
-
-
Kazuhiko Shiozaki authored
-