- 30 Mar, 2022 11 commits
-
-
Rafael Monnerat authored
This clean up code, and the instance should be be responsable for this conversion as it is all instance related parameters anyway.
-
Rafael Monnerat authored
Help evaluate if the data is actually the last already
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This prevent us rely on SlapTool implementation to search the Software Installation for a given URL
-
Rafael Monnerat authored
Create specific API for status suffixes, since this is a widely used by monitoring system
-
Rafael Monnerat authored
Move to workflow tranistion the duty of reset/set last data, so it work regardless of slaptool.
-
Rafael Monnerat authored
Introduce it as normal API of Software Instance since the structure is well-defined so we can move away from SlapTool
-
Rafael Monnerat authored
This aims to define an kind of export feature used widely on SlapTool, which is eventually used by the node on the proper context. So it would be reusable accross multiples API's.
-
Rafael Monnerat authored
Move away part of SlapTool code into a Mixin specific to fill and get Computer Information cache
-
Thomas Gambier authored
both signature-private-key-file and signature_private_key_file works for slapos.core but only signature-private-key-file works in slapcache and slapos.libnetworkcache
-
- 23 Mar, 2022 1 commit
-
-
Jérome Perrin authored
This fixes a bug when the program output contain some ansi code, like the \e[0;31m ansi code to display text in color on the terminal. These characters are not allowed in XML so if they end up in the XML-RPC messages this cause the underlying expat library to complain that the stream is not well-formed (invalid token). Fortunately, supervisor supports this and has a `strip_ansi` option that we can set in the config to prevent these problems.
-
- 22 Mar, 2022 6 commits
-
-
Thomas Gambier authored
-
Rafael Monnerat authored
It relies on Person_requestSupport now
-
Thomas Gambier authored
We just relax the conditions to have an OS match.
-
Thomas Gambier authored
* consider raspbian as a debian * never set id After the change to distro.linux_distribution() in 425f5bb7, raspbian is correctly detected and id is set, see the execution of both functions on raspbian: >>> platform.linux_distribution('', '', '', platform._supported_dists, 1) ('debian', '10.11', '') >>> distro.linux_distribution(full_distribution_name=False) ('raspbian', '10', 'buster')
-
Thomas Gambier authored
-
Łukasz Nowak authored
slapproxy, just like reference SlapOS Master, has to transmit important partition parameters, in order to really support all features expected by the software releases.
-
- 21 Mar, 2022 2 commits
-
-
Thomas Gambier authored
platform.linux_distribution() is deprecated since Python3.5 and it's removed altogether in Python 3.8. This more or less reverts 75b2d79c. We don't need anymore the patch for Ubuntu as it is correctly supported in distro module.
-
Thomas Gambier authored
-
- 18 Mar, 2022 1 commit
-
-
Thomas Gambier authored
This commit reverts ddd77222. The goal is to fix slapos.buildout!25 (comment 148861) os.environ is a special mapping object that transparently modifies the actual environment and we should never make os.environ make point to something else (see slapos.buildout!25 (comment 149333) and https://docs.python.org/3/library/os.html#os.environ) Instead change the environment only when calling SlapPopen. We will see if the problems fixed by ddd77222 appear again...
-
- 16 Mar, 2022 3 commits
-
-
Thomas Gambier authored
-
Thomas Gambier authored
-
Łukasz Nowak authored
-
- 15 Mar, 2022 2 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!360
-
Xavier Thompson authored
See merge request nexedi/slapos.core!356
-
- 14 Mar, 2022 8 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This introduce API for request support and add events on Support Requests
-
Rafael Monnerat authored
Used to create support requests to send users notifications.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This creates a Support Request
-
Rafael Monnerat authored
-
Thomas Gambier authored
fixup for a8917a3c
-
- 11 Mar, 2022 2 commits
-
-
Xavier Thompson authored
Check that promises run with the instance's python are logged properly.
-
Xavier Thompson authored
Promises processed using the instance's python in a subprocess were logged to the console but not to the logfile passed by `--logfile`. To fix this the output of the promise is now captured and forwarded to slapgrid's logger in real-time using SlapPopen.
-
- 10 Mar, 2022 4 commits
-
-
Rafael Monnerat authored
-
Thomas Gambier authored
fixup for a8917a3c
-
Thomas Gambier authored
See merge request nexedi/slapos.core!365
-
Thomas Gambier authored
-