1. 21 May, 2024 2 commits
  2. 17 May, 2024 2 commits
  3. 16 May, 2024 2 commits
    • Thomas Gambier's avatar
      slapos/testing: add exception for libtermcap · d1da3f2a
      Thomas Gambier authored
      This is needed after slapos@1888c1f2
      
      See merge request !632
      d1da3f2a
    • Thomas Gambier's avatar
      slapos/testing: allow permission execution warnings in ldd · e0bae66f
      Thomas Gambier authored
      Without this, we can have such errors:
      RuntimeError: Unknown ldd line ldd: warning: you do not have execution permission for `/opt/slapgrid/shared/bzip2/449734bcc91bae01810a28d0af447a66/lib/libbz2.so' for /opt/slapgrid/shared/bzip2/449734bcc91bae01810a28d0af447a66/lib/libbz2.so.
      
      Indeed, the permission for the lib itself is:
      [root@fedora-riscv slapos]# ls -l /opt/slapgrid/shared/bzip2/449734bcc91bae01810a28d0af447a66/lib/libbz2.so.1.0.8
      -r--r----- 1 slapsoft slapsoft 260080 May 10 10:32 /opt/slapgrid/shared/bzip2/449734bcc91bae01810a28d0af447a66/lib/libbz2.so.1.0.8
      
      See merge request !632
      e0bae66f
  4. 15 May, 2024 7 commits
  5. 09 May, 2024 1 commit
  6. 05 May, 2024 1 commit
    • Julien Muchembled's avatar
      Clean up SoftwareReleaseSchema · 2b80692d
      Julien Muchembled authored
      This is mainly about error handling, simpler and more useful.
      
      - Always warn when a valid SR can't be loaded, with a message that
        contains the original exception (for example, compared to before
        this commit, it will tell if a JSON file can't be found,
        or where JSON has syntax errors).
      
      - Same as previous point if serialisation type is invalid or missing.
        If the caller needs it to transform parameters (parameters file),
        it will raise with the original exception. Otherwise, it falls back
        on json-in-xml. In some places, such fallback is a change of
        behaviour and I have no opinion about it except that at least
        it's now consistent throughout slapos.core.
      
      - Remove warning about RootSoftwareInstance/default: meaningless
        because contradicted the comment, and useless because the transition
        to 'default' is already complete for SR schemas. There are still 3
        lines of backward compatibility code for the rest of slapos.core.
      
      - Don't read the same file several times. Note however that this
        performance fix is only for the SoftwareReleaseSchema class:
        the caller should be fixed to not instanciate several times with
        the same parameters (from do_request & _requestComputerPartition).
      
      See merge request !621
      2b80692d
  7. 03 May, 2024 4 commits
  8. 02 May, 2024 8 commits
  9. 30 Apr, 2024 4 commits
  10. 26 Apr, 2024 9 commits