Skip to content
Snippets Groups Projects
  1. Feb 19, 2024
  2. Feb 09, 2024
    • Simon McVittie's avatar
      Rename PvBwrapLock to SrtFileLock and move it to common code · 9052fbd4
      Simon McVittie authored
      
      This was implemented to interact correctly with the locking scheme
      used in bwrap(1) (which uses the non-OFD flavour of fnctl locks), but
      is otherwise unrelated to bwrap(1) or pressure-vessel. Moving this into
      common code will facilitate using it outside pressure-vessel, in
      particular when unpacking `ubuntu12_64/steam-runtime-sniper/`.
      
      While I'm changing the interface anyway, take the opportunity to rename
      the WRITE flag to EXCLUSIVE, which is clearer.
      
      Helps: steamrt/tasks#387
      Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
      9052fbd4
  3. Nov 20, 2023
  4. Nov 17, 2023
  5. Oct 25, 2023
  6. Oct 19, 2023
  7. Aug 31, 2023
  8. Aug 30, 2023
  9. Jun 01, 2023
  10. Mar 10, 2023
  11. Jan 31, 2023
  12. Oct 27, 2022
  13. Sep 01, 2022
  14. Aug 19, 2022
  15. Aug 16, 2022
  16. Jul 27, 2022
  17. Jul 26, 2022
  18. Jan 07, 2022
  19. Oct 20, 2021
  20. Sep 23, 2021
    • Simon McVittie's avatar
      tests: Disable D-Bus activation · aaec38ff
      Simon McVittie authored
      
      If we allow D-Bus activation to occur on a private instance of the
      session bus, checking xdg-desktop-portal can result in it starting all
      sorts of random desktop services (AT-SPI, gvfsd, gnome-keyring...)
      which really shouldn't be sharing a home directory with their "real"
      instances.
      
      Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
      aaec38ff
  21. Aug 06, 2021
  22. Aug 03, 2021
  23. Jul 28, 2021
  24. Apr 30, 2021
    • Simon McVittie's avatar
      pressure-vessel: Add code to parse and apply a mtree(5) manifest · 1bdf777d
      Simon McVittie authored
      
      This can be used to create directories, symlinks and zero-byte files,
      create files as a clone (hard-link or copy) of files in a reference
      directory, assert that files exist, set executable/non-executable
      permissions, and set files' modification times.
      
      When cloning files from a reference directory, the default is to use
      the same filename as the destination, but that can be overridden
      (for example to deal with inconvenient/non-Windows-friendly filenames).
      This is also actually slightly faster than pv_cheap_tree_copy(),
      presumably because the manifest is contiguous on-disk and the
      directories are not necessarily.
      
      Setting directories' modification times is implemented, but probably
      won't work in practice, because any files we create in the directory
      will alter its mtime.
      
      Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
      1bdf777d
  25. Apr 22, 2021
  26. Oct 02, 2020
  27. Sep 28, 2020
  28. Sep 21, 2020
  29. Sep 09, 2020
  30. Aug 25, 2020
  31. Aug 18, 2020
  32. Aug 04, 2020
  33. Jul 29, 2020
Loading