Simon McVittie [Sat, 27 May 2023 16:34:45 +0000 (17:34 +0100)]
Release to experimental
Simon McVittie [Fri, 26 May 2023 15:52:32 +0000 (16:52 +0100)]
Use libsoup 3 for test code
Simon McVittie [Sat, 27 May 2023 10:09:15 +0000 (11:09 +0100)]
Drop patch that was applied upstream
Simon McVittie [Fri, 26 May 2023 15:52:08 +0000 (16:52 +0100)]
Update GObject-Introspection build-dependency
Simon McVittie [Fri, 26 May 2023 15:51:51 +0000 (16:51 +0100)]
New upstream release
Simon McVittie [Fri, 26 May 2023 12:02:06 +0000 (13:02 +0100)]
Update upstream source from tag 'upstream/2023.3'
Update to upstream version '2023.3'
with Debian dir
0549230aabfa51dc1ea509ca8dfd68dcf974f1fa
Simon McVittie [Fri, 26 May 2023 12:01:59 +0000 (13:01 +0100)]
New upstream version 2023.3
Joseph Marrero [Wed, 17 May 2023 20:29:04 +0000 (16:29 -0400)]
Release 2023.3
Colin Walters [Wed, 10 May 2023 19:16:24 +0000 (15:16 -0400)]
Merge pull request #2856 from cgwalters/port-to-xshell
tests/inst: Add xshell and use it in one place
Colin Walters [Wed, 10 May 2023 13:21:45 +0000 (09:21 -0400)]
tests/inst: Add xshell and use it in one place
I've deprecated sh-inline; in the end I think it is better
to minimize the amount of bash code we have. xshell solves
the core convenience problem of taking local variables and mapping
them to command arguments.
A full port would be nontrivial; this just starts the ball
rolling.
Colin Walters [Wed, 3 May 2023 12:24:21 +0000 (08:24 -0400)]
Merge pull request #2565 from cgwalters/clang-format
Add .clang-format file + tree-wide: Run `clang-format`
Colin Walters [Mon, 1 May 2023 18:24:23 +0000 (14:24 -0400)]
ci: Validate clang-format
Colin Walters [Mon, 1 May 2023 18:24:29 +0000 (14:24 -0400)]
tree-wide: Run clang-format
This is a one-time tree wide reformatting to ensure consistency
going forward.
Colin Walters [Tue, 2 May 2023 12:41:24 +0000 (08:41 -0400)]
clang-format: Don't align backslashes
This increases compatibility between clang-15 and clang-16.
Also, I don't care about the aesthetics here.
Colin Walters [Mon, 1 May 2023 21:22:02 +0000 (17:22 -0400)]
lib: Fix one include
We need all the ostree bits here.
Jonathan Lebon [Mon, 1 May 2023 20:48:26 +0000 (16:48 -0400)]
Merge pull request #2854 from cgwalters/clang-format-prep
Colin Walters [Mon, 1 May 2023 18:02:09 +0000 (14:02 -0400)]
tree-wide: Fix various include ordering issues
This fixes the build with `clang-format`.
Colin Walters [Mon, 1 May 2023 17:51:47 +0000 (13:51 -0400)]
lib: clang-format `ostree.h`
In order to make this work, we need to move the autocleanup
definitions after the other headers.
Colin Walters [Mon, 1 May 2023 17:43:26 +0000 (13:43 -0400)]
Add clang formatting infrastructure
Prep for reformatting the codebase.
Colin Walters [Mon, 1 May 2023 18:21:19 +0000 (14:21 -0400)]
build-sys: Squash automake conditional warning re `.PHONY`
Colin Walters [Mon, 1 May 2023 17:25:25 +0000 (13:25 -0400)]
Merge pull request #2847 from jlebon/pr/calculate-and-cleanup
lib/sysroot-deploy: Add experimental support for automatic early prune
Jonathan Lebon [Thu, 13 Apr 2023 21:22:43 +0000 (17:22 -0400)]
lib/sysroot-deploy: Add experimental support for automatic early prune
During the early design of FCOS and RHCOS, we chose a value of 384M
for the boot partition. This turned out to be too small: some arches
other than x86_64 have larger initrds, kernel binaries, or additional
artifacts (like device tree blobs). We'll likely bump the boot partition
size in the future, but we don't want to abandon all the nodes deployed
with the current size.[[1]]
Because stale entries in `/boot` are cleaned up after new entries are
written, there is a window in the update process during which the bootfs
temporarily must host all the `(kernel, initrd)` pairs for the union of
current and new deployments.
This patch determines if the bootfs is capable of holding all the
pairs. If it can't but it could hold all the pairs from just the new
deployments, the outgoing deployments (e.g. rollbacks) are deleted
*before* new deployments are written. This is done by updating the
bootloader in two steps to maintain atomicity.
Since this is a lot of new logic in an important section of the
code, this feature is gated for now behind an environment variable
(`OSTREE_ENABLE_AUTO_EARLY_PRUNE`). Once we gain more experience with
it, we can consider turning it on by default.
This strategy increases the fallibility of the update system since one
would no longer be able to rollback to the previous deployment if a bug
is present in the bootloader update logic after auto-pruning (see [[2]]
and following). This is however mitigated by the fact that the heuristic
is opportunistic: the rollback is pruned *only if* it's the only way for
the system to update.
[1]: https://github.com/coreos/fedora-coreos-tracker/issues/1247
[2]: https://github.com/ostreedev/ostree/issues/2670#issuecomment-
1179341883
Closes: #2670
Joseph Marrero Corchado [Sun, 30 Apr 2023 17:42:43 +0000 (13:42 -0400)]
Merge pull request #2853 from cgwalters/bump-msrv
rust: Bump MSRV to 1.64
Colin Walters [Sat, 29 Apr 2023 21:11:58 +0000 (17:11 -0400)]
rust: Bump MSRV to 1.64
Since a dependency `winnow` bumped to this in a recent update.
Colin Walters [Wed, 26 Apr 2023 20:46:43 +0000 (16:46 -0400)]
Merge pull request #2849 from pwithnall/request-debugging
lib/fetcher: Add some debugging messages to the libsoup request path
Philip Withnall [Wed, 26 Apr 2023 13:04:03 +0000 (14:04 +0100)]
lib/fetcher: Add some debugging messages to the libsoup request path
This will help with debugging stalled requests in future, such as
issue #605.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Helps: #605
Joseph Marrero Corchado [Wed, 26 Apr 2023 14:50:50 +0000 (10:50 -0400)]
Merge pull request #2850 from cgwalters/ci-no-error-deprecated-declarations
ci: Turn off errors for deprecated-declarations
Colin Walters [Wed, 26 Apr 2023 13:46:57 +0000 (09:46 -0400)]
ci: Drop workaround for fedora-release-container
I think this isn't necessary anymore, and is now actively broken
with f38.
Colin Walters [Wed, 26 Apr 2023 13:37:22 +0000 (09:37 -0400)]
ci: Turn off errors for deprecated-declarations
Having `-Werror` on in CI only by default has generally worked OK,
but I don't think it's worth trying to immediately scramble to port
when they deprecate APIs.
Motivated in this case by
```
src/libostree/ostree-fetcher-curl.c: In function 'initiate_next_curl_request':
src/libostree/ostree-fetcher-curl.c:876:3: error: 'CURLOPT_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_PROTOCOLS_STR [-Werror=deprecated-declarations]
876 | rc = curl_easy_setopt (req->easy, CURLOPT_PROTOCOLS, (long)(CURLPROTO_HTTP | CURLPROTO_HTTPS | CURLPROTO_FILE));
| ^~
```
Jonathan Lebon [Fri, 14 Apr 2023 16:21:05 +0000 (12:21 -0400)]
tests/kolainst: Add `make localinstall`
When hacking and testing locally with `cosa build-fast` and `kola run`,
I prefer to leave testing framework stuff within the work directory
rather than installed in my pet container. Add a `localinstall` target
for this which puts the tests in `tests/kola`. Then a simple `kola run`
will pick it up.
Jonathan Lebon [Fri, 14 Apr 2023 16:19:30 +0000 (12:19 -0400)]
tests/kola: delete unused .gitignore
AFAICT, I don't see how `runkola.sh` or the Makefile in `tests/kolainst`
can create files in `tests/kola` since it's geared towards installing
under `/usr`.
Jonathan Lebon [Fri, 14 Apr 2023 16:11:05 +0000 (12:11 -0400)]
lib/sysroot-deploy: Nuke `finalize-failure.stamp` on successful finalization
In the unusual case where one is manually finalizing staged deployments,
as can happen in testing, we expect a successful finalization to remove
the failure stamp file.
Colin Walters [Fri, 14 Apr 2023 18:44:38 +0000 (14:44 -0400)]
Merge pull request #2848 from jlebon/pr/calculate-and-cleanup-prep
Prep patches for automatic early prune
Jonathan Lebon [Thu, 13 Apr 2023 21:22:42 +0000 (17:22 -0400)]
libotutil: add utility functions for calculating directory size
Prep for future patch.
Jonathan Lebon [Thu, 13 Apr 2023 21:22:41 +0000 (17:22 -0400)]
lib/sysroot-cleanup: Make bootfs cleanup function global
Prep for future patch.
Jonathan Lebon [Thu, 13 Apr 2023 21:22:40 +0000 (17:22 -0400)]
lib/sysroot-cleanup: Factor out bootfs cleanup
Crawling through the bootfs and the deployment dirs was already mostly
separate. The only inefficiency here is that we now iterate over the
array of active deployments twice when building the hash tables. No
functional change otherwise.
Prep for future patch.
Jonathan Lebon [Thu, 13 Apr 2023 21:22:39 +0000 (17:22 -0400)]
lib/sysroot-cleanup: Drop dead code
We weren't actually using this `stbuf` anywhere.
Jonathan Lebon [Thu, 13 Apr 2023 21:22:38 +0000 (17:22 -0400)]
lib/sysroot-cleanup: Make some static utility functions global
Prep for future patch.
Jonathan Lebon [Thu, 13 Apr 2023 21:22:37 +0000 (17:22 -0400)]
lib/sysroot-cleanup: Convert bootdir listing to dfd-relative
No functional change.
Dan Nicholson [Thu, 13 Apr 2023 16:05:01 +0000 (10:05 -0600)]
Merge pull request #2547 from q66/soup3
port to libsoup3
Dan Nicholson [Fri, 7 Apr 2023 15:47:14 +0000 (09:47 -0600)]
fetcher/soup3: Rewrite without threads
soup3 works best using only the async API from a single thread[1].
Rework the fetcher to stop using worker threads. In order to maximize
session usage across requests, sessions will be reused for each main
context.
1. https://libsoup.org/libsoup-3.0/client-thread-safety.html
Dan Nicholson [Thu, 13 Apr 2023 04:34:23 +0000 (22:34 -0600)]
ci: Add test configuration with soup3
This needs to be on Debian testing for now since bullseye doesn't have
soup3.
Daniel Kolesa [Thu, 17 Feb 2022 19:12:18 +0000 (20:12 +0100)]
fetcher: add libsoup3 backend
The default is still soup2, you can use --with-soup3 to enable
the soup3 backend instead.
Dan Nicholson [Wed, 5 Apr 2023 22:26:10 +0000 (16:26 -0600)]
tests: Ensure real GIO backends aren't used
Set a few environment variables during tests to ensure fake GIO backends
are used. This is particularly important with the soup fetcher backend
as it can cause strange test errors in containerized test environments.
Upstream soup has been setting these 3 environment variables for their
tests since 2015.
Colin Walters [Thu, 23 Mar 2023 21:55:36 +0000 (17:55 -0400)]
Merge pull request #2839 from cgwalters/treegen-race
treegen: Require at least one mutation
Colin Walters [Fri, 17 Mar 2023 17:17:11 +0000 (13:17 -0400)]
treegen: Require at least one mutation
Since a later assertion would otherwise trigger. We saw
this happen in CI.
Colin Walters [Wed, 22 Mar 2023 17:07:43 +0000 (13:07 -0400)]
Merge pull request #2842 from cgwalters/release
Release 2023.2
Colin Walters [Wed, 22 Mar 2023 13:58:54 +0000 (09:58 -0400)]
configure: post-release version bump
Colin Walters [Wed, 22 Mar 2023 13:57:57 +0000 (09:57 -0400)]
Release 2023.2
Colin Walters [Fri, 17 Mar 2023 18:22:50 +0000 (14:22 -0400)]
Merge pull request #2823 from jlebon/pr/testiso-update
ci: update for new kolaTestIso()
Colin Walters [Fri, 17 Mar 2023 18:08:18 +0000 (14:08 -0400)]
Merge pull request #2838 from cgwalters/more-binding-fixes
More binding fixes
Colin Walters [Fri, 17 Mar 2023 15:54:14 +0000 (11:54 -0400)]
rust-bindings: Regenerate
This picks up more of tintou's recent changes.
Colin Walters [Fri, 17 Mar 2023 15:53:20 +0000 (11:53 -0400)]
Revert "repo: Fix nullability for remote options"
This reverts commit
c4d03d28500c75ad2bcf7b75383fc60fe7b83ca8.
Colin Walters [Fri, 17 Mar 2023 15:36:22 +0000 (11:36 -0400)]
Merge pull request #2812 from tintou/tintou/g-ir-fix
build: Do not include private headers in the introspection
Colin Walters [Fri, 17 Mar 2023 15:32:18 +0000 (11:32 -0400)]
Merge pull request #2813 from tintou/tintou/asyncprogress-typedef
libostree: Ignore new_and_connect in the introspection
Jonathan Lebon [Wed, 1 Mar 2023 14:42:46 +0000 (09:42 -0500)]
ci: update for new kolaTestIso()
The `skipMetal4k` and `skipMultipath` parameters no longer do anything.
Instead use `--denylist-test` which is interpreted directly by the
new `kola testiso` code.
This will run more tests than before. We'll likely cut down tests we
consider redundant soon, but that should be transparent to this code.
Colin Walters [Fri, 17 Mar 2023 15:28:18 +0000 (11:28 -0400)]
Merge pull request #2836 from smcv/file-info-size
Cope with GLib 2.76 being more strict about GFileInfo standard::size
Colin Walters [Fri, 17 Mar 2023 15:27:03 +0000 (11:27 -0400)]
Merge pull request #2837 from smcv/g-steal-fd
Use g_steal_fd() in preference to glnx_steal_fd()
Joseph Marrero Corchado [Fri, 17 Mar 2023 15:09:19 +0000 (11:09 -0400)]
Merge pull request #2705 from cgwalters/always-boot
Add `sysroot.bootprefix` option
Jonathan Lebon [Fri, 17 Mar 2023 13:37:40 +0000 (09:37 -0400)]
Merge pull request #2791 from cgwalters/enable-trust-return-nullability
Simon McVittie [Fri, 17 Mar 2023 13:32:26 +0000 (13:32 +0000)]
Use g_steal_fd() in preference to glnx_steal_fd()
g_steal_fd() exists in GLib since 2.70, and libglnx has a backport for
older GLib versions, equivalent to the libglnx-specific glnx_steal_fd().
Signed-off-by: Simon McVittie <smcv@collabora.com>
Simon McVittie [Fri, 17 Mar 2023 12:56:39 +0000 (12:56 +0000)]
write_content_object: Don't assume file info has standard::size
The file info object for symlinks might validly not have this attribute.
If not, behave as though it was 0, matching what happened with older
versions of GLib.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Simon McVittie [Fri, 17 Mar 2023 12:54:33 +0000 (12:54 +0000)]
_ostree_zlib_file_header_new: Default size to 0
Similar to the previous commit, but for
ostree_raw_file_to_archive_z2_stream() and similar public APIs.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Simon McVittie [Fri, 17 Mar 2023 12:53:42 +0000 (12:53 +0000)]
ostree_raw_file_to_content_stream: Make size default to 0
Some existing code calls into ostree_raw_file_to_content_stream() with
file objects that do not have the standard::size attribute. Since GLib
2.76.0, attempting to access the size of such an object raises a
critical warning. Handle this more gracefully by defaulting the size
to 0, like earlier versions of GLib did.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Colin Walters [Fri, 17 Mar 2023 12:25:16 +0000 (08:25 -0400)]
rust: Renerate bindings
To pick up the latest introspection changes.
Colin Walters [Fri, 17 Mar 2023 12:20:16 +0000 (08:20 -0400)]
repo: Fix nullability for remote options
Unfortunately, the nullability of the output value here is
dependent on whether the `default_value` parameter is provided. There's
no way to express this in introspection or Rust.
Colin Walters [Fri, 17 Mar 2023 12:19:22 +0000 (08:19 -0400)]
lib: Fix two nullable annotations
- commit parents are optional
- remote URLs are optional
Colin Walters [Tue, 14 Mar 2023 23:50:28 +0000 (19:50 -0400)]
rust: Bump semver
Since we did a bunch of API changes due to nullability and
other introspection cleanups.
Colin Walters [Tue, 14 Mar 2023 22:11:30 +0000 (18:11 -0400)]
Add docs and fix annotations for ostree-repo-file.c
The code here is not great, embarassing we've gone this
long without docs for some of these public API functions too.
I think this is right though.
Colin Walters [Thu, 1 Dec 2022 13:10:15 +0000 (08:10 -0500)]
Enable `trust_return_value_nullability`
Several commonly used APIs currently unnecessarily return
`Option<T>`, like `ostree_deployment_get_csum()`.
Flip the gir flag for this to on; I think our annotations are
correct.
Colin Walters [Fri, 17 Mar 2023 00:27:20 +0000 (20:27 -0400)]
Merge pull request #2835 from cgwalters/more-gfileinfo
tests: Set size on fileinfo
Colin Walters [Thu, 16 Mar 2023 22:31:03 +0000 (18:31 -0400)]
tests: Set size on fileinfo
Closes: https://github.com/ostreedev/ostree/issues/2827
Colin Walters [Thu, 16 Mar 2023 11:56:56 +0000 (07:56 -0400)]
Merge pull request #2834 from evan-a-a/fix_glib
core: Ensure glib standard::size attribute is always set
Evan Anderson [Thu, 16 Mar 2023 02:33:21 +0000 (21:33 -0500)]
core: Ensure glib standard::size attribute is always set
* A recent change in glib [1] requires that the appropriate attribute
be available when calling getters. ostree core only sets this attribute
on regular files, and frequently triggers the critical warning. Solve
this by setting standard::size to zero for non-regular files.
Fixes https://github.com/ostreedev/ostree/issues/2827
[1]: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3261
Colin Walters [Wed, 15 Mar 2023 14:12:23 +0000 (10:12 -0400)]
Merge pull request #2832 from cgwalters/fix-itest-pull-space
itest-pull-space: Use mkfs.ext4, align to at least 512b
Colin Walters [Wed, 15 Mar 2023 12:32:55 +0000 (08:32 -0400)]
Merge pull request #2831 from nanonyme/larger-buffer
Increase buffer size for create_regular_tmpfile_linkable_with_content
Seppo Yli-Olli [Tue, 14 Mar 2023 19:25:08 +0000 (21:25 +0200)]
Increase buffer size for create_regular_tmpfile_linkable_with_content
The small buffer size results in really bad performance under any
FUSE-based filesystems with round-trips.
Colin Walters [Tue, 14 Mar 2023 21:35:19 +0000 (17:35 -0400)]
Merge pull request #2814 from tintou/tintou/ostree-coverage
libostree: Enhance the annotation coverage
Colin Walters [Tue, 14 Mar 2023 20:51:49 +0000 (16:51 -0400)]
itest-pull-space: Use mkfs.ext4, align to at least 512b
XFS now seems to want filesystems larger than 300MB, so switch
to ext4. Also use `20MiB` so we align to 512b sectors to squash
a `losetup` warning.
Also tweak some of the numbers to still work.
Colin Walters [Mon, 13 Mar 2023 21:29:21 +0000 (17:29 -0400)]
Merge pull request #2821 from smcv/sbin-path
tests: Ensure non-root users have access to libcap tools
Colin Walters [Fri, 10 Mar 2023 19:19:18 +0000 (14:19 -0500)]
Merge pull request #2829 from pwithnall/fetcher-wakeup
lib/fetcher-util: Wake up main context when a request is complete
Colin Walters [Fri, 10 Mar 2023 19:17:09 +0000 (14:17 -0500)]
Merge pull request #2824 from cgwalters/regen-bindings
rust-bindings: Regenerate for 2023.1 && rust-bindings: `Sysroot` is `Send`
Colin Walters [Fri, 10 Mar 2023 19:16:56 +0000 (14:16 -0500)]
Merge pull request #2828 from travier/docs-theme-update
docs: Use upstream theme & update to 0.4.1
Philip Withnall [Fri, 10 Mar 2023 11:54:34 +0000 (11:54 +0000)]
lib/fetcher-util: Wake up main context when a request is complete
Since the value of `data->done` is not watched by the main context, the
context doesn’t know to wake up from `g_main_context_iteration()` when
that value is changed. The code currently relies on something else
happening to wake the main context up shortly after `data->done` is set.
That doesn’t seem very reliable, so wake the main context up explicitly.
Spotted this while reading the code while trying to debug a stall with
backtrace:
```
5 0x00007ffff68bbbfb in g_main_context_iteration (context=0x60f000136900, may_block=1) at ../../source/glib/glib/gmain.c:4343
6 0x00007fffdc0e50db in _ostree_fetcher_mirrored_request_to_membuf_once (fetcher=0x604001138c10, mirrorlist=0x603001df18b0, filename=0x7fffdc1049e7 "summary.sig", flags=OSTREE_FETCHER_REQUEST_OPTIONAL_CONTENT, if_none_match=0x602002f3b7f0 "\"
640a49ff-250\"", if_modified_since=
1678395903, out_contents=0x7fffdadd0e80, out_not_modified=0x7fffdadd0e38, out_etag=0x7fffdadd0e28, out_last_modified=0x7fffdadd0e00, max_size=
10485760, cancellable=0x6060004bd720, error=0x7fffdadd0ca0) at src/libostree/ostree-fetcher-util.c:95
7 0x00007fffdc0e52e0 in _ostree_fetcher_mirrored_request_to_membuf (fetcher=0x604001138c10, mirrorlist=0x603001df18b0, filename=0x7fffdc1049e7 "summary.sig", flags=OSTREE_FETCHER_REQUEST_OPTIONAL_CONTENT, if_none_match=0x602002f3b7f0 "\"
640a49ff-250\"", if_modified_since=
1678395903, n_network_retries=5, out_contents=0x7fffdadd0e80, out_not_modified=0x7fffdadd0e38, out_etag=0x7fffdadd0e28, out_last_modified=0x7fffdadd0e00, max_size=
10485760, cancellable=0x6060004bd720, error=0x7fffdadd10c0) at src/libostree/ostree-fetcher-util.c:155
8 0x00007fffdc08d937 in _ostree_preload_metadata_file (self=0x61600057bd80, fetcher=0x604001138c10, mirrorlist=0x603001df18b0, filename=0x7fffdc1049e7 "summary.sig", is_metalink=0, if_none_match=0x602002f3b7f0 "\"
640a49ff-250\"", if_modified_since=
1678395903, n_network_retries=5, out_bytes=0x7fffdadd0e80, out_not_modified=0x7fffdadd0e38, out_etag=0x7fffdadd0e28, out_last_modified=0x7fffdadd0e00, cancellable=0x6060004bd720, error=0x7fffdadd10c0) at src/libostree/ostree-repo-pull.c:3329
9 0x00007fffdc099712 in ostree_repo_remote_fetch_summary_with_options (self=0x61600057bd80, name=0x6020007f4fd0 "eos-apps", options=0x0, out_summary=0x7fffdadd0f88, out_signatures=0x7fffdadd0f80, cancellable=0x6060004bd720, error=0x7fffdadd10c0) at src/libostree/ostree-repo-pull.c:6675
10 0x00007fffdc06887f in ostree_repo_remote_fetch_summary (self=0x61600057bd80, name=0x6020007f4fd0 "eos-apps", out_summary=0x7fffdadd0f88, out_signatures=0x7fffdadd0f80, cancellable=0x6060004bd720, error=0x7fffdadd10c0) at src/libostree/ostree-repo.c:2706
11 0x00007fffdc18f5de in flatpak_dir_remote_fetch_summary (self=0x60c00577e640, name_or_uri=0x6020007f4fd0 "eos-apps", only_cached=0, out_summary=0x7fffdadd10f0, out_summary_sig=0x7fffdadd10e8, cancellable=0x6060004bd720, error=0x7fffdadd10c0) at /opt/gnome/source/flatpak/common/flatpak-dir.c:12235
12 0x00007fffdc1918cb in _flatpak_dir_get_remote_state (self=0x60c00577e640, remote_or_uri=0x6020007f4fd0 "eos-apps", optional=1, local_only=0, only_cached=0, opt_summary_is_index=0, opt_summary=0x0, opt_summary_sig=0x0, cancellable=0x6060004bd720, error=0x7fffdadd15a0) at /opt/gnome/source/flatpak/common/flatpak-dir.c:12789
13 0x00007fffdc19206d in flatpak_dir_get_remote_state_optional (self=0x60c00577e640, remote=0x6020007f4fd0 "eos-apps", only_cached=0, cancellable=0x6060004bd720, error=0x7fffdadd15a0) at /opt/gnome/source/flatpak/common/flatpak-dir.c:12953
14 0x00007fffdc1784f2 in flatpak_dir_update_appstream (self=0x60c00577e640, remote=0x6020007f4fd0 "eos-apps", arch=0x7fffdc239f30 "x86_64", out_changed=0x0, progress=0x6110007479c0, cancellable=0x6060004bd720, error=0x7fffdadd15a0) at /opt/gnome/source/flatpak/common/flatpak-dir.c:5182
```
I don’t think it’ll fix it (calling `g_main_context_wakeup()` on the
context in the debugger didn’t help), but it can’t hurt.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Timothée Ravier [Fri, 10 Mar 2023 11:17:16 +0000 (12:17 +0100)]
docs: Use upstream theme & update to 0.4.1
Use a fixed tag for the theme so that we can directly pull it from
upstream and skip vendoring the theme in the coreos org.
Colin Walters [Sat, 4 Mar 2023 15:54:48 +0000 (10:54 -0500)]
rust-bindings: `Sysroot` is `Send`
I want to spawn tokio worker threads referencing sysroot objects
in bootc.
Just like the repo, there's nothing thread-local about it.
Colin Walters [Sat, 4 Mar 2023 15:54:04 +0000 (10:54 -0500)]
rust-bindings: Regenerate for 2023.1
Still need to automate this...
dependabot[bot] [Mon, 27 Feb 2023 13:06:39 +0000 (13:06 +0000)]
build(deps): bump libglnx from `
4e44fd9` to `
07e3e49`
Bumps libglnx from `
4e44fd9` to `
07e3e49`.
---
updated-dependencies:
- dependency-name: libglnx
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Simon McVittie [Mon, 27 Feb 2023 12:42:57 +0000 (12:42 +0000)]
Release to experimental
Simon McVittie [Mon, 27 Feb 2023 12:42:41 +0000 (12:42 +0000)]
Add patch to ensure capsh is found in tests' PATH
Closes: #1031353
Simon McVittie [Mon, 27 Feb 2023 12:40:05 +0000 (12:40 +0000)]
tests: Ensure non-root users have access to libcap tools
On Debian systems, by default only root has /{usr/,}sbin in PATH.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Simon McVittie [Tue, 21 Feb 2023 12:15:51 +0000 (12:15 +0000)]
Standards-Version: 4.6.2 (no changes required)
Simon McVittie [Tue, 21 Feb 2023 12:15:35 +0000 (12:15 +0000)]
d/control: Drop compatibility with bsdmainutils older than Debian 11
Simon McVittie [Tue, 21 Feb 2023 11:18:04 +0000 (11:18 +0000)]
Release to experimental
Simon McVittie [Tue, 21 Feb 2023 11:17:38 +0000 (11:17 +0000)]
Drop patch that was applied upstream
Simon McVittie [Tue, 21 Feb 2023 11:17:18 +0000 (11:17 +0000)]
New upstream release
Simon McVittie [Tue, 21 Feb 2023 10:57:47 +0000 (10:57 +0000)]
Update upstream source from tag 'upstream/2023.1'
Update to upstream version '2023.1'
with Debian dir
346e41fa8ced7522230abddc2449918e24562071
Simon McVittie [Tue, 21 Feb 2023 10:57:36 +0000 (10:57 +0000)]
New upstream version 2023.1
Joseph Marrero Corchado [Mon, 20 Feb 2023 22:13:44 +0000 (17:13 -0500)]
Merge pull request #2818 from cgwalters/release-rust
Release rust/ bindings 0.17.1
Jonathan Lebon [Fri, 17 Feb 2023 21:47:04 +0000 (16:47 -0500)]
Merge pull request #2755 from cgwalters/use-new-selinux-arg