1. 22 Mar, 2022 3 commits
    • Thomas Gambier's avatar
      grid: fix distribution_tuple() · a8f178a8
      Thomas Gambier authored
       * consider raspbian as a debian
       * never set id
      
      After the change to distro.linux_distribution() in
      425f5bb7, raspbian is correctly detected
      and id is set, see the execution of both functions on raspbian:
      
      >>> platform.linux_distribution('', '', '', platform._supported_dists, 1)
      ('debian', '10.11', '')
      
      >>> distro.linux_distribution(full_distribution_name=False)
      ('raspbian', '10', 'buster')
      a8f178a8
    • Thomas Gambier's avatar
      392a993b
    • Łukasz Nowak's avatar
      slapproxy: Add missing instance parameters · da036539
      Łukasz Nowak authored
      slapproxy, just like reference SlapOS Master, has to transmit important
      partition parameters, in order to really support all features expected by the
      software releases.
      da036539
  2. 21 Mar, 2022 2 commits
  3. 18 Mar, 2022 1 commit
  4. 16 Mar, 2022 3 commits
  5. 15 Mar, 2022 2 commits
  6. 14 Mar, 2022 8 commits
  7. 11 Mar, 2022 2 commits
  8. 10 Mar, 2022 5 commits
  9. 02 Mar, 2022 1 commit
  10. 01 Mar, 2022 1 commit
  11. 23 Feb, 2022 2 commits
  12. 21 Feb, 2022 1 commit
  13. 17 Feb, 2022 1 commit
  14. 16 Feb, 2022 3 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
    • Jérome Perrin's avatar
  15. 08 Feb, 2022 1 commit
  16. 04 Feb, 2022 1 commit
  17. 01 Feb, 2022 2 commits
  18. 28 Jan, 2022 1 commit