Luca Bruno
7e4c4f2a69
Merge pull request #2435 from RBuddel/fix-delta-files-resume-legacy-transaction
...
repo-pull: legacy_transaction_resuming flag ignored
2021-09-08 08:52:54 +00:00
Luca Bruno
20db6e52d1
Merge pull request #2430 from cgwalters/stabilize-staging
...
upgrade: Stabilize deployment staging
2021-09-08 08:18:00 +00:00
Luca BRUNO
fff24089dd
tests: skip a broken fsck case
...
There are some existing issues around fsck in unprivileged bare mode,
so this test does not really work at the moment. Leaving it as a FIXME
for the moment.
2021-09-06 07:52:42 +00:00
Luca BRUNO
aa0bb176c5
tests/basic: avoid changing ownership
...
This avoids possible issues when trying to chmod, tweaking
permissions instead.
2021-09-06 07:41:02 +00:00
Luca BRUNO
27fcee861a
libtest: tweak selinux/relabel message
2021-09-06 07:41:00 +00:00
Luca Bruno
cfa2aec839
Merge pull request #2426 from cgwalters/xattrs-bareuseronly-union
...
checkout: Also ignore xattrs for union in bare-user-only mode
2021-08-27 07:34:46 +00:00
Luca Bruno
7fb0266df6
Merge pull request #2425 from cgwalters/hardlink-correct-errno
...
checkout: Save errno when re-throwing
2021-08-27 07:33:27 +00:00
Luca BRUNO
c64b4bceba
lib: improve transactions auto-cleanup logic
...
This fixes some aspects of OstreeRepoAutoTransaction and re-aligns
it with the logic in flatpak. Specifically:
* link to the underlying repo through refcounting
* bridge internal errors to warning messages
* verify the input pointer type
This is a preparation step before exposing this logic as a public API.
2021-08-25 16:17:52 +00:00
Luca Bruno
30909a28f2
Merge pull request #2418 from lucab/ups/lib-commit-xattrs
...
commit: automatically skip xattrs in bare-user-only mode
2021-08-24 14:28:39 +00:00
Luca BRUNO
00660eae79
tests: update several bare-user-only checks
2021-08-24 07:56:48 +00:00
Luca BRUNO
3e2360e3bb
lib/commit: automatically skip xattrs in bare-user-only mode
2021-08-24 07:56:46 +00:00
Luca BRUNO
f75552e15c
builtins/commit: set up relevant flags in bare-user-only mode
...
This detects bare-user-only mode and automatically enables a
commit modifier with relevant flags.
2021-08-24 07:56:19 +00:00
Luca BRUNO
0276f4dc0c
lib/diff: automatically skip xattrs in bare-user-only mode
2021-08-24 07:56:18 +00:00
Luca Bruno
89432b2e2d
Merge pull request #2419 from dbnicholson/gpg-list-keys
...
bin/remote: Rename list-gpg-keys to gpg-list-keys
2021-08-24 07:55:59 +00:00
Luca BRUNO
06ff77cfeb
lib/diff: ignore xattrs if disabled on either repos
...
This fixes the logic to detect whether xattrs should be automatically
ignored when diffing.
2021-08-23 13:31:13 +00:00
Luca BRUNO
8a5241dd6a
lib/commit: autofix permissions for bare-user-only
...
This tweaks commit logic to detect bare-user-only repositories and
canonicalize permissions automatically.
2021-08-20 16:11:04 +00:00
Luca Bruno
3209acbdbe
Merge pull request #2415 from lucab/ups/checksum-canonical-perms
...
lib/checkout: use canonical permissions in bare-user-only mode
2021-08-19 17:00:14 +00:00
Luca BRUNO
d41fcd17a7
lib/repo/checkout: use canonical perms in bare-user-only mode
...
This automatically enables canonical permissions for checkouts in
bare-user-only mode.
2021-08-19 16:09:54 +00:00
Luca BRUNO
c6b72f527b
lib/core/checksum: add flag to use canonical permissions
...
This adds a new `OSTREE_CHECKSUM_FLAGS_CANONICAL_PERMISSIONS`
checksumming flag, which is needed in bare-user-only mode
to ignore local IDs.
2021-08-19 14:08:36 +00:00
Luca BRUNO
b079c11381
builtins/commit: move commit modifier to auto-cleanup
...
This reduces the usage of goto cleanup logic by porting the commit
modifier pointer to autoptr.
2021-08-18 09:06:26 +00:00
Luca BRUNO
5a3d5fb86f
builtins/commit: check for conflicting permissions options
...
This explicitly checks for commit command options asking for both
non-zero UID/GID and canonical permissions at the same time,
which are incompatible.
2021-08-18 08:16:26 +00:00
Luca Bruno
87db562744
Merge pull request #2409 from jlebon/pr/cov-fixes
...
A couple of Coverity fixes
2021-08-04 06:13:37 +00:00
Luca Bruno
5023278293
Merge pull request #2406 from liujianqiang-niu/main
...
fix: Avoid wild pointers
2021-07-28 08:26:45 +00:00
Luca Bruno
835b114192
Merge pull request #2407 from smcv/tests-source-date-epoch
...
tests: Unset SOURCE_DATE_EPOCH
2021-07-26 11:52:06 +00:00
Luca BRUNO
3f852d9443
configure: post-release version bump
2021-07-12 08:40:14 +00:00
Luca BRUNO
38c14b3745
Release 2021.3
2021-07-12 08:38:38 +00:00
Luca BRUNO
d573b8dc2f
ci/release-build: evaluate package_version from m4 definition
...
This fixes the ci-release-build.sh script to directly source
and evaluate 'package_version' from its m4 definition, without
requiring a fully configured source tree.
2021-07-09 16:17:31 +00:00
Luca BRUNO
70a8f56ce1
lib/commit: respect SOURCE_DATE_EPOCH for commit timestamp
...
This tweaks `ostree_repo_write_commit` so that it checks for the
envinroment variable `SOURCE_DATE_EPOCH` as a way to override
the current time, which is used as the commit timestamp.
Ref: https://reproducible-builds.org/docs/source-date-epoch/
Ref: https://reproducible-builds.org/specs/source-date-epoch/
2021-06-22 12:15:18 +00:00
Luca Bruno
47b7b1efc2
Merge pull request #2384 from smcv/dedup-report-err
...
libtest.sh: Remove duplicate ERR trap and report_err()
2021-06-22 11:36:51 +00:00
Luca Bruno
36693f064c
Merge pull request #2336 from bgilbert/edit
...
docs: fix "Edit this page on GitHub" links
2021-04-13 12:14:52 +00:00
Luca Bruno
078f022cfe
Merge pull request #2326 from cgwalters/writing-api-prep
...
core: Drop unused error handling from object stream helper
2021-04-08 08:12:59 +00:00
Luca Bruno
9154f41fd4
Merge pull request #2324 from cgwalters/test-use-ex
...
Various patches for tests/inst
2021-04-08 08:10:05 +00:00
Luca BRUNO
bf2c23ca06
tests/ext/destructive: enhance test logic
...
This enhances external-tests logic, ensuring that destructive tests
have retries and some context to pinpoint failures, and that failed-state
services are reset between iterations.
2021-02-03 12:25:02 +00:00
Luca BRUNO
8ece70b207
templates: add release-checklist
...
This collects all release steps in a release-checklist template.
2020-11-18 13:05:07 +00:00
Luca BRUNO
9567a0e91c
workflow/release: further refinements
...
This tweaks the release GH workflow further so that it only triggers
when the `configure.ac` file (which owns the version) changes.
Plus it properly checkouts the PR branch to avoid wrongly looking
at a synthetic merge commit.
2020-11-18 10:24:32 +00:00
Luca BRUNO
3c3651417c
configure: post-release version bump
2020-11-17 10:50:56 +00:00
Luca BRUNO
3e289b1934
Release 2020.8
2020-11-17 10:32:57 +00:00
Luca BRUNO
ee57fe2821
workflows/release: pattern-match on PR title
...
This adds an additional condition in order to run sanity check all
PRs starting with `Release` (case-insensitive).
2020-11-16 17:13:47 +00:00
Luca BRUNO
0d0eb4715b
ci: run ci-release-build.sh on GitHub
...
This adds a GitHub action in order to run ci-release-build.sh on
release PRs (detected via the `kind/release` label).
2020-11-16 11:14:40 +00:00
Luca BRUNO
1c65498d77
ci/travis: move to newer base distro
...
This removes the old pinned distro (Ubuntu Trusty 14.04) from Travis,
moving to the newer default distro (Ubuntu Xenial 16.04).
2020-11-10 13:06:34 +00:00
Luca Bruno
3ecbdd8197
lib/kargs: allow empty-list arguments
...
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
2018-12-10 19:39:23 +00:00
Luca Bruno
52f7ba1878
rust/bupsplit: minor idiomatic fixes
...
This fixes a few un-idiomatic bits in Rust bupsplit code, getting rid
of some unchecked casts and an assert statement.
Closes : #1502
Approved by: cgwalters
2018-03-17 19:59:06 +00:00