1. 24 Nov, 2020 4 commits
  2. 16 Nov, 2020 3 commits
    • Jérome Perrin's avatar
      grid/utils: set PYTHONNOUSERSITE · 8c1a4892
      Jérome Perrin authored
      When PYTHONNOUSERSITE environemnt variable is set, python does not load user
      site.
      User site packages may contain a different version of buildout, which would
      be selected when slapos runs buildout, causing unexpected behaviours.
      8c1a4892
    • Jérome Perrin's avatar
      test_slapgrid: check that $HOME is set when processing partition · fe539da3
      Jérome Perrin authored
      Some buildout profiles are expecting this.
      fe539da3
    • Jérome Perrin's avatar
      grid/utils: minor cleanups · 7dbf0ba4
      Jérome Perrin authored
       - Use dict.items() to iterate on dict, instead of dict.keys() then dict[key]
       - don't use six.iterkeys(), this dict is small, so we don't need iterkeys()
         on python2 and can already write python3 version
       - don't % string when invoking logger, logging framework do it for us and do
         it only if message will be logged.
      7dbf0ba4
  3. 12 Nov, 2020 3 commits
  4. 10 Nov, 2020 2 commits
  5. 09 Nov, 2020 2 commits
    • Rafael Monnerat's avatar
      slapos_erp5: Basic Disaster recovery scripts · f2b9d9ec
      Rafael Monnerat authored
          This helps sync ZODB and mariadb (considering mariadb is newer). This is useful when restore a clone or synchronize after restore the mariadb catalog.
      
         The most appropriated way is reindex the site, however in case of slapos master (with large amount of data) it is too long (make this solution more appealing.
      f2b9d9ec
    • Rafael Monnerat's avatar
      slapos_accounting: Converge if Open Order Line is invalidated · c2f4d12f
      Rafael Monnerat authored
         If the Destroyed Hosting subscription is only present on Invalidated Open Orders, we just skip and converge the Hosting Subscription.
      
        This means the user deleted everything he had at once, too fast, before everything get processed.
      c2f4d12f
  6. 05 Nov, 2020 4 commits
  7. 04 Nov, 2020 10 commits
  8. 23 Oct, 2020 4 commits
  9. 20 Oct, 2020 3 commits
  10. 19 Oct, 2020 3 commits
  11. 13 Oct, 2020 2 commits
    • Rafael Monnerat's avatar
      slapos_jio: update panel for extending helplist · c2d7c494
      Rafael Monnerat authored
      See merge request nexedi/slapos.core!255
      c2d7c494
    • Jérome Perrin's avatar
      cli: fish shell completions · d141a32a
      Jérome Perrin authored
      cliff complete command only supports bash, but fish offers much more user friendly
      completions.
      
      cliff uses a pluggable system, but this where new shell completions can be registered,
      but the plugin (CompleteFish) can not access the command manager to get more
      details about options, since fish can also show help of suggestion, we want to
      access the help of each option to show this during suggestions.
      Also we want to make some more clever suggestions (for example slapos node start complete
      with services identifiers).
      For these reasons we need to register a command to replace the default complete command
      and can not achieve this with simply a cliff.formatter.completion entry point.
      
      This can be installed with:
      
          slapos complete > ~/.bash_completion.d/slapos
          slapos complete --shell fish > ~/.config/fish/completions/slapos.fish
      d141a32a