1. 10 Nov, 2021 1 commit
    • Thomas Gambier's avatar
      slapos_web_deploy: log_parse callback supports newer version of ansible · 8be34213
      Thomas Gambier authored
      1) when ansible is still python2 and the callback "json" was introduced
      (e.g. in Ubuntu 18.04) we need to use "strict_import" to be sure to use
      the json python module and not the json callback
      
      2) when ansible is python3 the syntax must be python3 compatible
      
      3) also remove an uneeded data.copy()
      8be34213
  2. 05 Nov, 2021 1 commit
    • Jérome Perrin's avatar
      testing: fix resource warning with ManagedHTTPServer · e6deadac
      Jérome Perrin authored
      We fork a subprocess to serve requests, but the listening socket is bound
      in server constructor and inherited by subprocess. With this pattern, we
      have to explicitly close the socket from parent process to prevent the
      leak.
      e6deadac
  3. 04 Nov, 2021 1 commit
  4. 29 Oct, 2021 1 commit
  5. 25 Oct, 2021 1 commit
  6. 23 Oct, 2021 3 commits
  7. 22 Oct, 2021 7 commits
  8. 19 Oct, 2021 3 commits
    • Rafael Monnerat's avatar
      slapos_mysql_innodb_catalog: Index consistency_error · 1822be3b
      Rafael Monnerat authored
          We index now for very few portal types the bool(checkConsistency()) in order to search inconsistent documents.
      
          The indexation is limited to the scope we must monitor rather them all documents for 2 major reasons:
      
              - Too much useless constrants on erp5 code base, not applicable for our project (ie.: On person)
              - Performance on indexation is penalized from this extra cost, specially when index large trees (Deliveries or open orders)**
      
          ** Not so much, however, on a scale of millions of documents it can make a major difference, so this commits keeps up to the minimal implementation.
      1822be3b
    • Rafael Monnerat's avatar
      slapos_accounting: Skip garbage from the report · 9661e882
      Rafael Monnerat authored
         If partition is None, it means the computer was reformated and there is garbage on it. It is meaningless to process this.
      9661e882
    • Xavier Thompson's avatar
      slapproxy: Fix software URL migration · 23f35307
      Xavier Thompson authored
      The `local-software-release-url` option allows migrating the software
      URLs which are local paths by rebasing them on the path provided by
      the option.
      
      Do not migrate software release URLs if the old root path and the
      new root path are subpaths or superpaths one of the other.
      
      In addition, do not migrate an URL if the old one refers to an
      existing file and the new one doesn't.
      
      Also, create a backup of the database before migrating.
      
      See merge request nexedi/slapos.core!338
      23f35307
  9. 18 Oct, 2021 1 commit
  10. 15 Oct, 2021 5 commits
  11. 14 Oct, 2021 1 commit
  12. 12 Oct, 2021 1 commit
    • Łukasz Nowak's avatar
      standalone: Expose specific exceptions · dc559dad
      Łukasz Nowak authored
      Thanks to more specific exceptions the caller is able to understand what
      exactly happened during processing, especially useful in case of the caller
      uses testcase, and can sneak into real problems during setUpClass.
      dc559dad
  13. 11 Oct, 2021 2 commits
    • Łukasz Nowak's avatar
      testing/testcase: Simplify setUpClass override · 9a7d24ae
      Łukasz Nowak authored
      Some advanced tests setting up clusters need to being able to come in half of
      the setup process to do some actions on the cluster in order to have its setup
      finished, thus allow to override extracted _setUpClass and separated
      waitForInstance, so that those actions can be executed.
      9a7d24ae
    • Łukasz Nowak's avatar
      testing/testcase: Allow to skip software checks and rebuilds · cf39b7f0
      Łukasz Nowak authored
      The SLAPOS_TEST_SKIP_SOFTWARE_REBUILD changes the default to rebuild always
      the software by setting install_all to true.
      
      The SLAPOS_TEST_SKIP_SOFTWARE_CHECK allow to skip software checks, if not
      wanted by the developer.
      cf39b7f0
  14. 07 Oct, 2021 2 commits
  15. 06 Oct, 2021 6 commits
  16. 04 Oct, 2021 3 commits
  17. 30 Sep, 2021 1 commit