Commit Graph

51 Commits

Author SHA1 Message Date
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 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 674ad14cce Regenerate 2022-05-06 12:53:56 -04:00
Felix Krull 0e9a16f4c1 Regenerate 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 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 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 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 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
Felix Krull cefbccaee7 gir: fix another out parameter 2022-05-06 12:53:56 -04:00
Felix Krull 24b5148374 gir: fix out parameters not being marked correctly 2022-05-06 12:53:56 -04:00
Felix Krull d900c58148 gir: add missing version tag 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 e76a6b48ff PATCH: versions on ostree_sign_* functions 2022-05-06 12:53:56 -04:00
Felix Krull 65122a5a97 PATCH: version on OSTREE_SIGN_NAME_ED25519 2022-05-06 12:53:56 -04:00
Felix Krull 7c72d297ef PATCH: version on ostree_repo_commit_modifier_set_sepolicy_from_commit 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 2c3c976828 Switch back to upstream gir 2022-05-06 12:53:56 -04:00
Felix Krull 990bbe290a Use forked gir with updated shell-words and cleaned-up build.rs 2022-05-06 12:53:56 -04:00
Felix Krull d7b785c4d3 sys: remove pkg-config dependency 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 05e86a6b42 gir: patch ostree_repo_finder_avahi_new
Should be fixed in the next upstream release

Ref: https://github.com/ostreedev/ostree/pull/2051
2022-05-06 12:53:55 -04:00
Felix Krull 130f0c2839 Update gir version and regenerate 2022-05-06 12:53:55 -04:00
Felix Krull c040aa4736 Regenerate with new gir files 2022-05-06 12:53:55 -04:00
Felix Krull 6ab1e997ee ci: ignore gir differences in version files 2022-05-06 12:53:55 -04:00
Felix Krull 7c56e3c49e Regenerate for OSTree 2020.2 2022-05-06 12:53:55 -04:00
Felix Krull 1d262ca279 Remove repo hash from versions.txt 2022-05-06 12:53:55 -04:00
Felix Krull 241806b757 Update glib + gir and regenerate 2022-05-06 12:53:55 -04:00
Felix Krull 5bfc5d12d0 Regenerate files 2022-05-06 12:53:55 -04:00
Felix Krull d2e384a39f Update gir file 2022-05-06 12:53:55 -04:00
Felix Krull 4cd981d01b Use pointer coercion instead of messing with -sys 2022-05-06 12:53:54 -04:00
Felix Krull bb4e0c5978 Implement Repo::write_metadata 2022-05-06 12:53:54 -04:00
Felix Krull 78a14d15a3 Implement Repo::write_content 2022-05-06 12:53:54 -04:00
Felix Krull d2525da221 Regenerate -sys 2022-05-06 12:53:54 -04:00
Felix Krull 75ce6dfcac Update gir version 2022-05-06 12:53:54 -04:00
Felix Krull 5b6991af9c Bump gir version 2022-05-06 12:53:54 -04:00
Felix Krull 493ba2e2f5 Update gir and regenerate 2022-05-06 12:53:54 -04:00
Felix Krull bc0a8a04d3 sys: regenerate with new gir 2022-05-06 12:53:53 -04:00
Felix Krull 8d19e94d6a sys: regenerate with external version file 2022-05-06 12:53:53 -04:00
Felix Krull 3fa9378a5e Update OSTree gir and regenerate 2022-05-06 12:53:53 -04:00
Felix Krull 57645e91cb Remove version constants to fix build with different libostree versions 2022-05-06 12:53:53 -04:00