Owen W. Taylor
3b2fd6e9ff
When exporting, use hardlinks for duplicated files
...
For ostree_repo_export_tree_to_archive(), and 'ostree export', when the
exported tree contains multiple files with the same checksum, write an
archive with hard links.
Without this, importing a tree, then exporting it again breaks
hardlinks.
As an example of savings: this reduces the (compressed) size of the
Fedora Flatpak Runtime image from 1345MiB to 712MiB.
Resolves : #2925
2023-09-29 13:45:29 -04:00
Colin Walters
8c25452c1e
Merge pull request #3049 from jlebon/pr/revert-virtiofs-hack
...
Revert "ci: Run cosa unprivileged"
2023-09-28 09:12:44 -04:00
Jonathan Lebon
2363de7100
Merge pull request #3059 from cgwalters/zipl-default-s390x
2023-09-28 08:18:16 -04:00
Jonathan Lebon
b8ce61ba7b
Revert "ci: Run cosa unprivileged"
...
This reverts commit 2fe88f80fa
.
This shouldn't be necessary now with the workaround built in cosa:
https://github.com/coreos/coreos-assembler/pull/3625
2023-09-27 19:35:58 -04:00
Colin Walters
c4dcfbaecd
Merge pull request #3046 from ostreedev/dependabot/submodules/composefs-cca8be4
...
build(deps): bump composefs from `af86742` to `cca8be4`
2023-09-27 19:34:30 -04:00
Colin Walters
e3d93a8571
repo: Default bootloader to zipl on s390x
...
This will allow us to drop code like
87fc693c11/src/create_disk.sh (L503)
which is really just unnecessary since there aren't any other
bootloaders we care about on this architecture.
2023-09-27 18:10:15 -04:00
Joseph Marrero Corchado
ec7bc823eb
Merge pull request #3058 from cgwalters/doc-authenticated-repos
...
docs: Add authenticated-repos.md
2023-09-27 15:27:26 -04:00
Colin Walters
d4adb79539
docs: Add authenticated-repos.md
...
Document options for accessing repositories that require authentication.
2023-09-27 14:02:55 -04:00
Colin Walters
13be0786bb
Merge pull request #3021 from cgwalters/insttest-composefs-binding
...
tests: Add an integration test for composefs signatures
2023-09-21 19:50:05 -04:00
Colin Walters
46b7821d0c
Merge pull request #3053 from ericcurtin/add_overlay_and_erofs_to_initrd
...
boot/dracut: Add erofs and overlayfs kernel modules
2023-09-21 13:13:27 -04:00
Eric Curtin
cecb59dd53
boot/dracut: Add erofs and overlayfs kernel modules
...
These kernel modules are required for composefs usage in the initramfs.
The composefs use-case as of today uses an overlayfs on top of EROFS.
2023-09-21 12:03:07 -04:00
Colin Walters
372cbd7a64
tests: Add an integration test for composefs signatures
...
Ensure we have some automated test coverage for this.
2023-09-21 07:53:19 -04:00
Eric Curtin
cd606aa6fe
Merge pull request #3051 from cgwalters/rust-tests-update
...
rust/tests: Adjust for new ostree
2023-09-20 14:18:31 +01:00
Colin Walters
87c4367806
Merge pull request #3052 from cgwalters/switch-libglnx-source
...
gitmodules: Use github GNOME mirror
2023-09-20 08:48:17 -04:00
Colin Walters
01a847a2d1
gitmodules: Use github GNOME mirror
...
gitlab.gnome.org is down right now, but it's been somewhat
flaky in the past. Our CI uptime becomes an *intersection*
of all systems it depends on, and by cutting out gitlab.gnome.org
we increase its reliability.
2023-09-20 07:58:44 -04:00
Colin Walters
e3291ccce9
tests: Rework detection of trivial-httpd
...
Because it's now at the toplevel.
2023-09-19 16:52:13 -04:00
Jonathan Lebon
878d601665
Merge pull request #3047 from ostreedev/dependabot/submodules/libglnx-aff1eea
2023-09-18 11:08:13 -04:00
dependabot[bot]
ff73bebc74
build(deps): bump libglnx from 54ad67d
to aff1eea
...
Bumps libglnx from `54ad67d` to `aff1eea`.
---
updated-dependencies:
- dependency-name: libglnx
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 12:18:48 +00:00
dependabot[bot]
7916cfb68d
build(deps): bump composefs from af86742
to cca8be4
...
Bumps [composefs](https://github.com/containers/composefs ) from `af86742` to `cca8be4`.
- [Release notes](https://github.com/containers/composefs/releases )
- [Commits](af86742579...cca8be4984
)
---
updated-dependencies:
- dependency-name: composefs
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 12:18:47 +00:00
Jonathan Lebon
92d25eb56b
Merge pull request #3039 from cgwalters/rust-switch-include
2023-09-12 09:10:11 -04:00
Colin Walters
26dcd4f575
rust: Switch to using include
...
This way we don't randomly pick up bits from the C library
unintentionally as things change on that side.
I think the support for `!` in `include` may be relatively new
and that's why the original author here chose to do things
via `exclude`. But using `include` with a few specific exclusions
is just way better.
2023-09-11 17:16:41 -04:00
Colin Walters
b7e39eba07
Merge pull request #2054 from jlebon/pr/static-delta-fetch-no-scan
...
lib/pull: Don't scan commit objects we fetch via deltas
2023-09-11 09:41:13 -04:00
Jonathan Lebon
cd116a1e63
lib/pull: Drop static delta superblocks references
...
We don't need them long-lived anymore. They were just used for reporting
at this point, but we can use the new `static_delta_targets` hash table
size for that now.
2023-09-10 22:17:13 -04:00
Jonathan Lebon
2fe88f80fa
ci: Run cosa unprivileged
...
As a workaround for a virtiofs bug:
https://gitlab.com/virtio-fs/virtiofsd/-/merge_requests/197
xref coreos/coreos-assembler#3428 (comment)
Just like in https://github.com/coreos/rpm-ostree/pull/4585 .
2023-09-08 21:09:09 -04:00
Jonathan Lebon
fc5aef6fe6
lib/pull: Don't scan commit objects we fetch via deltas
...
When we're fetching a commit via static delta, we already take care of
fetching the full commit, so there's no need to also scan it using the
regular object workflow.
Closes : #2053
2023-09-08 17:49:25 -04:00
Jonathan Lebon
c8ed1c7a87
lib/pull: Fix miscounting of missing metadata
...
If e.g. detached metadata or a parent commit is missing, we
don't consider it an error but we erroneously still increment the
`n_fetched_metadata` counter, causing it to be higher than it should.
This will implicitly be tested by a test added in the next patch.
2023-09-08 17:49:25 -04:00
Jonathan Lebon
3c2587b619
app/pull-local: Add --disable-static-delta
...
For completeness with `pull`.
Prep for using it in testing to assert we'll never use static deltas.
2023-09-08 15:07:29 -04:00
Colin Walters
0ac8795686
Merge pull request #3038 from cgwalters/rust-drop-composefs
...
rust: Drop composefs from crate
2023-09-08 12:03:21 -04:00
Eric Curtin
6a94856729
Merge pull request #3037 from cgwalters/add-labeler-flow
...
ci: Add an automatic labeler action
2023-09-08 12:52:44 +01:00
Colin Walters
2db17d2107
rust: Drop composefs from crate
...
This greatly reduces the size. TODO: switch to using `include`.
2023-09-08 07:38:31 -04:00
Colin Walters
749857df67
Merge pull request #3035 from cgwalters/release-rust
...
rust/sys: Also bump semver for this
2023-09-08 07:24:56 -04:00
Colin Walters
129969482e
ci: Add an automatic labeler action
...
To automate a bit.
2023-09-07 17:38:59 -04:00
Colin Walters
1714e8371f
Merge pull request #3030 from ostreedev/dependabot/submodules/composefs-af86742
...
build(deps): bump composefs from `d085fbf` to `af86742`
2023-09-07 16:21:39 -04:00
Colin Walters
e52530b5e0
rust/sys: Also bump semver for this
...
Since we bumped the glib major.
2023-09-07 14:54:56 -04:00
dependabot[bot]
4d3621db08
build(deps): bump composefs from d085fbf
to af86742
...
Bumps [composefs](https://github.com/containers/composefs ) from `d085fbf` to `af86742`.
- [Release notes](https://github.com/containers/composefs/releases )
- [Commits](d085fbf6c8...af86742579
)
---
updated-dependencies:
- dependency-name: composefs
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-06 13:39:35 +00:00
Colin Walters
00c04aefd3
Merge pull request #3028 from ostreedev/dependabot/submodules/composefs-d085fbf
...
build(deps): bump composefs from `597a766` to `d085fbf`
2023-09-06 09:32:33 -04:00
Colin Walters
b0e328114d
Merge pull request #3029 from cgwalters/bump-glib
...
rust: Port to glib 0.18
2023-09-06 09:06:04 -04:00
Colin Walters
aee1ab2c99
rust: Bump semver to 0.19
...
- New glib 0.18 dependency
- Drop cap-std APIs and features
- Other minor changes
2023-09-01 08:44:25 -04:00
Colin Walters
cccc0f1a5b
rust: Port to glib 0.18
...
- Also rolls up a few other changes in the C API
- Drop `&mut` from `OstreeKernelArgs`; it now confuses type inference.
More generally while using `&mut` here was well intentioned, it
goes against the glib standard of mapping everything to `&` and
accepting interior mutability.
2023-09-01 08:44:25 -04:00
dependabot[bot]
b60036dd92
build(deps): bump composefs from 597a766
to d085fbf
...
Bumps [composefs](https://github.com/containers/composefs ) from `597a766` to `d085fbf`.
- [Release notes](https://github.com/containers/composefs/releases )
- [Commits](597a766095...d085fbf6c8
)
---
updated-dependencies:
- dependency-name: composefs
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-01 12:27:47 +00:00
Joseph Marrero Corchado
5fe050f51a
Merge pull request #3027 from cgwalters/drop-cap-std-public
...
Drop cap-std from our public APIs
2023-08-31 17:48:15 -04:00
Colin Walters
9121297e7b
ci: Move lints into main build
...
And drop another hardcoded MSRV.
2023-08-31 16:33:07 -04:00
Colin Walters
242a901524
rust: Bump rust-version = 1.70
...
To pick up the new `AsFd` etc.
2023-08-31 15:34:26 -04:00
Colin Walters
eec67ec109
Drop cap-std from our public APIs
...
Since it bumped semver (when I didn't expect it to; xref
963eebf3ab (r121651362)
It's not load-bearing enough here to matter versus just passing
an untyped file descriptor.
This mainly means that it will be the `glib` ecosystem which
forces transitive semver bumps for us, not both.
2023-08-31 15:34:26 -04:00
Colin Walters
e93ebd7385
Merge pull request #3018 from ostreedev/dependabot/submodules/composefs-597a766
...
build(deps): bump composefs from `1aed878` to `597a766`
2023-08-31 12:16:50 -04:00
Eric Curtin
8d838230f1
Merge pull request #3012 from cgwalters/default-early-prune
...
sysroot: Promote the "early prune" behavior to default
2023-08-31 16:30:26 +01:00
Colin Walters
d5cfbed5bc
sysroot: Promote the "early prune" behavior to default
...
I think we have enough testing for this, let's default it to
on, and change the variable to allow opt-out in case it does
introduce a regression.
2023-08-31 10:25:59 -04:00
Colin Walters
c0014e0003
Merge pull request #2968 from cgwalters/drop-global-syncfs-by-default
...
deploy: Remove global `sync` by default
2023-08-30 16:24:37 -04:00
Joseph Marrero Corchado
d976ec5657
Merge pull request #3024 from cgwalters/clang-analyzer-fixes-5
...
Clang analyzer fixes 5
2023-08-30 16:14:28 -04:00
dependabot[bot]
0d7b8ebc6b
build(deps): bump composefs from 1aed878
to 597a766
...
Bumps [composefs](https://github.com/containers/composefs ) from `1aed878` to `597a766`.
- [Release notes](https://github.com/containers/composefs/releases )
- [Commits](1aed8781d6...597a766095
)
---
updated-dependencies:
- dependency-name: composefs
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-30 13:23:13 -04:00