Colin Walters [Sun, 18 Sep 2022 19:04:54 +0000 (15:04 -0400)]
Merge pull request #2716 from dbnicholson/max-metadata-size-doc
lib/pull: Fix max-metadata-size documentation
Dan Nicholson [Sun, 18 Sep 2022 18:13:31 +0000 (12:13 -0600)]
lib/pull: Fix max-metadata-size documentation
The documented option is incorrect and has been since it's introduction
in
2c55bc6997.
Dan Nicholson [Sat, 17 Sep 2022 18:12:09 +0000 (12:12 -0600)]
Merge pull request #2714 from andreamtp/patch-1
Fix recursive git archive reference
Andrea Perotti [Sat, 17 Sep 2022 09:00:46 +0000 (11:00 +0200)]
Fix recursive git archive reference
Broken link for "recursive git archive" example
Colin Walters [Fri, 9 Sep 2022 14:05:27 +0000 (10:05 -0400)]
Merge pull request #2711 from lucab/ups/sign-assertions
lib/sign: convert invariant checks to assertions
Luca BRUNO [Fri, 9 Sep 2022 13:20:43 +0000 (13:20 +0000)]
lib/sign: convert invariant checks to assertions
This converts several invariant checks to asserts. Most of the
functions in this file were already using assertions, so this aligns
the remaining few outliers to the rest.
Luca Bruno [Thu, 8 Sep 2022 14:41:53 +0000 (14:41 +0000)]
Merge pull request #2709 from lucab/ups/otutils-variant-builder-error
otutil: add error handling to variant builders
Luca BRUNO [Thu, 8 Sep 2022 13:53:05 +0000 (13:53 +0000)]
otutil: add error handling to variant builders
This enhances a bunch of helpers related to GVariant building, in
order to properly handle errors and avoid some potential cases of
unexpected NULL results.
Colin Walters [Thu, 8 Sep 2022 11:45:04 +0000 (07:45 -0400)]
Merge pull request #2708 from nikita-dubrovskii/sh_to_c
s390x: drop shell code for `initrd` modification in SE case
Nikita Dubrovskii [Mon, 5 Sep 2022 12:54:03 +0000 (14:54 +0200)]
s390x: use 'libarchive' to modify initrd in SE case
Luca Bruno [Wed, 7 Sep 2022 13:24:36 +0000 (13:24 +0000)]
Merge pull request #2710 from lucab/ups/lib-mtree-redundant-validation
lib/mtree: drop redundant name checks
Luca BRUNO [Wed, 7 Sep 2022 12:33:37 +0000 (12:33 +0000)]
lib/mtree: drop redundant name checks
This drops several NULL checks against filename input argument.
Those checks are both redundant (as filename validation already
checks for that) and dangerous (as they return early without
setting an error value).
Luca Bruno [Tue, 6 Sep 2022 00:36:11 +0000 (00:36 +0000)]
Merge pull request #2707 from lucab/ups/libostree-bootloader-asserts
lib/bootloader: assert invariants
Nikita Dubrovskii [Mon, 5 Sep 2022 10:08:35 +0000 (12:08 +0200)]
s390x: simplify 's390x-se-luks-gencpio' script
Luca Bruno [Mon, 5 Sep 2022 09:29:29 +0000 (09:29 +0000)]
Merge pull request #2706 from git-bruh/main
ostree-fetcher-curl: check for HTTP2 support before trying to use it
Luca BRUNO [Mon, 5 Sep 2022 09:22:26 +0000 (09:22 +0000)]
lib/bootloader: assert invariants
This tweaks some invariants checks into full assertions, in order
to avoid returning to the caller in case of known invalid states.
Nikita Dubrovskii [Thu, 1 Sep 2022 14:34:48 +0000 (16:34 +0200)]
s390x: ensure both 'root' and 'boot' luks keys exist
git-bruh [Sat, 3 Sep 2022 07:20:00 +0000 (12:50 +0530)]
ostree-fetcher-curl: check for HTTP2 support before trying to use it
Dan Nicholson [Tue, 30 Aug 2022 22:32:46 +0000 (16:32 -0600)]
Merge pull request #2704 from cgwalters/finalize-no-sigterm
finalize-staged: Don't listen to `SIGTERM`, just let kernel exit us
Colin Walters [Tue, 30 Aug 2022 20:23:38 +0000 (16:23 -0400)]
finalize-staged: Don't listen to `SIGTERM`, just let kernel exit us
Followup from discussion in
https://github.com/ostreedev/ostree/pull/2544#discussion_r958840936
This is more efficient; no need to have the kernel context switch
us in at shutdown time just so we can turn around and call
`exit()`.
Colin Walters [Tue, 30 Aug 2022 19:12:32 +0000 (15:12 -0400)]
Merge pull request #2544 from dbnicholson/finalize-block
finalize-staged: Ensure /boot and /sysroot automounts don't expire
Dan Nicholson [Wed, 16 Feb 2022 22:58:58 +0000 (15:58 -0700)]
finalize-staged: Ensure /boot automount doesn't expire
If `/boot` is an automount, then the unit will be stopped as soon as the
automount expires. That's would defeat the purpose of using systemd to
delay finalizing the deployment until shutdown. This is not uncommon as
`systemd-gpt-auto-generator` will create an automount unit for `/boot`
when it's the EFI System Partition and there's no fstab entry.
To ensure that systemd doesn't stop the service early when the `/boot`
automount expires, introduce a new unit that holds `/boot` open until
it's sent `SIGTERM`. This uses a new `--hold` option for
`finalize-staged` that loads but doesn't lock the sysroot. A separate
unit is used since we want the process to remain active throughout the
finalization run in `ExecStop`. That wouldn't work if it was specified
in `ExecStart` in the same unit since it would be killed before the
`ExecStop` action was run.
Fixes: #2543
Dan Nicholson [Tue, 30 Aug 2022 14:38:36 +0000 (08:38 -0600)]
main: Factor out sysroot loading
It can be useful to parse the options and initialize the sysroot without
actually loading it until later. Factor out the sysroot loading to a new
`ostree_admin_sysroot_load` and add a new
`OSTREE_ADMIN_BUILTIN_FLAG_NO_LOAD` flag to accommodate this.
Colin Walters [Mon, 29 Aug 2022 12:23:15 +0000 (08:23 -0400)]
Merge pull request #2695 from HuijingHei/kargs-stage
Fix `ostree admin kargs edit-in-place` assertion when deployments are pending
Huijing Hei [Fri, 19 Aug 2022 03:31:46 +0000 (11:31 +0800)]
Fix `ostree admin kargs edit-in-place` assertion when deployments
are pending
This is to support pending deployments instead of rasing assertion.
For example:
```
$ sudo rpm-ostree kargs --append=foo=bar
$ sudo ostree admin kargs edit-in-place --append-if-missing=foobar
```
After reboot we get both `foo=bar foobar`.
Fix https://github.com/ostreedev/ostree/issues/2679
Colin Walters [Wed, 24 Aug 2022 16:03:58 +0000 (12:03 -0400)]
Merge pull request #2701 from cgwalters/bind-list-commits
rust: Bind `ostree_repo_list_commits_starting_with`
Colin Walters [Mon, 22 Aug 2022 18:10:16 +0000 (14:10 -0400)]
rust: Bind `ostree_repo_list_commits_starting_with`
I wanted to use this as a fallback for
https://github.com/ostreedev/ostree-rs-ext/pull/351/commits/
30dee81c22ad5cb90e77198d3ddbcc25d388afb5
Luca Bruno [Wed, 24 Aug 2022 13:24:35 +0000 (13:24 +0000)]
Merge pull request #2702 from thesamesam/bashism
buildutil/glibtests.m4: fix bashism
Luca Bruno [Wed, 24 Aug 2022 13:17:41 +0000 (13:17 +0000)]
Merge pull request #2700 from jlebon/pr/staged-docs
docs: Add section about staged deployments
Sam James [Tue, 23 Aug 2022 22:37:06 +0000 (23:37 +0100)]
buildutil/glibtests.m4: fix bashism
configure scripts need to be runnable with a POSIX-compliant /bin/sh.
On many (but not all!) systems, /bin/sh is provided by Bash, so errors
like this aren't spotted. Notably Debian defaults to /bin/sh provided
by dash which doesn't tolerate such bashisms as '=='.
This retains compatibility with bash.
Fixes configure warnings/errors like:
```
checking whether to build static libraries... no
./configure: 14795: test: unexpected operator
```
Signed-off-by: Sam James <sam@gentoo.org>
Jonathan Lebon [Tue, 23 Aug 2022 18:53:36 +0000 (14:53 -0400)]
Merge pull request #2698 from cgwalters/update-gir
Jonathan Lebon [Tue, 23 Aug 2022 14:56:28 +0000 (10:56 -0400)]
docs: Add section about staged deployments
I was explaining staged deployments to someone today and was looking for
a doc but we didn't have any. Fix that.
Dan Nicholson [Tue, 23 Aug 2022 07:35:40 +0000 (01:35 -0600)]
Merge pull request #2699 from cgwalters/drop-debian-testing
ci: Also drop seccomp on debian testing
Colin Walters [Mon, 22 Aug 2022 19:59:33 +0000 (15:59 -0400)]
ci: Also drop seccomp on debian testing
I didn't deep dive into debugging this but I'm pretty sure it's
https://gitlab.gnome.org/GNOME/glib/-/issues/2580
which is us having an older Docker in the middle here.
Colin Walters [Mon, 22 Aug 2022 18:23:03 +0000 (14:23 -0400)]
rust: Update to latest git
In the future I may try to add CI that requires this to be
sync'd...
Colin Walters [Mon, 22 Aug 2022 18:25:07 +0000 (14:25 -0400)]
Merge pull request #2692 from GeorgesStavracas/gbsneto/transaction-leak
lib/commit: Unref repo on success
Colin Walters [Fri, 19 Aug 2022 14:53:56 +0000 (10:53 -0400)]
Merge pull request #2697 from tkfu/docs/add-related-projects
docs: Add aktualizr and TorizonCore to related projects
Jon Oster [Fri, 19 Aug 2022 14:27:01 +0000 (16:27 +0200)]
docs: Add aktualizr and TorizonCore to related projects
Signed-off-by: Jon Oster <jon.oster@toradex.com>
Joseph Marrero Corchado [Fri, 19 Aug 2022 11:31:24 +0000 (07:31 -0400)]
Merge pull request #2693 from lucab/ups/libostree-fix-annotation
libostree: fix a typo in annotation
Luca BRUNO [Fri, 19 Aug 2022 10:39:09 +0000 (10:39 +0000)]
libostree: fix a typo in annotation
This fixes a typo in the `allow-none` annotation on
`ostree_sysroot_deployment_set_kargs_in_place` argument.
Jonathan Lebon [Thu, 18 Aug 2022 16:07:19 +0000 (12:07 -0400)]
Merge pull request #2691 from cgwalters/rev-parse-single
Colin Walters [Tue, 16 Aug 2022 21:27:46 +0000 (17:27 -0400)]
cli/rev-parse: Add `--single` option
In the current "ostree native container" flow, we're inserting
a commit object into the repo but with no refs.
We have hacks in a few places to find the commit digest via e.g.
`find repo/objects -name *.commit` but that's a horrible hack.
Add `ostree rev-parse --single` which will print the single commit,
and error out if there is not exactly one commit.
Co-authored-by: Jonathan Lebon <jonathan@jlebon.com>
Luca Bruno [Wed, 17 Aug 2022 07:21:55 +0000 (07:21 +0000)]
Merge pull request #2690 from cgwalters/cli-less-goto-1
cli/rev-parse: Port to new code style
Georges Basile Stavracas Neto [Tue, 16 Aug 2022 22:54:29 +0000 (19:54 -0300)]
lib/commit: Unref repo on success
Commit
540e60c3 introduced _ostree_repo_auto_transaction_new(), a
private constructor to OstreeRepoAutoTransaction, by factoring out
some code from _ostree_repo_auto_transaction_start(). This factored
code increased the refcount of the 'repo' variable.
Subsequent commit
71304e854c made ostree_repo_prepare_transaction()
use ths newly introduced constructor. However, in this function, the
happy path assumed no ref was taken, and therefore did not unref it.
Commit
71304e854c didn't add the corresponding unref either.
This leaks a reference to OstreeRepo when calling
ostree_repo_prepare_transaction().
Plug this leak by using g_clear_object() to clear the repo field
of OstreeRepoAutoTransaction, instead of simply setting it to NULL.
Closes https://github.com/flatpak/flatpak/issues/4928
Colin Walters [Tue, 16 Aug 2022 21:11:30 +0000 (17:11 -0400)]
cli/rev-parse: Port to new code style
Prep for future changes.
Jonathan Lebon [Tue, 16 Aug 2022 13:03:07 +0000 (09:03 -0400)]
Merge pull request #2684 from ostreedev/dependabot/submodules/libglnx-
26375b5
dependabot[bot] [Tue, 16 Aug 2022 07:28:21 +0000 (07:28 +0000)]
build(deps): bump libglnx from `
c59eb27` to `
26375b5`
Bumps libglnx from `
c59eb27` to `
26375b5`.
---
updated-dependencies:
- dependency-name: libglnx
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Colin Walters [Mon, 15 Aug 2022 22:33:55 +0000 (18:33 -0400)]
Merge pull request #2689 from jlebon/pr/ficlone-direct-payload
lib/commit: Directly use FICLONE for payload link
Jonathan Lebon [Mon, 15 Aug 2022 21:50:11 +0000 (17:50 -0400)]
tests/kolainst/staged-deploy: parse `rpm-ostree status --json` instead
Don't parse `rpm-ostree status` output, it's not meant for that. Use
`--json` output instead.
While we're here, fix an obsolete reference to Ansible.
Related: https://github.com/coreos/rpm-ostree/pull/3938
Jonathan Lebon [Mon, 15 Aug 2022 17:54:35 +0000 (13:54 -0400)]
lib/commit: Directly use FICLONE for payload link
The idea of payload linking is to reflink between objects where
possible. Instead of relying on `glnx_regfile_copy_bytes` to hit the
`FICLONE` path, just call `FICLONE` directly. At that point in the code,
we've already established that the source and dest repos are on the same
filesystem and that it supports `FICLONE`.
Related: https://gitlab.gnome.org/GNOME/libglnx/-/merge_requests/41
Related: https://github.com/ostreedev/ostree/pull/2684#issuecomment-
1204068437
Colin Walters [Sat, 13 Aug 2022 18:02:07 +0000 (14:02 -0400)]
Merge pull request #2688 from LukasKalbertodt/main
Update to `libtest-mimic` 0.5.0
Lukas Kalbertodt [Sat, 13 Aug 2022 14:14:23 +0000 (16:14 +0200)]
Update to `libtest-mimic` 0.5.0
Luca Bruno [Thu, 4 Aug 2022 07:02:08 +0000 (07:02 +0000)]
Merge pull request #2686 from cgwalters/include-cleanups
Handle conflicts between newer glibc and kernel headers
Colin Walters [Wed, 3 Aug 2022 14:43:43 +0000 (10:43 -0400)]
Move FIFREEZE/FITHAW ioctl invocations into linuxfsutil.c
Should help avoid conflicts between glibc and linux headers.
Closes: https://github.com/ostreedev/ostree/issues/2685
Colin Walters [Wed, 3 Aug 2022 14:37:40 +0000 (10:37 -0400)]
Remove unused `linux/fs.h` includes
Prep for fixing conflicts introduced by newer glibc.
cc https://github.com/ostreedev/ostree/issues/2685
Luca Bruno [Wed, 3 Aug 2022 11:41:18 +0000 (11:41 +0000)]
Merge pull request #2683 from cgwalters/sync-deny
deny.toml: Add `Unicode-DFS-2016`
Colin Walters [Mon, 1 Aug 2022 18:43:31 +0000 (14:43 -0400)]
deny.toml: Add `Unicode-DFS-2016`
This is used by the unicode crate now and is definitely a compatible
FOSS license.
Colin Walters [Fri, 22 Jul 2022 20:11:20 +0000 (16:11 -0400)]
Merge pull request #2678 from cgwalters/release-2022-5
Release 2022 5
Colin Walters [Fri, 22 Jul 2022 19:19:43 +0000 (15:19 -0400)]
rust-bindings: Fix `cargo fmt`
Colin Walters [Fri, 22 Jul 2022 19:09:07 +0000 (15:09 -0400)]
configure: post-release version bump
Colin Walters [Fri, 22 Jul 2022 19:08:25 +0000 (15:08 -0400)]
Release 2022.5
Colin Walters [Fri, 22 Jul 2022 19:05:27 +0000 (15:05 -0400)]
Merge pull request from GHSA-gqf4-p3gv-g8vw
Fix sign
ed25519 verify
Luca Bruno [Fri, 15 Jul 2022 18:25:13 +0000 (18:25 +0000)]
Merge pull request #2675 from HuijingHei/update-doc
Update doc about adding new function to libostree
Colin Walters [Fri, 15 Jul 2022 18:24:25 +0000 (14:24 -0400)]
Merge pull request #2676 from render-se/debos-docs
add debos to readme distribution build tools
Chris Mucciolo [Fri, 15 Jul 2022 17:24:29 +0000 (13:24 -0400)]
docs add debos to readme distribution build tools
Colin Walters [Thu, 14 Jul 2022 20:48:12 +0000 (16:48 -0400)]
rust: Add a test case for
ed25519
Specifically, I verified that *before* the previous patch to the
ed25519 C code, the last bit of code would fail with a SIGSEGV when
trying to read the empty signature.
Colin Walters [Thu, 14 Jul 2022 18:42:19 +0000 (14:42 -0400)]
sign/
ed25519: Verify signatures are minimum length
The
ed25519 signature verification code does not
check that the signature is a minimum/correct length.
As a result, if the signature is too short, libsodium will end up
reading a few bytes out of bounds.
Reported-by: Demi Marie Obenour <demi@invisiblethingslab.com>
Co-authored-by: Demi Marie Obenour <demi@invisiblethingslab.com>
Closes: https://github.com/ostreedev/ostree/security/advisories/GHSA-gqf4-p3gv-g8vw
Huijing Hei [Thu, 14 Jul 2022 06:24:03 +0000 (14:24 +0800)]
Update doc about adding new function to libostree
Colin Walters [Wed, 13 Jul 2022 20:35:28 +0000 (16:35 -0400)]
Merge pull request #2669 from HuijingHei/fix-kargs
Fix `ostree admin kargs edit-in-place` fails issue
Colin Walters [Wed, 13 Jul 2022 20:35:17 +0000 (16:35 -0400)]
Merge pull request #2672 from cgwalters/initialize-sysroot-cleanups
sysroot: Have `ensure_writable` also always initialize
Colin Walters [Wed, 13 Jul 2022 20:35:10 +0000 (16:35 -0400)]
Merge pull request #2673 from cgwalters/assert-boot
sysroot: Add a few more assertions about `boot_fd`
Colin Walters [Wed, 13 Jul 2022 19:38:59 +0000 (15:38 -0400)]
sysroot: Add a few more assertions about `boot_fd`
These places are all safe, but it would catch bugs in the future
more clearly to trip an assertion here.
Colin Walters [Wed, 13 Jul 2022 19:35:00 +0000 (15:35 -0400)]
sysroot: Have `ensure_writable` also always initialize
For historical reasons we have a fair bit of distinct sysroot
initialization going on. A lot of code is calling *just* the new
`ensure_writable()` API, which does basically what you'd expect...
except if we're not using a mount namespace.
Which is the case in unit tests and legacy setups.
Change this API to also ensure the sysroot is fully initialized
even in those cases. Specifically we'll have `self->sysroot_fd`.
For now, callers that need `/boot` also need to separately
call `_ensure_boot_fd()`.
Colin Walters [Wed, 13 Jul 2022 19:32:05 +0000 (15:32 -0400)]
deploy: Ensure sysroot is initialized for kargs in place
Even without a mount namespace set up.
Colin Walters [Tue, 12 Jul 2022 20:03:09 +0000 (16:03 -0400)]
Merge pull request #2671 from matthiasbeyer/readme-rust-bindings-fix
Fix link to rust bindings
Huijing Hei [Tue, 12 Jul 2022 08:27:56 +0000 (16:27 +0800)]
Add test to verify `ostree admin kargs edit-in-place` working
Huijing Hei [Fri, 8 Jul 2022 11:37:37 +0000 (19:37 +0800)]
Fix `ostree admin kargs edit-in-place` fails issue
Add func to set kernel arguments in place, instead of create new
deployment
Fix https://github.com/ostreedev/ostree/issues/2664
Jonathan Lebon [Mon, 11 Jul 2022 17:52:53 +0000 (13:52 -0400)]
Merge pull request #2668 from cgwalters/sync-cargo-deny
Matthias Beyer [Mon, 11 Jul 2022 06:55:43 +0000 (08:55 +0200)]
Fix link to rust bindings
ostree-rs was merged into ostree, so link to the rust bindings within
this repository.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Colin Walters [Fri, 8 Jul 2022 13:41:04 +0000 (09:41 -0400)]
Merge pull request #2666 from saqibali-2k/pr/bls-append
ostree-repo: bls-append-except-default followup
Colin Walters [Fri, 8 Jul 2022 13:33:18 +0000 (09:33 -0400)]
deny: Sync with rpm-ostree
This extends the license set basically and ignores private repos
(which we don't have any yet).
Saqib Ali [Tue, 5 Jul 2022 16:00:16 +0000 (12:00 -0400)]
ostree-repo: bls-append-except-default followup
This PR is followup from https://github.com/coreos/coreos-assembler/pull/2863
Summary of changes:
- Moved bls-append-except-default parsing logic to reload_sysroot_config()
- Made sure heap allocated memory is being freed
Colin Walters [Wed, 6 Jul 2022 21:13:23 +0000 (17:13 -0400)]
Merge pull request #2667 from cgwalters/deploy-require-repo
lib: Stop using old `ostree_sysroot_get_repo()` API
Colin Walters [Wed, 6 Jul 2022 11:46:42 +0000 (07:46 -0400)]
lib: Stop using old `ostree_sysroot_get_repo()` API
It's falliable, and in one place we were actually ignoring
the error and leaving a `NULL` repo object which is just a trap
for people coming along later since it's rarely nullable.
Quite a while ago we switched to loading the repo at the same time
as the sysroot; convert callers in the library to use this infallible
accessor.
Prep for another patch which will use the repo object.
Colin Walters [Thu, 30 Jun 2022 13:08:54 +0000 (09:08 -0400)]
Merge pull request #2632 from saqibali-2k/pr/prune-commit-only
lib/prune: speed up pruning by retrieving only commits
Jonathan Lebon [Tue, 28 Jun 2022 20:56:09 +0000 (16:56 -0400)]
Merge pull request #2661 from cgwalters/port-cap-std
Saqib Ali [Mon, 6 Jun 2022 21:46:01 +0000 (17:46 -0400)]
lib/prune: speed up pruning by retrieving only commits
After landing the new --commit-only functionality, we still noticed
exceedingly long pruning times in large repos. Lets add an optimization
that will only retrieve commit objects when --commit-only flag is used.
Colin Walters [Fri, 24 Jun 2022 19:28:21 +0000 (15:28 -0400)]
tests/inst: Port to cap-std
Part of an ongoing effort.
Colin Walters [Fri, 24 Jun 2022 18:30:33 +0000 (14:30 -0400)]
Merge pull request #2660 from cgwalters/fix-load-file-api
repo: Metadata return values from `load_file` are not nullable
Jonathan Lebon [Fri, 24 Jun 2022 16:49:50 +0000 (12:49 -0400)]
Merge pull request #2655 from nikita-dubrovskii/sdboot_rename
Jonathan Lebon [Fri, 24 Jun 2022 14:49:19 +0000 (10:49 -0400)]
Merge pull request #2659 from cgwalters/hackaround-cosa-systemd-unit-check
Colin Walters [Thu, 23 Jun 2022 21:23:45 +0000 (17:23 -0400)]
tests/staged-deploy.sh: Hack around cosa systemd unit check
https://github.com/coreos/coreos-assembler/pull/2921 broke this
test which is intentionally causing a systemd unit to fail.
As they say, necessity is the mother of invention. They don't
say though that need always causes particularly *beautiful* things
to be invented...
Nikita Dubrovskii [Thu, 23 Jun 2022 13:54:04 +0000 (15:54 +0200)]
s390x: rename sd-boot to sdboot
Signed-off-by: Nikita Dubrovskii <nikita@linux.ibm.com>
Colin Walters [Thu, 23 Jun 2022 21:36:46 +0000 (17:36 -0400)]
repo: Metadata return values from `load_file` are not nullable
The pattern this API uses in C is to allow the input parameters
pointer targets to be `NULL`, and it doesn't return values in that
case.
A further complexity here is that the API will still return `NULL`
for symbolic links.
But Rust can't express this pattern as is, so we were always
returning values but in `Option<T>` wrappers that the caller needed
to unwrap for the metadata.
(We really want an even more efficient API here that avoids the glib
objects entirely, e.g. no reason not to pass directly back a type
that lets Rust directly read from the fd for bare repos, but
that can come later)
Colin Walters [Thu, 23 Jun 2022 20:36:24 +0000 (16:36 -0400)]
Merge pull request #2656 from cgwalters/bump-cap-std
rust: Bump semver to 0.15 && bump cap-std 0.25
Colin Walters [Thu, 23 Jun 2022 20:35:49 +0000 (16:35 -0400)]
Merge pull request #2658 from jlebon/pr/pinger
tests/inst/destructive: stop disabling fedora-coreos-pinger
Jonathan Lebon [Thu, 23 Jun 2022 19:50:39 +0000 (15:50 -0400)]
tests/inst/destructive: stop disabling fedora-coreos-pinger
It was removed from FCOS:
https://github.com/coreos/fedora-coreos-tracker/issues/770
Colin Walters [Thu, 23 Jun 2022 18:25:42 +0000 (14:25 -0400)]
Bump to cap-std 0.25 and io-lifetimes 0.7
Prep for bumping ostree-rs-ext, which will help bump rpm-ostree,
which will get it out of having two copies of rustix.
Colin Walters [Thu, 23 Jun 2022 18:56:30 +0000 (14:56 -0400)]
rust: Bump semver to 0.15
Prep for some breaking changes.
Colin Walters [Thu, 23 Jun 2022 18:58:00 +0000 (14:58 -0400)]
Fix clippy lint in cap-std bits