Commit Graph

44 Commits

Author SHA1 Message Date
Colin Walters 09ef16fdbf Release 0.13
Just an update to support libostree v2021.4, but bumping semver
because a few APIs (correctly) gained `Option<T>`.
2022-05-06 12:53:57 -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
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 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 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 e18919e0ef src: manually implement SysrootDeployTreeOpts 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 5ae1a4005c conf: ignore some more special-cased functions 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 f3b0bbe64c src: add support for write_deployments_with_options 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 be67b37336 gir: start fixing OSTree.Sign
I don't think the SignDummy and SignEd25519 types even need to be
visible. The explicit dummy_* and ed25519_* don't need to be visible
either, I suspect.
2022-05-06 12:53:56 -04:00
Felix Krull aee92d14a8 Update to OSTree 2020.4 2022-05-06 12:53:56 -04:00
Felix Krull c36ee94f9b conf: disable RepoFinder methods that don't autogenerate correctly 2022-05-06 12:53:56 -04:00
Felix Krull f0ef98a71a Add some ignored types 2022-05-06 12:53:55 -04:00
Felix Krull 32173d5b81 Add generated KernelArgs (not working yet) 2022-05-06 12:53:54 -04:00
Felix Krull 5980af7b42 Ignore BUILT_FEATURES from main crate 2022-05-06 12:53:54 -04:00
Felix Krull b94af87589 Revert "Enable some functions that seem to work now"
This reverts commit 20a74e0d

Whoops, forgot --all-features
2022-05-06 12:53:54 -04:00
Felix Krull 13556fde44 Enable some functions that seem to work now 2022-05-06 12:53:54 -04:00
Felix Krull 48de859582 conf: remove a problematic function that was fixed in gir 2022-05-06 12:53:54 -04:00
Felix Krull 2c07302097 Update to new glib-rs versions 2022-05-06 12:53:54 -04:00
Felix Krull 6a86340e9f conf: add some more loose types 2022-05-06 12:53:54 -04:00
Felix Krull 7f8f32e4d0 conf: clean up comments a bit 2022-05-06 12:53:54 -04:00
Felix Krull 9e8192fec8 lib: add some glib types to generate more functions 2022-05-06 12:53:54 -04:00
Felix Krull b51b81dfdd lib: generate some additional classes 2022-05-06 12:53:54 -04:00
Felix Krull 19fdf706d5 lib: implement CheckoutOptions::filter (hackishly) 2022-05-06 12:53:54 -04:00
Felix Krull eec4a2287d lib: RepoCheckoutAtOptions 2022-05-06 12:53:54 -04:00
Felix Krull 2892430fa7 Ignore deprecated (and reportedly unsafe) method 2022-05-06 12:53:54 -04:00
Felix Krull 7ac82e5d1b Clean up some comments 2022-05-06 12:53:54 -04:00
Felix Krull 66cf9b288f Move extra Repo methods to plain impl as well 2022-05-06 12:53:54 -04:00
Felix Krull ff3e268a3b Add some more unsorted types 2022-05-06 12:53:53 -04:00
Felix Krull f7963d86ad Fix 2022-05-06 12:53:53 -04:00
Felix Krull 2452dee279 Clarify reasons for async exclude 2022-05-06 12:53:53 -04:00
Felix Krull 3decba546e Switch to generated CollectionRef 2022-05-06 12:53:53 -04:00
Felix Krull 61e205b5c3 Regenerate and update to new gir and glib-rs version 2022-05-06 12:53:53 -04:00
Felix Krull 82b61d0bae Add more types 2022-05-06 12:53:53 -04:00
Felix Krull 7b9bdf143c Add some explanatory comments to gir config 2022-05-06 12:53:53 -04:00
Felix Krull 0bf8f3f52e Fix some issues with RepoFile 2022-05-06 12:53:53 -04:00
Felix Krull cfcc97d5f7 Fix a few more missing methods 2022-05-06 12:53:53 -04:00
Felix Krull 8bfefa2b14 Build CollectionRef manually
That way we can get Eq and Hash.
2022-05-06 12:53:53 -04:00
Felix Krull 91df5067a5 Update base gir files 2022-05-06 12:53:53 -04:00
Felix Krull 999d239c59 Rename libostree to ostree 2022-05-06 12:53:53 -04:00