1. 03 Dec, 2021 1 commit
    • Julien Muchembled's avatar
      tests: check hardlinking in case of local download from Git working copy · 03a41274
      Julien Muchembled authored
      The download recipe relies on buildout's download, which uses hardlinking for
      performance reasons in 2 cases: downloading from cache or from local file.
      
      This means 2 things:
      - the user shall not modify downloaded files without first making sure
        that st_nlink == 1
      - the source file shall not be modified in-place, which is reasable to assume
        for both cache and local file
      
      In-place modification of files is more and more rare because it has many
      drawbacks and it tends to be limited to things like logs and databases.
      This commit adds a test to check that Git does not do that when managing
      working copies: and actually, this may be our only use case of local download.
      
      This commit does not mean that the current way of hardlinking is fully fine.
      There remains at least the issue that file permissions may be changed at the
      end of the recipe, either with `shared=true` or with `mode` option.
      03a41274
  2. 24 Sep, 2021 2 commits
  3. 26 Jul, 2021 2 commits
    • Jérome Perrin's avatar
      default: interact with linecache for complete traceback · 7b6a3085
      Jérome Perrin authored
      When using init or install option of slapos.recipe.build to
      write python code, the traceback were hard to understand, because
      the current line was not included in the traceback.
      
      This put the script in linecache before compiling it, so that in
      case of error the problematic line appears in traceback.
      
      There is still the "problem" that the traceback line numbers starts
      from the beginning of the script and not the actual line from
      buildout profile, but this does not seem feasible to adjust the line
      numbers, so let's ignore this.
      7b6a3085
    • Jérome Perrin's avatar
  4. 10 May, 2021 1 commit
  5. 20 Mar, 2020 1 commit
  6. 27 Feb, 2020 2 commits
  7. 11 Oct, 2019 1 commit
  8. 11 Feb, 2019 1 commit
  9. 27 Nov, 2018 1 commit
  10. 26 Oct, 2018 1 commit
  11. 13 Jun, 2018 1 commit
    • Jérome Perrin's avatar
      drop :cpan · 06b80033
      Jérome Perrin authored
      This recipe alters a system perl ( or perl installed by another buildout
      recipe ), which is not consistent with the independence of parts we are
      trying to achieve in order to be able to cache and share parts.
      
      SlapOS comonents now expose a `perl-CPAN-package` macro that should be
      used for consistency. See slapos!341
      
      /reviewed-on !4
      06b80033
  12. 29 May, 2017 1 commit
  13. 08 Nov, 2016 1 commit
    • Julien Muchembled's avatar
      vm.install-debian: fixes/improvements · 0f910594
      Julien Muchembled authored
      - No more limit on the number of preseed parameters, by placing a preseed.cfg
        file inside the initrd, instead of passing them all via the command line.
        The kernel is usually limited to 32 parameters and it panics when there are
        too many.
      
      - Dist-specific options.
      
      - Recognize preseed aliases.
      
      - late-command is run with '/bin/sh -e' and it must exit with EX_OK (0),
        otherwise the installer stops.
      0f910594
  14. 29 Oct, 2016 1 commit
  15. 28 Oct, 2016 1 commit
  16. 24 Oct, 2016 1 commit
  17. 23 Oct, 2016 1 commit
  18. 03 May, 2016 1 commit
  19. 15 Feb, 2016 1 commit
  20. 05 Mar, 2015 1 commit
  21. 05 Feb, 2015 2 commits
  22. 02 Feb, 2015 1 commit
  23. 28 Jan, 2015 1 commit
  24. 28 Nov, 2014 2 commits
  25. 08 Oct, 2014 2 commits
  26. 07 Oct, 2014 3 commits
  27. 02 Sep, 2013 1 commit
  28. 02 Jul, 2013 1 commit
  29. 25 Feb, 2013 1 commit
  30. 08 Jan, 2013 1 commit
  31. 01 Oct, 2012 1 commit
  32. 11 Sep, 2012 1 commit