Colin Walters
83c829eaad
Add new GLib 0.14 variant types for metadata types
...
This way it's more convenient for downstream crates like ostree-rs-ext
to convert loaded variants.
TODO: Can we add a feature for the `gvariant` crate and expose via
that too?
2022-05-06 12:53:57 -04:00
Colin Walters
48e0d334b8
Deny unused results, warn on missing docs (except auto/)
...
And add basic docs for our manually implemented functions.
2022-05-06 12:53:57 -04:00
Luca BRUNO
f3df1175f8
cargo: bump ostree-sys to 0.8.1
2022-05-06 12:53:57 -04:00
Luca BRUNO
b2c6dd61a1
ostree: release 0.12.1
2022-05-06 12:53:56 -04:00
Luca BRUNO
fdfaea1864
cargo: point to docs.rs and clean up
...
This removes stale URLs, pointing to the auto-built docpages at
docs.rs and sorting manifest entries.
2022-05-06 12:53:56 -04:00
Luca BRUNO
20a025a0eb
lib: fix 'dox' feature
...
This makes sure docs can be properly built when using the 'dox'
feature. It should fix auto-builds on docs.rs.
2022-05-06 12:53:56 -04:00
Luca BRUNO
712570b9b7
cargo: fix version in features chain
...
This fixes the definition of the `v2016_4` feature.
It restores the chain of versions so that 2016.3 symbols can be
actually reached from newer features/versions.
2022-05-06 12:53:56 -04:00
Colin Walters
deedffde06
Re-export glib, gio
...
Re-export our dependencies. See https://gtk-rs.org/blog/2021/06/22/new-release.html
"Dependencies are re-exported". Users will need e.g. `gio::File`, so this avoids
them needing to update matching versions.
Closes: https://github.com/ostreedev/ostree-rs/issues/12
2022-05-06 12:53:56 -04:00
Colin Walters
6303229c4e
Add 2021.3 feature
...
(We should add doing this as a SOP for ostree releases)
2022-05-06 12:53:56 -04:00
Colin Walters
04a42dff1e
Bump versions
...
The glib 0.14 change is semver incompatible.
2022-05-06 12:53:56 -04:00
Colin Walters
8a5ac02822
Update to glib 0.14
...
An intimidating spam of compiler errors at the start, but the
biggest was handling the new convention of `ostree_sys::` => `ffi::`.
This will require a semver bump of course.
2022-05-06 12:53:56 -04:00
Colin Walters
f276c040bd
ci: Fix buildroot to use new official image
...
Which is maintained and has updated rust.
2022-05-06 12:53:56 -04:00
Colin Walters
ae189bec80
Mark src/auto/* as generated
2022-05-06 12:53:56 -04:00
Luca BRUNO
78ca01c4e3
repo_transaction_stats: move to a manual implementation
...
This moves `RepoTransactionStats` into a manually implemented
source file in order to provide getters to expose relevant
fields.
2022-05-06 12:53:56 -04:00
Colin Walters
bd843b2eae
Bump sys version requirement
2022-05-06 12:53:56 -04:00
Colin Walters
42110ce01b
Bump versions
2022-05-06 12:53:56 -04:00
Colin Walters
7d15179670
Update to 2021.2
...
Sync to https://github.com/ostreedev/ostree/releases/tag/v2021.2
2022-05-06 12:53:56 -04:00
Colin Walters
9bb0dd3c4d
ci: Add GH action to build
2022-05-06 12:53:56 -04:00
Colin Walters
b5496f70f6
repo: Add concurrency=send
...
Ultimately a repo is just a file descriptor wrapper with some
cached data, etc. We can send it between threads, much like how
`gio::File` is `Send`.
Motivated by trying to write to a repo from a separate thread
in https://github.com/cgwalters/ostree-container
2022-05-06 12:53:56 -04:00
Felix Krull
0718f433a2
Update rustdoc-stripper
2022-05-06 12:53:56 -04:00
Felix Krull
6043e5ffc1
Bump all versions
2022-05-06 12:53:56 -04:00
Felix Krull
674ad14cce
Regenerate
2022-05-06 12:53:56 -04:00
Felix Krull
a96be52f1d
Switch to patched ostree gir
2022-05-06 12:53:56 -04:00
Felix Krull
0e9a16f4c1
Regenerate
2022-05-06 12:53:56 -04:00
Felix Krull
c55459463f
Update OSTree-1.0.gir to 2021.1
2022-05-06 12:53:56 -04:00
Felix Krull
be8dbd701b
Fix ostree gir file update
2022-05-06 12:53:56 -04:00
Felix Krull
0c33d6331d
Update common gir files
2022-05-06 12:53:56 -04:00
Felix Krull
b526f51165
Bump versions
2022-05-06 12:53:56 -04:00
Felix Krull
900973b61f
Remove outdated sentence in readme
2022-05-06 12:53:56 -04:00
Felix Krull
2caf0264c7
src: fix tests
2022-05-06 12:53:56 -04:00
Felix Krull
e18919e0ef
src: manually implement SysrootDeployTreeOpts
2022-05-06 12:53:56 -04:00
Felix Krull
7576363329
ci: fix rawhide stages?
2022-05-06 12:53:56 -04:00
Felix Krull
d345ea0110
Switch to patched ostree gir
2022-05-06 12:53:56 -04:00
Felix Krull
75848b26ef
Regenerate based on new gir
2022-05-06 12:53:56 -04:00
Felix Krull
4cbbbf2daa
gir: update OSTree gir
2022-05-06 12:53:56 -04:00
Felix Krull
e686a0bed6
gir: update misc gir files
2022-05-06 12:53:56 -04:00
Felix Krull
fe03ad1fee
Update gir file to 2020.6
2022-05-06 12:53:56 -04:00
Felix Krull
1ab87e6b97
conf: anchor function name patterns to avoid unexpected exclusions
2022-05-06 12:53:56 -04:00
Felix Krull
8ef294b627
Bump versions
2022-05-06 12:53:56 -04:00
Felix Krull
5ae1a4005c
conf: ignore some more special-cased functions
2022-05-06 12:53:56 -04:00
Felix Krull
86897a520c
src: add Checksum::from_bytes
2022-05-06 12:53:56 -04:00
Felix Krull
6f05869713
conf: annotate ignores better
2022-05-06 12:53:56 -04:00
Felix Krull
19076fe6d8
src: reimplement checksum hex and base64 en/decoding
...
This allows us to provide actually useful error handling
2022-05-06 12:53:56 -04:00
Felix Krull
f3b0bbe64c
src: add support for write_deployments_with_options
2022-05-06 12:53:56 -04:00
Felix Krull
f45bfa2c5a
Makefile: only depend on gir bin in gir-report
2022-05-06 12:53:56 -04:00
Felix Krull
4e7abb3101
conf: remove some unfixable TODOs
2022-05-06 12:53:56 -04:00
Felix Krull
5b1bc50418
src: add CommitSizesEntry
2022-05-06 12:53:56 -04:00
Felix Krull
3d8d5ce53e
Disable some irrelevant functions
2022-05-06 12:53:56 -04:00
Felix Krull
e49ee07373
Update to OSTree 2020.5
2022-05-06 12:53:56 -04:00
Felix Krull
26f4170b01
conf: disable internal Sign subtypes
2022-05-06 12:53:56 -04:00