Felix Krull
bdf749b0e6
ci: update sccache
2022-05-06 12:53:54 -04:00
Felix Krull
febbd00c27
ci: run crates.io publish on release tags
2022-05-06 12:53:54 -04:00
Felix Krull
376dc2896c
ci: fix build
...
I guess the failing checksumming tests were due to user IDs or file system
permission problems in CI.
Squashed commit of the following:
commit 6680075f3fc1ce483712b1e2b7124f5b04654393
Author: Felix Krull <f_krull@gmx.de>
Date: Tue Sep 3 00:46:02 2019 +0200
Remove troublesome tests
They seemed to be failing due to different user IDs or file system
permissions. I don't know how to get them stable, so out they go.
commit 6bb28dbf2ed2af093df6120d6095d1aba48fed56
Author: Felix Krull <f_krull@gmx.de>
Date: Tue Sep 3 00:37:15 2019 +0200
Ignore troublesome tests
commit a31a347a18ef4a32cae8ec22532ce938c6000d97
Author: Felix Krull <f_krull@gmx.de>
Date: Tue Sep 3 00:30:17 2019 +0200
Potentially fix checksum tests
commit 8e8bace9ce39d4ef709eb8806502140734eade4c
Author: Felix Krull <f_krull@gmx.de>
Date: Mon Sep 2 23:33:31 2019 +0200
Fix actual/expected (maybe)
commit ab2a1f6f13f8e607dc3824e4ccf51cebc9a17111
Author: Felix Krull <f_krull@gmx.de>
Date: Mon Sep 2 23:23:42 2019 +0200
Fix Checksum::from_{base64,hex}
commit dd462c271ffb54190399dfe50f5797e1956f7bab
Author: Felix Krull <f_krull@gmx.de>
Date: Mon Sep 2 23:08:29 2019 +0200
Fix Checksum::to_base64
2022-05-06 12:53:54 -04:00
Felix Krull
d801cacb5d
Bump crate versions
2022-05-06 12:53:54 -04:00
Felix Krull
f640444986
checksum: implement more traits and functions
2022-05-06 12:53:54 -04:00
Felix Krull
2fdf020645
checksum: implement conversion from string and to base64
2022-05-06 12:53:54 -04:00
Felix Krull
ad26abaa7e
Implement ostree::checksum_file_at
2022-05-06 12:53:54 -04:00
Felix Krull
815b8563d5
Implement ostree::checksum_file_async
...
These might not work, I didn't test them...
2022-05-06 12:53:54 -04:00
Felix Krull
14f2ff43df
Implement ostree::checksum_file_from_input
2022-05-06 12:53:54 -04:00
Felix Krull
7f3bd56d0d
Implement ostree::checksum_file
2022-05-06 12:53:54 -04:00
Felix Krull
4cd981d01b
Use pointer coercion instead of messing with -sys
2022-05-06 12:53:54 -04:00
Felix Krull
d55d1b1d43
Fix file mode
2022-05-06 12:53:54 -04:00
Felix Krull
6bc1a1d995
Add SePolicy::fscreatecon_cleanup
2022-05-06 12:53:54 -04:00
Felix Krull
e424800f05
Implement Repo::write_metadata_async
2022-05-06 12:53:54 -04:00
Felix Krull
8002e06e25
Implement Repo::write_content_async
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
17a9d7c855
Implement Checksum type for binary checksums
2022-05-06 12:53:54 -04:00
Felix Krull
6ef9ab2558
kernel_args: fix feature flags
2022-05-06 12:53:54 -04:00
Felix Krull
3bfb805288
kernel_args: enable and fix argv methods
2022-05-06 12:53:54 -04:00
Felix Krull
12d976d45d
Make kernel_args compile
2022-05-06 12:53:54 -04:00
Felix Krull
32173d5b81
Add generated KernelArgs (not working yet)
2022-05-06 12:53:54 -04:00
Felix Krull
8f223aca1a
ci: bump used version
2022-05-06 12:53:54 -04:00
Felix Krull
e6a1fddc8c
Regenerate main crate
2022-05-06 12:53:54 -04:00
Felix Krull
377b7ae202
Clean up docs.rs sections in Cargo.tomls
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
d2525da221
Regenerate -sys
2022-05-06 12:53:54 -04:00
Felix Krull
0e3b567b19
Disable build features constant
2022-05-06 12:53:54 -04:00
Felix Krull
d51861e80c
Update OSTree-1.0.gir
2022-05-06 12:53:54 -04:00
Felix Krull
3951ac14b8
Update gir files
2022-05-06 12:53:54 -04:00
Felix Krull
f7d769c0c4
ci: fix feature flags
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
160bdaeb5c
Add features for docs.rs build
2022-05-06 12:53:54 -04:00
Felix Krull
75ce6dfcac
Update gir version
2022-05-06 12:53:54 -04:00
Felix Krull
7f61aeb779
ci: use libostree from unstable
2022-05-06 12:53:54 -04:00
Felix Krull
dee0490829
ci: fix
2022-05-06 12:53:54 -04:00
Felix Krull
14577daf7f
ci: I guess we did need CMake
2022-05-06 12:53:54 -04:00
Felix Krull
110b09e1cd
ci: fix features for -sys
2022-05-06 12:53:54 -04:00
Felix Krull
35fde60318
ci: still need before_script for docs
2022-05-06 12:53:54 -04:00
Felix Krull
e4c82f6e8e
ci: clean up image
2022-05-06 12:53:54 -04:00
Felix Krull
39532d4160
ci: remove separate futures build
2022-05-06 12:53:54 -04:00
Felix Krull
3597c3c38b
ci: include futures
in docs
2022-05-06 12:53:54 -04:00
Felix Krull
d7ea8af665
Fix tests on nightly (by avoiding UB, even)
2022-05-06 12:53:54 -04:00
Felix Krull
27ac97df87
ci: fix futures job maybe
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
43c7791890
ci: add job for futures feature
2022-05-06 12:53:54 -04:00
Felix Krull
8d9aa7a857
Enable futures feature
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
5b6991af9c
Bump gir version
2022-05-06 12:53:54 -04:00
Felix Krull
b1a41e90bd
Add notes about releases and tags
2022-05-06 12:53:54 -04:00
Felix Krull
1a301faa59
Bump version
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
b44202fa90
ci: add Makefile target to run gir -m not_bound
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
01ae586f95
lib: brush up some docs
2022-05-06 12:53:54 -04:00
Felix Krull
87b34be855
lib: catch unwinds in RepoCheckoutFilter
2022-05-06 12:53:54 -04:00
Felix Krull
315cd5394e
lib: fix clippy
...
Look, the type is fine. It's only an opaque thing to ensure lifetimes
anyway.
2022-05-06 12:53:54 -04:00
Felix Krull
d74c0fc04f
lib: add docs and safety notes to RepoCheckoutFilter
2022-05-06 12:53:54 -04:00
Felix Krull
e39f8d7461
lib: add repo_checkout_filter function for better ergonomics
2022-05-06 12:53:54 -04:00
Felix Krull
903bd86e52
lib: clean up types for RepoCheckoutFilter
2022-05-06 12:53:54 -04:00
Felix Krull
94b524b21f
lib: split out RepoCheckoutFilter
2022-05-06 12:53:54 -04:00
Felix Krull
6776c819f1
tests: reorganise repo tests so they have fewer feature flags
2022-05-06 12:53:54 -04:00
Felix Krull
eb602d8546
tests: fix imports with default features
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
a521c838f5
ci: run clippy with default features as well
2022-05-06 12:53:54 -04:00
Felix Krull
54be07c6b9
tests: fix checkout_at tests
2022-05-06 12:53:54 -04:00
Felix Krull
4bab406a1a
lib: satisfy clippy
2022-05-06 12:53:54 -04:00
Felix Krull
aef78f3985
lib: handle ino cache and sepolicy options
2022-05-06 12:53:54 -04:00
Felix Krull
eec4a2287d
lib: RepoCheckoutAtOptions
2022-05-06 12:53:54 -04:00
Felix Krull
16718eb155
Revert "Simplify docs build"
...
This reverts commit b259275dc44e071f4662aa6eb977ff8ad9c3e1af
2022-05-06 12:53:54 -04:00
Felix Krull
1c7df84de1
Simplify docs build
2022-05-06 12:53:54 -04:00
Felix Krull
a7079e543f
Consolidate some pipeline stages
2022-05-06 12:53:54 -04:00
Felix Krull
b5fba187ff
Fix clippy issues
2022-05-06 12:53:54 -04:00
Felix Krull
dfcaf3eede
Ignore clippy issues in generated code
2022-05-06 12:53:54 -04:00
Felix Krull
4cfda21ff9
Disallow clippy warnings
...
Let's see if that comes back to bite me
2022-05-06 12:53:54 -04:00
Felix Krull
feca7ddae6
Oh wait, check doesn't actually do anything useful for us...
2022-05-06 12:53:54 -04:00
Felix Krull
8982c1914e
Force clippy to run even after check
2022-05-06 12:53:54 -04:00
Felix Krull
0c07616342
ci: use sccache
2022-05-06 12:53:54 -04:00
Felix Krull
87bf13574f
Update version in README and add some notes on version bumps
2022-05-06 12:53:54 -04:00
Felix Krull
d12b506f86
Bump version
2022-05-06 12:53:54 -04:00
Felix Krull
82ccc6065b
Remove extraneous generated files
2022-05-06 12:53:54 -04:00
Felix Krull
06489f4926
Check that we haven't included extraneous generated files
2022-05-06 12:53:54 -04:00
Felix Krull
3483927f40
Add copies of the various LGPL versions and notes about their relevance
2022-05-06 12:53:54 -04:00
Felix Krull
faef3562b8
collection_ref: add accessors for collection_id and ref_name
2022-05-06 12:53:54 -04:00
Felix Krull
91dc916615
Document ObjectName
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
1e744239cb
Document Repo::new_for_path
2022-05-06 12:53:54 -04:00
Felix Krull
8fc327296e
Improve doc blurb a bit
2022-05-06 12:53:54 -04:00
Felix Krull
1f20721664
We don't need to patch the hand-written Repo symbols any more
2022-05-06 12:53:54 -04:00
Felix Krull
0fe1b0d951
Add ignored test for empty FileInfo crash
2022-05-06 12:53:54 -04:00
Felix Krull
80de2aa2ea
Add test for checkout_tree
2022-05-06 12:53:54 -04:00
Felix Krull
1068d4f619
Adjust CI check flags
2022-05-06 12:53:54 -04:00
Felix Krull
fa1bf6cbb8
Add more checks to the pipeline
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
493ba2e2f5
Update gir and regenerate
2022-05-06 12:53:54 -04:00
Felix Krull
0b85551588
Change gir targets
2022-05-06 12:53:54 -04:00