ostree.git
3 years agoMerge version 2022.5-2+rpi1 and 2022.5-3 to produce 2022.5-3+rpi1 archive/raspbian/2022.5-3+rpi1 raspbian/2022.5-3+rpi1
Raspbian automatic forward porter [Fri, 9 Sep 2022 19:06:32 +0000 (20:06 +0100)]
Merge version 2022.5-2+rpi1 and 2022.5-3 to produce 2022.5-3+rpi1

3 years agoMake fast forward from 2022.5-2
Simon McVittie [Wed, 31 Aug 2022 08:47:41 +0000 (09:47 +0100)]
Make fast forward from 2022.5-2

[dgit --quilt=unapplied]

3 years agoSkip test-pull-repeated during CI
Simon McVittie [Mon, 30 Jul 2018 15:51:01 +0000 (16:51 +0100)]
Skip test-pull-repeated during CI

This test is expected to fail a small proportion of the time. During
the build of ostree 2018.7-1 in Debian, it seems we were unlucky on
s390x. Non-deterministic tests are also problematic for autopkgtest,
where they can gate migration of our dependencies like GLib, so skip
this test unless the caller has opted-in to non-deterministic tests.

It would be appropriate to enable this test in environments where
failures can easily be retried and are not disruptive to other
packages.

Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Topic debian
Gbp-Pq: Name Skip-test-pull-repeated-during-CI.patch

3 years agoRelease to unstable
Simon McVittie [Wed, 31 Aug 2022 08:48:01 +0000 (09:48 +0100)]
Release to unstable

3 years agod/control, d/rules: Re-enable gjs tests on s390x
Simon McVittie [Wed, 31 Aug 2022 08:47:24 +0000 (09:47 +0100)]
d/control, d/rules: Re-enable gjs tests on s390x

3 years agod/control, d/rules: Disable gjs-based tests on armel
Simon McVittie [Wed, 31 Aug 2022 08:44:06 +0000 (09:44 +0100)]
d/control, d/rules: Disable gjs-based tests on armel

It's looking as though mozjs102, and therefore the next gjs release,
will not support armel due to its lack of atomic instructions.

3 years agoMerge version 2022.4-2+rpi1 and 2022.5-2 to produce 2022.5-2+rpi1 archive/raspbian/2022.5-2+rpi1 raspbian/2022.5-2+rpi1
Raspbian automatic forward porter [Sun, 7 Aug 2022 04:40:40 +0000 (05:40 +0100)]
Merge version 2022.4-2+rpi1 and 2022.5-2 to produce 2022.5-2+rpi1

3 years agoRelease to unstable
Simon McVittie [Fri, 5 Aug 2022 09:00:13 +0000 (10:00 +0100)]
Release to unstable

3 years agoMake fast forward from 2022.5-1
Simon McVittie [Fri, 5 Aug 2022 09:00:02 +0000 (10:00 +0100)]
Make fast forward from 2022.5-1

[dgit --quilt=unapplied]

3 years agoSkip test-pull-repeated during CI
Simon McVittie [Mon, 30 Jul 2018 15:51:01 +0000 (16:51 +0100)]
Skip test-pull-repeated during CI

This test is expected to fail a small proportion of the time. During
the build of ostree 2018.7-1 in Debian, it seems we were unlucky on
s390x. Non-deterministic tests are also problematic for autopkgtest,
where they can gate migration of our dependencies like GLib, so skip
this test unless the caller has opted-in to non-deterministic tests.

It would be appropriate to enable this test in environments where
failures can easily be retried and are not disruptive to other
packages.

Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Topic debian
Gbp-Pq: Name Skip-test-pull-repeated-during-CI.patch

3 years agoBuild with libcurl http backend instead of libsoup2.4
Simon McVittie [Fri, 5 Aug 2022 08:57:41 +0000 (09:57 +0100)]
Build with libcurl http backend instead of libsoup2.4

This avoids library conflicts during the transition to GNOME 43, in
which core apps and libraries have switched to libsoup3, which conflicts
with libsoup2.4.

We still build-depend on libsoup2.4, because it's used in the test suite
and installed-tests.

Closes: #1016589
3 years agoRelease to unstable
Simon McVittie [Tue, 26 Jul 2022 18:01:16 +0000 (19:01 +0100)]
Release to unstable

3 years agoMake fast forward from 2022.4-2
Simon McVittie [Tue, 26 Jul 2022 18:00:58 +0000 (19:00 +0100)]
Make fast forward from 2022.4-2

[dgit --quilt=unapplied]

3 years agoSkip test-pull-repeated during CI
Simon McVittie [Mon, 30 Jul 2018 15:51:01 +0000 (16:51 +0100)]
Skip test-pull-repeated during CI

This test is expected to fail a small proportion of the time. During
the build of ostree 2018.7-1 in Debian, it seems we were unlucky on
s390x. Non-deterministic tests are also problematic for autopkgtest,
where they can gate migration of our dependencies like GLib, so skip
this test unless the caller has opted-in to non-deterministic tests.

It would be appropriate to enable this test in environments where
failures can easily be retried and are not disruptive to other
packages.

Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Topic debian
Gbp-Pq: Name Skip-test-pull-repeated-during-CI.patch

3 years agoUpdate Lintian overrides
Simon McVittie [Tue, 26 Jul 2022 18:00:52 +0000 (19:00 +0100)]
Update Lintian overrides

3 years agoStandards-Version: 4.6.1 (no changes required)
Simon McVittie [Tue, 26 Jul 2022 18:00:43 +0000 (19:00 +0100)]
Standards-Version: 4.6.1 (no changes required)

3 years agoDrop patches that were applied upstream
Simon McVittie [Tue, 26 Jul 2022 17:21:35 +0000 (18:21 +0100)]
Drop patches that were applied upstream

3 years agod/copyright: Update
Simon McVittie [Tue, 26 Jul 2022 17:17:30 +0000 (18:17 +0100)]
d/copyright: Update

3 years agoUpdate ABI symbols
Simon McVittie [Tue, 26 Jul 2022 17:15:41 +0000 (18:15 +0100)]
Update ABI symbols

3 years agoNew upstream release
Simon McVittie [Tue, 26 Jul 2022 17:15:27 +0000 (18:15 +0100)]
New upstream release

3 years agoUpdate upstream source from tag 'upstream/2022.5'
Simon McVittie [Tue, 26 Jul 2022 17:09:23 +0000 (18:09 +0100)]
Update upstream source from tag 'upstream/2022.5'

Update to upstream version '2022.5'
with Debian dir d2f2e62c69b4b0b4d41b516761da97f36a138848

3 years agoNew upstream version 2022.5
Simon McVittie [Tue, 26 Jul 2022 17:09:15 +0000 (18:09 +0100)]
New upstream version 2022.5

3 years agoRelease 2022.5
Colin Walters [Fri, 22 Jul 2022 19:08:25 +0000 (15:08 -0400)]
Release 2022.5

3 years agoMerge pull request from GHSA-gqf4-p3gv-g8vw
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

3 years agoMerge pull request #2675 from HuijingHei/update-doc
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

3 years agoMerge pull request #2676 from render-se/debos-docs
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

3 years agodocs 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

3 years agorust: Add a test case for ed25519
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.

3 years agosign/ed25519: Verify signatures are minimum length
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
3 years agoUpdate doc about adding new function to libostree
Huijing Hei [Thu, 14 Jul 2022 06:24:03 +0000 (14:24 +0800)]
Update doc about adding new function to libostree

3 years agoMerge pull request #2669 from HuijingHei/fix-kargs
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

3 years agoMerge pull request #2672 from cgwalters/initialize-sysroot-cleanups
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

3 years agoMerge pull request #2673 from cgwalters/assert-boot
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`

3 years agosysroot: 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.

3 years agosysroot: Have `ensure_writable` also always initialize
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()`.

3 years agodeploy: Ensure sysroot is initialized for kargs in place
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.

3 years agoMerge pull request #2671 from matthiasbeyer/readme-rust-bindings-fix
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

3 years agoAdd test to verify `ostree admin kargs edit-in-place` working
Huijing Hei [Tue, 12 Jul 2022 08:27:56 +0000 (16:27 +0800)]
Add test to verify `ostree admin kargs edit-in-place` working

3 years agoFix `ostree admin kargs edit-in-place` fails issue
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

3 years agoMerge pull request #2668 from cgwalters/sync-cargo-deny
Jonathan Lebon [Mon, 11 Jul 2022 17:52:53 +0000 (13:52 -0400)]
Merge pull request #2668 from cgwalters/sync-cargo-deny

3 years agoFix link to rust bindings
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>
3 years agoMerge pull request #2666 from saqibali-2k/pr/bls-append
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

3 years agodeny: Sync with rpm-ostree
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).

3 years agoostree-repo: bls-append-except-default followup
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

3 years agoMerge pull request #2667 from cgwalters/deploy-require-repo
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

3 years agolib: 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.

3 years agoMerge pull request #2632 from saqibali-2k/pr/prune-commit-only
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

3 years agoMerge pull request #2661 from cgwalters/port-cap-std
Jonathan Lebon [Tue, 28 Jun 2022 20:56:09 +0000 (16:56 -0400)]
Merge pull request #2661 from cgwalters/port-cap-std

3 years agolib/prune: speed up pruning by retrieving only commits
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.

3 years agotests/inst: Port to cap-std
Colin Walters [Fri, 24 Jun 2022 19:28:21 +0000 (15:28 -0400)]
tests/inst: Port to cap-std

Part of an ongoing effort.

3 years agoMerge pull request #2660 from cgwalters/fix-load-file-api
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

3 years agoMerge pull request #2655 from nikita-dubrovskii/sdboot_rename
Jonathan Lebon [Fri, 24 Jun 2022 16:49:50 +0000 (12:49 -0400)]
Merge pull request #2655 from nikita-dubrovskii/sdboot_rename

3 years agoMerge pull request #2659 from cgwalters/hackaround-cosa-systemd-unit-check
Jonathan Lebon [Fri, 24 Jun 2022 14:49:19 +0000 (10:49 -0400)]
Merge pull request #2659 from cgwalters/hackaround-cosa-systemd-unit-check

3 years agotests/staged-deploy.sh: Hack around 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...

3 years agos390x: rename sd-boot to sdboot
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>
3 years agorepo: Metadata return values from `load_file` are not nullable
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)

3 years agoMerge pull request #2656 from cgwalters/bump-cap-std
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

3 years agoMerge pull request #2658 from jlebon/pr/pinger
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

3 years agotests/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

3 years agoBump to cap-std 0.25 and io-lifetimes 0.7
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.

3 years agorust: Bump semver to 0.15
Colin Walters [Thu, 23 Jun 2022 18:56:30 +0000 (14:56 -0400)]
rust: Bump semver to 0.15

Prep for some breaking changes.

3 years agoFix clippy lint in cap-std bits
Colin Walters [Thu, 23 Jun 2022 18:58:00 +0000 (14:58 -0400)]
Fix clippy lint in cap-std bits

3 years agoci/rust: Change MSRV to `cargo check`
Colin Walters [Thu, 23 Jun 2022 18:44:33 +0000 (14:44 -0400)]
ci/rust: Change MSRV to `cargo check`

No reason to codegen just to throw it away.  We could test here too,
but eh.

3 years agoci/rust: Enable `cap-std-apis` in default build, add a no-feature build
Colin Walters [Thu, 23 Jun 2022 18:43:55 +0000 (14:43 -0400)]
ci/rust: Enable `cap-std-apis` in default build, add a no-feature build

Our CI was missing coverage of `cap-std-apis`.

3 years agoMerge pull request #2639 from HuijingHei/admin-kargs-edit-in-place
Colin Walters [Thu, 23 Jun 2022 16:16:03 +0000 (12:16 -0400)]
Merge pull request #2639 from HuijingHei/admin-kargs-edit-in-place

RFE: Add a hidden option to `ostree admin kargs edit-in-place` to update all existing deployments in place

3 years agoRFE: Add a hidden option to `ostree admin kargs edit-in-place` to
Huijing Hei [Thu, 2 Jun 2022 07:30:20 +0000 (15:30 +0800)]
RFE: Add a hidden option to `ostree admin kargs edit-in-place` to
update all existing deployments in place

Example:
$ sudo ostree admin kargs edit-in-place --append-if-missing=rw
See https://github.com/ostreedev/ostree/issues/2617

This will not add duplicate key, if there is `TESTARG=VAL1` in the
kernel arguments, `--append-if-missing=TESTARG=VAL2` will be ignored.

3 years agoMerge version 2022.2-3+rpi1 and 2022.4-2 to produce 2022.4-2+rpi1 archive/raspbian/2022.4-2+rpi1 raspbian/2022.4-2+rpi1
Raspbian automatic forward porter [Wed, 22 Jun 2022 09:17:52 +0000 (10:17 +0100)]
Merge version 2022.2-3+rpi1 and 2022.4-2 to produce 2022.4-2+rpi1

3 years agoMerge pull request #2651 from cgwalters/misc-declare-and-initialize-2
Colin Walters [Tue, 21 Jun 2022 20:44:12 +0000 (16:44 -0400)]
Merge pull request #2651 from cgwalters/misc-declare-and-initialize-2

cli: Port to C99 style (3)

3 years agoMerge pull request #2654 from jlebon/pr/drop-packit
Colin Walters [Tue, 21 Jun 2022 20:00:32 +0000 (16:00 -0400)]
Merge pull request #2654 from jlebon/pr/drop-packit

Drop `.packit.yaml`

3 years agoDrop `.packit.yaml`
Jonathan Lebon [Tue, 21 Jun 2022 19:10:18 +0000 (15:10 -0400)]
Drop `.packit.yaml`

This repo is already hooked to the @CoreOS/continuous COPR repo for
multi-arch RPM builds of the latest commits.

It's possible we will use Packit in the future to help with the release
process. But for now, let's just drop this file since it's not needed
and the Packit failures are marking git main CI as failed.

3 years agoMerge pull request #2652 from smcv/not-always-xattrs
Colin Walters [Mon, 20 Jun 2022 20:38:29 +0000 (16:38 -0400)]
Merge pull request #2652 from smcv/not-always-xattrs

test-basic-c: Don't assert that extended attributes are available

3 years agoRelease to unstable
Simon McVittie [Sun, 19 Jun 2022 19:59:18 +0000 (20:59 +0100)]
Release to unstable

3 years agoMake fast forward from 2022.4-1
Simon McVittie [Sun, 19 Jun 2022 19:58:51 +0000 (20:58 +0100)]
Make fast forward from 2022.4-1

[dgit --quilt=unapplied]

3 years agoSkip test-pull-repeated during CI
Simon McVittie [Mon, 30 Jul 2018 15:51:01 +0000 (16:51 +0100)]
Skip test-pull-repeated during CI

This test is expected to fail a small proportion of the time. During
the build of ostree 2018.7-1 in Debian, it seems we were unlucky on
s390x. Non-deterministic tests are also problematic for autopkgtest,
where they can gate migration of our dependencies like GLib, so skip
this test unless the caller has opted-in to non-deterministic tests.

It would be appropriate to enable this test in environments where
failures can easily be retried and are not disruptive to other
packages.

Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Topic debian
Gbp-Pq: Name Skip-test-pull-repeated-during-CI.patch

3 years ago[PATCH] lib: Fix symbol versioning inheritance
Colin Walters [Wed, 8 Jun 2022 20:27:30 +0000 (16:27 -0400)]
[PATCH] lib: Fix symbol versioning inheritance

I messed this up; the last release should inherit from the previous
release (N-1) and not the previous to that (N-2).

I think (hope) this isn't an ABI break...

Just noticed this when I was going to add a new symbol.

Applied-upstream: 2022.4, commit:145d91d1c96755bc61a468b5da1061547909121e

Gbp-Pq: Name lib-Fix-symbol-versioning-inheritance.patch

3 years agotest-basic-c: Don't assert that extended attributes are available
Simon McVittie [Fri, 17 Jun 2022 13:15:35 +0000 (14:15 +0100)]
test-basic-c: Don't assert that extended attributes are available

Not all filesystems support extended attributes. This test uses
/var/tmp to try to get an extended-attributes-capable filesystem,
but that might not succeed.

Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://github.com/ostreedev/ostree/pull/2652

Gbp-Pq: Name test-basic-c-Don-t-assert-that-extended-attributes-are-av.patch

3 years agoBackport patch to fix 2022.4 symbol version parent
Dan Nicholson [Sat, 18 Jun 2022 17:39:41 +0000 (11:39 -0600)]
Backport patch to fix 2022.4 symbol version parent

3 years agoRelease to unstable
Simon McVittie [Fri, 17 Jun 2022 15:35:58 +0000 (16:35 +0100)]
Release to unstable

3 years agoMake fast forward from 2022.2-3
Simon McVittie [Fri, 17 Jun 2022 15:35:46 +0000 (16:35 +0100)]
Make fast forward from 2022.2-3

[dgit --quilt=unapplied]

3 years agoSkip test-pull-repeated during CI
Simon McVittie [Mon, 30 Jul 2018 15:51:01 +0000 (16:51 +0100)]
Skip test-pull-repeated during CI

This test is expected to fail a small proportion of the time. During
the build of ostree 2018.7-1 in Debian, it seems we were unlucky on
s390x. Non-deterministic tests are also problematic for autopkgtest,
where they can gate migration of our dependencies like GLib, so skip
this test unless the caller has opted-in to non-deterministic tests.

It would be appropriate to enable this test in environments where
failures can easily be retried and are not disruptive to other
packages.

Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Topic debian
Gbp-Pq: Name Skip-test-pull-repeated-during-CI.patch

3 years agotest-basic-c: Don't assert that extended attributes are available
Simon McVittie [Fri, 17 Jun 2022 13:15:35 +0000 (14:15 +0100)]
test-basic-c: Don't assert that extended attributes are available

Not all filesystems support extended attributes. This test uses
/var/tmp to try to get an extended-attributes-capable filesystem,
but that might not succeed.

Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://github.com/ostreedev/ostree/pull/2652

Gbp-Pq: Name test-basic-c-Don-t-assert-that-extended-attributes-are-av.patch

3 years agoUpdate patch to fix a memory leak
Simon McVittie [Fri, 17 Jun 2022 13:45:50 +0000 (14:45 +0100)]
Update patch to fix a memory leak

Gbp-Dch: ignore

3 years agotest-basic-c: Don't assert that extended attributes are available
Simon McVittie [Fri, 17 Jun 2022 13:15:35 +0000 (14:15 +0100)]
test-basic-c: Don't assert that extended attributes are available

Not all filesystems support extended attributes. This test uses
/var/tmp to try to get an extended-attributes-capable filesystem,
but that might not succeed.

Signed-off-by: Simon McVittie <smcv@debian.org>
3 years agoUpdate changelog
Simon McVittie [Fri, 17 Jun 2022 13:30:56 +0000 (14:30 +0100)]
Update changelog

3 years agoAdd patch to skip a test-case if /var/tmp doesn't support xattrs
Simon McVittie [Fri, 17 Jun 2022 13:16:03 +0000 (14:16 +0100)]
Add patch to skip a test-case if /var/tmp doesn't support xattrs

3 years agod/libostree-1-1.symbols: Update
Simon McVittie [Fri, 17 Jun 2022 13:09:18 +0000 (14:09 +0100)]
d/libostree-1-1.symbols: Update

3 years agoUpdate changelog
Simon McVittie [Fri, 17 Jun 2022 13:18:11 +0000 (14:18 +0100)]
Update changelog

3 years agoUpdate upstream source from tag 'upstream/2022.4'
Simon McVittie [Fri, 17 Jun 2022 13:07:06 +0000 (14:07 +0100)]
Update upstream source from tag 'upstream/2022.4'

Update to upstream version '2022.4'
with Debian dir 5b215bbd13e08353e9967d36a7c830440051f4e3

3 years agoNew upstream version 2022.4
Simon McVittie [Fri, 17 Jun 2022 13:06:59 +0000 (14:06 +0100)]
New upstream version 2022.4

3 years agoUpdate changelog
Simon McVittie [Fri, 17 Jun 2022 13:06:34 +0000 (14:06 +0100)]
Update changelog

3 years agod/copyright: Update
Simon McVittie [Fri, 17 Jun 2022 13:06:17 +0000 (14:06 +0100)]
d/copyright: Update

3 years agocli/refs: Port to C99 style
Colin Walters [Tue, 14 Jun 2022 13:50:07 +0000 (09:50 -0400)]
cli/refs: Port to C99 style

General background cleanup.

3 years agocli/remote-list: Port to C99 style
Colin Walters [Tue, 14 Jun 2022 13:50:07 +0000 (09:50 -0400)]
cli/remote-list: Port to C99 style

General background cleanup.

3 years agocli/gpg-sign: Port to C99 style
Colin Walters [Tue, 14 Jun 2022 13:50:07 +0000 (09:50 -0400)]
cli/gpg-sign: Port to C99 style

General background cleanup.

3 years agoMerge pull request #2650 from cgwalters/misc-declare-and-initialize-1
Jonathan Lebon [Tue, 14 Jun 2022 20:20:44 +0000 (16:20 -0400)]
Merge pull request #2650 from cgwalters/misc-declare-and-initialize-1

3 years agoMerge pull request #2649 from cgwalters/misc-declare-and-initialize
Joseph Marrero Corchado [Tue, 14 Jun 2022 14:38:46 +0000 (10:38 -0400)]
Merge pull request #2649 from cgwalters/misc-declare-and-initialize

cli: a few "Port to C99 style"

3 years agocli/diff: Port to C99 style
Colin Walters [Tue, 14 Jun 2022 13:50:07 +0000 (09:50 -0400)]
cli/diff: Port to C99 style

General background cleanup.

3 years agocli/config: Port to C99 style
Colin Walters [Tue, 14 Jun 2022 13:50:07 +0000 (09:50 -0400)]
cli/config: Port to C99 style

General background cleanup.

3 years agocli/unlock: Port to C99 style
Colin Walters [Tue, 14 Jun 2022 13:50:07 +0000 (09:50 -0400)]
cli/unlock: Port to C99 style

General background cleanup.

3 years agocli/undeploy: Port to C99 style
Colin Walters [Tue, 14 Jun 2022 13:50:07 +0000 (09:50 -0400)]
cli/undeploy: Port to C99 style

General background cleanup.