1. 26 Nov, 2020 7 commits
  2. 25 Nov, 2020 1 commit
    • Thomas Gambier's avatar
      slapgrid: compare os name in lower case · bc79d780
      Thomas Gambier authored
      When comparing OS to see if they match for binary cache, we only compare
      the lower case distribution name because sometimes "Debian' is
      capitalized and sometimes not.
      bc79d780
  3. 24 Nov, 2020 9 commits
  4. 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
  5. 12 Nov, 2020 3 commits
  6. 10 Nov, 2020 2 commits
  7. 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
  8. 05 Nov, 2020 4 commits
  9. 04 Nov, 2020 9 commits