- 07 Oct, 2019 3 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
This new option for slapos.cfg allow to define a list of paths to use for shared parts feature of `slapos.recipe.cmmi`. This will be injected in the buildout profile used to install software, as `${buildout:shared-part-list}` which is the option `slapos.recipe.cmmi` use since 0.11. Note that the option changed in `slapos.recipe.cmmi` because this was incompatible. In 0.10, the option was named `${buildout:shared-parts}` and it was supposed to be a single path. `slapos.recipe.cmmi` 0.10 was trying to create this path. If we continued using this `${buildout:shared-parts}` option and changed to passe a newline-separated list of paths, then `slapos.recipe.cmmi` would just create one directory with \n in the name and will probably fail, which would make all software from 1.0.73 to 1.0.121 not installable on next `slapos.core`, so we used another buildout option to prevent this problem. Because generally, profiles using slapos.recipe.cmmi 0.10 were not "safely" shared, we don't even provide compatibility with old option. /reviewed-on !46
-
Jérome Perrin authored
This is about replacing the `utils.py` we have duplicated in each software release tests by a more "official API". This introduce a "sandalone slapos API" which are helpers around slapos API to create a recursive SlapOS. This can eventually replace implementation of erp5testnode and slaprunner (but there are no plans for that) /reviewed-on nexedi/slapos.core!64
-
- 01 Oct, 2019 10 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
connection_dict generated by client can be different in details from the server side, so pass it thorugh a way how it is treat on the server. Also, as we are going to be compatible with py3, calculate hash from sorted items of a dict, instead of relying on side effect of py2 "ordered dict" https://portingguide.readthedocs.io/en/latest/dicts.html#changed-key-order Test are focused on client side, and the tricky cases are covered, they somehow contain the protocol of client <--> server comparision.
-
Łukasz Nowak authored
All tools from the ecosystem shall use the same way to convert between python's dict and XML. Additionally stabilise generated XMLs by sorting the dictionary.
-
Jérome Perrin authored
-
Jérome Perrin authored
A set of utility classes to run a local slapos computer and control softwares/instances on this computer
-
Jérome Perrin authored
Calling computer.updateConfiguration should remove previously defined partitions that are no longer part of the configuration.
-
Jérome Perrin authored
Similar to the way we bypass for simple frontends. This should allow kvm software promises to pass.
-
Jérome Perrin authored
When slapproxy is not using multi-master, shared frontend requests were never fulfilled. This is problematic because several promises (for example monitor ones) assert that frontend is instanciated and properly responding to HTTP requests. Better-than-nothing approach is to return the URL provided as input, ie: "Give me a frontend for $URL" -> "OK, just use $URL".
-
Jérome Perrin authored
(because it looks strange)
-
- 26 Sep, 2019 12 commits
-
-
Rafael Monnerat authored
This reverts commit 042bd6bc.
-
Rafael Monnerat authored
This reverts commit fca2f842.
-
Rafael Monnerat authored
This reverts commit 7698537e.
-
Rafael Monnerat authored
This reverts commit 974c3763.
-
Rafael Monnerat authored
This reverts commit f629cf50.
-
Rafael Monnerat authored
This reverts commit 7c040914.
-
Rafael Monnerat authored
-
Boxiang Sun authored
BTW, Chinese currency official abbreviation is CNY. Maybe I should submit the currency_module/CNY to nexedi/erp5 repository
-
Boxiang Sun authored
test.erp5.testSlapOSSubscriptionSkins
-
Boxiang Sun authored
-
Boxiang Sun authored
-
Boxiang Sun authored
test.erp5.testSlapOSSubscriptionSkins
-
- 25 Sep, 2019 7 commits
-
-
Rafael Monnerat authored
-
Boxiang Sun authored
-
Boxiang Sun authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
We can create reversal sale invoice transactions as payments to release allocation the allocation of subscription related instances.
-
Rafael Monnerat authored
-
Jérome Perrin authored
Because it's sometimes hard to find out in the full output of slapos node instance which partition failed, report a more concise summary at the end. /reviewed-on !134
-
- 24 Sep, 2019 2 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
- 23 Sep, 2019 3 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
- 20 Sep, 2019 3 commits
-
-
Rafael Monnerat authored
-
Thomas Gambier authored
Add the corresponding test.
-
Thomas Gambier authored
-