1. 23 Mar, 2022 3 commits
  2. 22 Mar, 2022 6 commits
  3. 21 Mar, 2022 2 commits
  4. 18 Mar, 2022 1 commit
  5. 16 Mar, 2022 3 commits
  6. 15 Mar, 2022 2 commits
  7. 14 Mar, 2022 8 commits
  8. 11 Mar, 2022 2 commits
  9. 10 Mar, 2022 5 commits
  10. 02 Mar, 2022 1 commit
  11. 01 Mar, 2022 1 commit
  12. 23 Feb, 2022 2 commits
  13. 21 Feb, 2022 1 commit
  14. 17 Feb, 2022 1 commit
  15. 16 Feb, 2022 2 commits
    • Jérome Perrin's avatar
      runpromises: support software releases older than slapos 1.0.118 · 2a90733c
      Jérome Perrin authored
      Before slapos commit a184cca8b (Try to reuse existing file to avoid
      excessive IO on update + other minor optimisations, 2019-06-17), which
      started to be used in profiles in 65acdca0d (Release slapos.cookbook
      (1.0.118), 2019-08-13), the promise plugins did not contain
      
          import sys
          sys.path[0:0] = (..., )
      
      but there was an extra import statement:
      
          import sys
          import json
          sys.path[0:0] = (..., )
      
      slapos.core >= 1.7 was not able to process such promises, because the
      code introspecting these promises assumed that the second node of the
      AST was the assignment, which is incorrect in the old promises because
      it was another import.
      
      To accomodate both cases, use the value from the first assignment.
      
      We also change to use ast.literal_eval for safety.
      2a90733c
    • Jérome Perrin's avatar
      tests: refactor grid tests to use a getTestComputerClass method · b01cc6cf
      Jérome Perrin authored
      This method returns the class of computer used for the test, then
      it's easier for test subclasses to use a computer with different
      classes for software and instances.
      
      Use this in TestSlapgridPluginPromiseWithInstancePython, using
      subclasses instead of monkey patching should make extending this
      test a bit easier
      b01cc6cf