1. 31 Jan, 2019 2 commits
  2. 14 Jan, 2019 6 commits
  3. 11 Jan, 2019 1 commit
  4. 09 Jan, 2019 1 commit
  5. 08 Jan, 2019 2 commits
  6. 02 Jan, 2019 1 commit
  7. 21 Dec, 2018 1 commit
  8. 20 Dec, 2018 3 commits
  9. 14 Dec, 2018 1 commit
  10. 12 Dec, 2018 1 commit
  11. 10 Dec, 2018 4 commits
    • Umang Jain's avatar
      lib/repo-commit: Relax min-free-space check in prepare_transaction() · 96339521
      Umang Jain authored
      We want a case where we can disable the min-free-space check. Initially,
      it felt like to add a OSTREE_REPO_PULL_FLAGS_DISABLE_FREE_SPACE_CHECK but
      the problem is prepare_transaction() does not have a OstreeRepoPullFlags
      parameter which we can parse right here. On top of it, prepare_transaction()
      enforces min-free-space check and won't let the transaction proceed if
      the check failed.
      
      This is pretty bad in conjunction with "inherit-transaction" as what
      Flatpak uses. There is no way to disable this check unless we remove
      it altogether from prepare_transaction.
      
      This issue came out to light when flatpak wasn't able to write metadata
      after fetching from remote:
      
      [uajain@localhost ~]$ flatpak remote-info flathub org.kde.Platform//5.9
      error: min-free-space-size 500MB would be exceeded
      
      Metadata objects helps in housekeeping and restricting them means
      restricting crucial UX (like search, new updates) functionalities
      in clients like gnome-software. The error banners originated from
      these issues are also abrupt and not much helpful to the user. This
      is the specific instance of the issue this patches tries to address.
      
      See https://github.com/flatpak/flatpak/issues/2139 for discussion.
      
      Closes: #1779
      Approved by: mwleeds
      96339521
    • Luca Bruno's avatar
      lib/kargs: allow empty-list arguments · 3ecbdd81
      Luca Bruno authored
      This adds support for empty-list arguments (e.g. `acpi_osi=`), which
      are semantically different from simple-keyword arguments.
      
      Ref: https://github.com/projectatomic/rpm-ostree/issues/1706
      
      Closes: #1785
      Approved by: cgwalters
      3ecbdd81
    • Alexander Larsson's avatar
      Fix leak in ostree_content_stream_parse() · d044bfeb
      Alexander Larsson authored
      We need to ref_sink new GVariants for autoptr to work
      
      Closes: #1784
      Approved by: cgwalters
      d044bfeb
    • Colin Walters's avatar
      ci/papr: Drop insttests · 416007e7
      Colin Walters authored
      This didn't quite work out, and is now always failing because Ansible
      changed.
      
      For now we have some OK coverage via the rpm-ostree suite, let's just
      drop this and revisit later.
      
      Closes: #1783
      Approved by: jlebon
      416007e7
  12. 07 Dec, 2018 2 commits
  13. 04 Dec, 2018 2 commits
  14. 21 Nov, 2018 1 commit
    • rfairley's avatar
      lib/repo: Search a list of paths in gpgkeypath for gpg keys · 05e8c7ef
      rfairley authored
      This allows specifying gpgpath as list of
      paths that can point to a file or a directory. If a directory path
      is given, paths to all regular files in the directory are added
      to the remote as gpg ascii keys. If the path is not a directory,
      the file is directly added (whether regular file, empty - errors
      will be reported later when verifying gpg keys e.g. when pulling).
      
      Adding the gpgkeypath property looks like:
      
      ostree --repo=repo remote add --set=gpgpath="/path/key1.asc,/path/keys.d" R1 https://example.com/some/remote/ostree/repo
      
      Closes #773
      
      Closes: #1773
      Approved by: cgwalters
      05e8c7ef
  15. 13 Nov, 2018 1 commit
    • Jonathan Lebon's avatar
      lib/commit: Copy user.ostreemeta only for bare-user · 244d9a7e
      Jonathan Lebon authored
      When falling back to copying objects when importing them into a
      bare-user repo, we only actually need to transfer over the
      `user.ostreemeta` xattr.
      
      This allows the destination repo to be on a separate filesystem that
      might not even support `security.selinux`. (I hit this while importing
      over virtio-9p).
      
      Closes: #1771
      Approved by: cgwalters
      244d9a7e
  16. 06 Nov, 2018 2 commits
  17. 05 Nov, 2018 1 commit
    • Jonathan Lebon's avatar
      lib/commit: Add devino_cache_hits to txn stats · 8eac5be0
      Jonathan Lebon authored
      I found this useful while hacking on rpm-ostree but I think it might be
      useful enough to upstream. This stat is really helpful for validating
      that a pipeline is hitting the devino cache sweet spot.
      
      Closes: #1772
      Approved by: cgwalters
      8eac5be0
  18. 01 Nov, 2018 1 commit
    • Jonathan Lebon's avatar
      bin/pull-local: Add --commit-metadata-only · 1dcebe88
      Jonathan Lebon authored
      It might be "local", but e.g. we may be crossing filesystems. So there
      are valid use cases for only wanting to pull the commit metadata with
      `pull-local`.
      
      Closes: #1769
      Approved by: cgwalters
      1dcebe88
  19. 31 Oct, 2018 1 commit
  20. 30 Oct, 2018 6 commits