Tags give the ability to mark specific points in history as being important
-
-
v2019.1
13bcc496 · ·Release 2019.1 This is the first libostree release of 2019; no big changes, just a collection of smaller features and bugfixes. On the features side, a good example is: `lib/repo: Search a list of paths in gpgkeypath for gpg keys` from PR #1773 - this will be useful for Fedora which rotates GPG keys across releases. Another feature is `grub2: add support for devicetree` from PR: #1790 `lib/kargs: allow empty-list arguments` i.e. PR #1785 is between a bugfix and feature - it ensures libostree supports "empty list" kernel arguments. There's also some ongoing work to have libostree be a "backend" for OCI/Docker container storage; `checkout: honor opaque checkouts` in PR #1486 is part of that. `pull: If built with --disable-http2, allow enabling via http2=1` from PR #1798 will allow people to more easily play with HTTP2 if it's disabled by default. Thank you to all contributors! ``` Alexander Larsson (1 PR, 1 commit) Fix leak in ostree_content_stream_parse() (#1784) Colin Walters (6 PRs, 8 commits) lib/commit: Try checksum+hardlink for untrusted local same-uid repos (#1776) Update libglnx (#1781) ci/papr: Drop insttests (#1783) pull: If built with --disable-http2, allow enabling via http2=1 (#1798) PR: #1766 ci: Add `dist-then-build` target to catch missing `EXTRA_DIST` build-sys: Dist ostree-finalize-staged.path PR: #1800 Post-release bump Release 2019.1 Giuseppe Scrivano (1 PR, 1 commit) checkout: honor opaque checkouts (#1486) Jonathan Lebon (7 PRs, 7 commits) bin/refs: Disallow creating broken aliases (#1768) bin/pull-local: Add --commit-metadata-only (#1769) lib/commit: Copy user.ostreemeta only for bare-user (#1771) lib/commit: Add devino_cache_hits to txn stats (#1772) bin/pull: Add URL metavar for --url switch (#1782) boot/grub2: Add some more explanation in ostree-grub-generator (#1791) PR: #1761 ostree/main: Wrap `Version` in `--version` in quotes (and 1 commit from other author) Luca Bruno (1 PR, 1 commit) lib/kargs: allow empty-list arguments (#1785) Matthew Leeds (1 PR, 1 commit) lib/repo: Clarify docs for importing w/ trust (#1777) Matthias Clasen (1 PR, 2 commits) PR: #1788 Fix a small leak in ostree_repo_remote_list_collection_refs Fix a small leak in ostree_repo_pull_with_options Rafael Fonseca (2 PRs, 2 commits) admin/status: Correctly check GPG signature (#1787) admin/status: test GPG signature check (#1797) Ricardo Salveti (1 PR, 1 commit) grub2: add support for devicetree (#1790) Sinny Kumari (1 PR, 1 commit) atomic-upgrades doc: fix example url to fetch a ref checksum (#1795) Umang Jain (3 PRs, 3 commits) lib/repo-commit: Relax min-free-space check in prepare_transaction() (#1779) man/ostree.repo-config: Update min-free-space-* docs (#1786) PR: #1761 Post-release version bump (and 1 commit from other author) rfairley (1 PR, 1 commit) lib/repo: Search a list of paths in gpgkeypath for gpg keys (#1773) ``` Git-EVTag-v0-SHA512: e27d4941f2f4304c9d7afac93995bd47f0b25b186bd8436a2058bfb58258b12f03852ba775ed64436a5c5b1d53e52f33c1c9f065cfec993b96777a700e49da8b -
-
v2018.9
f3eba6bc · ·Release 2018.9 It's been two months since our last release, so this one is slightly larger than usual (the ~monthly cadence). It's mostly bugfixes again, although there were some API additions and new configuration options. These new features are things like: - Allow disabling pulling from LAN/USB/Internet (#1758) - lib/repo: Add an API to get min-free-space-* reserved bytes (#1715) - OstreeMutableTree: add _remove method (#1724) - repo: Add a checkout option to not hardlink zero-sized files (#1752) On the bugfix side, nothing major; we have the usual small memory leak fixes (yeah, we use GCC autocleanups, but still, this is C). Beyond that, good examples of bugfixes are: - finalize-staged: Bump timeout to 5 minutes (#1755) - deploy: Fix removing /var/.updated with separate /var mount (#1730) - src/ostree: Don't delete refs having aliases (#1749) One notable change in this release is the initrd service `ostree-prepare-root.service` now runs earlier in the boot process. This shouldn't actually affect OSes, unless there's extended logic in the initrd that integrates tightly with OSTree. The use case for this is better integration with Ignition, which will be used in Fedora CoreOS. PR: #1759 Another systemd related change is the introduction of a path unit: `ostree-finalize-staged.path`. This allows the service of the same name to be path activated instead of explicitly started at deployment staging time. This release however does not yet rely on this mechanism to give time for packagers and integrators to adapt to the new unit (e.g. by enabling it in the systemd presets). A future release will *require* this. Note that deployment staging is still not the default for libostree, although at least rpm-ostree now unconditionally uses staging, and while it generally worked well, we hit issues with people using slower hard drives, hence the increase in timeout in PR #1755 . PR: #1740 Another change to call out is: lib/commit: Don't chown objects to repo target owner (#1754) We previously had incomplete support for a process running as uid 0 writing to a repository owned by a non-zero uid, but it was never finished. This will likely be revisited at a later time. We also merged: lib/grub2: Support Debian-style grub.cfg path (#1714) from a new contibutor (thanks Felix!). Who incidentally also posted recently about new Rust bindings: https://mail.gnome.org/archives/ostree-list/2018-October/msg00000.html https://crates.io/crates/libostree Thanks a lot to all contributors! ``` Colin Walters (12 PRs, 13 commits) Post-release version bump (#1705) deploy: Fix removing /var/.updated with separate /var mount (#1730) lib/commit: Don't copy xattrs for metadata objects (#1736) lib/progress: Fix leak of GSource (#1741) Only verify OSTREE_MAX_METADATA_SIZE for HTTP fetches (#1744) rofiles-fuse: Improve error message for failure to open root (#1747) repo: Add a checkout option to not hardlink zero-sized files (#1752) checkout: Support --union-identical and --force-copy{,--zerosized} (#1753) finalize-staged: Bump timeout to 5 minutes (#1755) remount: Refactor to helper function instead of loop (#1760) README: Add bindings section (#1762) PR: #1757 sysroot: Add error prefixing to deployment parsing sysroot: Update some code to use fstatat_allow_noent API Dan Nicholson (1 PR, 1 commit) lib/commit: Don't chown objects to repo target owner (#1754) Felix Krull (1 PR, 1 commit) lib/grub2: Support Debian-style grub.cfg path (#1714) Jonathan Lebon (7 PRs, 12 commits) ci: Disable f28-rpmostree for now (#1727) ci: Bump rpm-ostree tag to 2018.8 (#1728) boot: Add ostree-finalize-staged.path (#1740) lib/mutable-tree: Port to new style (#1742) PR: #1732 lib/fetcher-curl: Prefix fatal errors with full URL lib/fetcher-curl: Drop unnecessary check lib/fetcher-util: Mark journaled msgs as LOG_ERR PR: #1750 lib/sysroot-deploy: Write to journal when finalizing boot: Add Documentation= lines to services boot: Remove [Install] from ostree-finalize-staged PR: #1759 ostree-prepare-root.service: Run earlier in initrd ostree-prepare-root.service: Use RemainAfterExit=yes Laurent Bonnans (1 PR, 1 commit) lib/fetcher: Fix some memory leaks in curl fetcher (#1716) Matthew Leeds (10 PRs, 14 commits) avahi: Be robust to missing refs in peer summaries (#1717) lib/repo: Clean up OstreeRepo docs (#1725) lib/repo: Define a metadata key, ostree.deploy-collection-id (#1726) create-usb: Always use archive mode (#1733) create-usb: Add a --commit option (#1735) bash-completion: Fix --repo autocomplete (#1745) man/create-usb: Don't recommend summary updates (#1746) PR: #1737 man/ostree.repo-config: Document locking options lib/repo: Fix minor mistake in locking docs lib/repo: Allow disabling lock timeout PR: #1758 lib/repo-pull: Disable LAN updates by default Allow disabling pulling from LAN/USB/Internet PR: #1763 Rename core.repo-finders to core.default-repo-finders lib/repo-pull: Add an explanatory comment Robert McQueen (1 PR, 1 commit) OstreeMutableTree: add _remove method (#1724) Sinny Kumari (1 PR, 1 commit) src/ostree: Don't delete refs having aliases (#1749) Umang Jain (3 PRs, 6 commits) Release 2018.9 (#1761) PR: #1715 lib/repo: Ensure min-free-space* config value doesn't overflow Add tests for ostree_repo_get_min_free_space_bytes lib/repo: Add an API to get min-free-space-* reserved bytes PR: #1722 tests: Update tests for ostree_repo_get_min_free_space_bytes() lib/repo: Separate min-free-space-* calculation from transaction codepath ``` Git-EVTag-v0-SHA512: 7d4337f3b58ddd13c825eb80c0e39ebd5f4db1368a34ba6a037264c9941b373ba594a7b9f3ac63cb85e64f475bf5589001032a7ba6da371a2c76a336b4c89c85 -
-
v2018.8
7aa242c3 · ·Release 2018.8 This release is pretty much all minor bugfixes: memory leaks, fixing error messages and docs, handling a race condition on pull with summary updates. There's one new feature (noted below), and we also gained a new contributing tutorial: https://mail.gnome.org/archives/ostree-list/2018-August/msg00005.html Thanks to Robert Fairley and Cheryl Fong! The one bugfix I want to call out explicitly is: ostree-remount.service: RemainAfterExit=yes PR: #1697 It's surprising it took us so long to find and fix this; I've seen occasional boot failures that I believe trace down to this problem. The behavior of systemd units of Type=simple without RemainAfterExit=yes set is rather nonsensical; I may try to push to have a warning emitted upstream if such a unit is a dependency of another. And the one new feature is the `auto-update-summary` config option for repositories. For more information, see the docs and PR: #1681 Thanks to all contributors! ``` Alexander Larsson (3 PRs, 3 commits) Fix leak in ostree_repo_list_collection_refs (#1700) ostree_repo_static_delta_generate: Fix leak (#1701) ostree_repo_pull_from_remotes_async: Fix leak of options (#1702) Colin Walters (3 PRs, 3 commits) lib/pull: Fix minor memleak in error path (#1684) ostree-remount.service: RemainAfterExit=yes (#1697) Release 2018.8 (#1705) Dan Nicholson (1 PR, 5 commits) PR: #1698 repo: Add OSTREE_REPO_TEST_ERROR=invalid-cache env var tests: Test for recovery from corrupted summary cache lib/pull: Fetch summary if cached version doesn't match signature lib/pull: Add debug message when loading summary from cache tests: Add tests for remote summary update races Jonathan Lebon (4 PRs, 10 commits) ci: Bump rpm-ostree tag we build for tests (#1708) PR: #1692 lib: Fix some logic/error-checking code lib: Fix some minor memory leaks lib: Check for NULL pointers in some more places PR: #1693 lib/commit: Only auto-update summary if refs were written lib/config: Deprecate commit-update-summary option lib/config: Rename change-update-summary to auto-... lib/refs: Use GLNX_HASH_TABLE_FOREACH_KV helper PR: #1710 ostree/config: Delete rogue printf and tweak help man/config: Keep cmdsynopsis for GROUP.KEY version Matthew Leeds (4 PRs, 5 commits) man/ostree.repo-config: Update min-free-space-* docs (#1687) lib/repo-commit: Fix min-free-space error message (#1691) lib/repo-pull: Use correct keyring for dynamic remotes (#1695) PR: #1681 config: Add a core/change-update-summary option lib/repo: Take exclusive lock while generating summary Philip Withnall (1 PR, 1 commit) lib/repo-pull: Prefer object pull over from-scratch delta if ref exists (#1709) Robert Fairley (2 PRs, 2 commits) docs: Add Contributing Tutorial to Mkdocs pages (#1711) PR: #1694 docs: Add contributing tutorial (and 1 commit from other author) Sinny Kumari (1 PR, 1 commit) src/ostree: Add --group option to ostree config (#1696) Stefan Agner (1 PR, 1 commit) Avoid race condition in case tests directory does not exist (#1704) Umang Jain (1 PR, 1 commit) Post-release version bump (#1683) Will Thompson (1 PR, 1 commit) repo: remove outdated note from write_config() docs (#1707) Will Thompson (1 PR, 1 commit) man/ostree.repo-config: improve min-free-space-* docs (#1706) bubblemelon (2 PRs, 2 commits) bin/refs: Clarify --create error message (#1690) PR: #1694 docs: Add detail to CONTRIBUTING.md and link to tutorial (and 1 commit from other author) ``` Git-EVTag-v0-SHA512: cb84a0dc71f917fc9fa715531e3154a23e861bf1e4223caf6c34e16461c7830a383bb9f090963eaaeaeb3c449434be7cf4246e63c15d5a2d5c7da101568f52e3 -
-
v2018.7
21318bbc · ·Release 2018.7 https://github.com/ostreedev/ostree/releases/tag/v2018.7 I've said this before but the regular variety of contributors to libostree makes me very happy - part of the reason I like working on Free Software is collaborating with smart people around the world! Thanks to all of you! There's no one major feature in this release, but we have a variety of improvements and bugfixes. The addition of `min-free-space-size` in the previous release caused issues with older libostree/flatpak interacting with it. We now tolerate both `min-free-space-size` and `min-free-space-percent` being set for compatibility. PR: #1685 The way libostree writes bootloader spec snippets has changed to have the version number first, aiding sorting. It turns out some BLS implementations order via filename. This is preparatory work for more directly adopting the BLS in Fedora (and I for one will not miss grub2-mkconfig and particularly os-prober)! libostree became significantly smarter about handling "recommitting" content, such as `ostree commit --tree=ref=foo -b bar`; it's now nearly free, and this can be extended to very quickly "union" or merge different refs into a unified whole. See the discussion in: PR: #1643 There are two fixes for staged deployments (still not the default), but we're aiming to do that by default in rpm-ostree soon, and that's shaking out some remaining issues (for example, the API didn't support overriding kernel arguments correctly). Another notable bugfix is for separate /var partition, which we regressed in 2018.6 as part of working on Ignition integration. PR: #1668 Thanks again to all contributors! ``` Alex Kiernan (2 PRs, 2 commits) boot: Use emergency.target, not emergency.service (#1665) switchroot: Move late /run/ostree-booted creation to ostree-system-generator (#1675) Alex Kiernan (2 PRs, 2 commits) build: Use ostree_prepare_root_CPPFLAGS for ostree-prepare-root (#1670) switchroot: Fix typo in comment ENINVAL => EINVAL (#1676) Colin Walters (9 PRs, 9 commits) sysroot: Reject attempts to pin the staged deployment (#1660) ci/flatpak: Fix to use built ostree version (#1662) deploy: Retain staged by default (#1672) deploy: Fix overriding kernel args for staged deployments (#1677) build-sys: Link with gpg-error directly (#1679) Update libglnx (#1680) ci: Mark insttests as not required (#1686) PR: #1652 ci: Workaround getfedora.org/atomic_qcow2_latest being 404 (and 1 commit from other author) PR: #1668 tests/installed: Add var-mount.yml destructive test (and 2 commits from other authors) Emmanuele Bassi (1 PR, 1 commit) Add a check for gpg-error via pkg-config (#1682) Javier Martinez Canillas (2 PRs, 2 commits) ostree-grub-generator: sort BLS files by version instead of alphabetically (#1653) deploy: Change BootLoaderSpec filenames so they can be used for sorting (#1654) Jonathan Lebon (2 PRs, 3 commits) PR: #1652 tests/installed: Wait a bit more for http.server (and 1 commit from other author) PR: #1668 tests/installed: Add NOTE when re-using RPMs switchroot: Fix regression for separately mounted /var (and 1 commit from other author) Marcus Folkesson (2 PRs, 2 commits) ci: exclude 'lib' from libsoup configure option (#1661) build: add ostree-soup-* to build process when configured with avahi (#1666) Matthew Leeds (2 PRs, 2 commits) man/ostree.repo-config: Document collection-id (#1646) create-usb: Tweak docs for --destination-repo (#1656) Philip Withnall (1 PR, 1 commit) lib/repo-commit: Abort a transaction if preparing it fails (#1647) Robert Fairley (2 PRs, 3 commits) tests: Run network retries test for many retries directly (#1673) PR: #1669 ostree/pull: Add network-retries command line option tests: Move assert_fail function to tests/libtest.sh Simon McVittie (2 PRs, 2 commits) avahi: Fail immediately if we can't talk to D-Bus or Avahi (#1639) OstreeRepoFinderConfig: Fix guint/gsize confusion (#1641) Umang Jain (6 PRs, 9 commits) lib/repo: Minor fixes around min-free-space (#1663) Release 2018.7 (#1683) lib/repo: Allow min-free-space-size and -percent to co-exist (#1685) PR: #1602 lib/repo: Cleanup current boot's staging dir min-free-space-* checks are hit lib/repo: cleanup_tmpdir should be executed after releasing lock file PR: #1614 tests: Add tests for space checks during deltas codepath lib/repo: Enforce min-free-space-* size check for regfiles in deltas PR: #1671 lib/repo-commit: Factor out min-free-space-size error reporting repo: Reword min-free-space-size option's error strings William Manley (4 PRs, 7 commits) ostree repo commit: Speed up composing trees with `--tree=ref` (#1643) tests: Save corefiles back to tests/ directory if one exists (#1657) PR: #1645 OstreeMutableTree: Document ostree_mutable_tree_ensure_dir OstreeMutableTree: Document each private member of `OstreeMutableTree` Add test for composing trees in different ways PR: #1655 OstreeMutableTree: Invalidate parent contents checksum when metadata changes OstreeMutableTree: Refactor: Add `parent` pointer ``` Git-EVTag-v0-SHA512: 7cad253f86ec64fa624e40e06dbaf136a8791e0765f3b34d552dfebe568bd1fc2502f6cf1a34f15f6d0447f18f163f1754b7bb4cecc1f371e42779d41f29c9c1