Felix Krull
8636b7173d
gir: update to OSTree 2020.2 gir
2022-05-06 12:53:55 -04:00
Felix Krull
f0d617228f
ci: disable clippy warnings for the moment
...
I can't get it not to check sys/build.rs.
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
a4cee3c94d
Revert "ci: ignore changes in versions.txt lines"
...
This reverts commit 5fb6d791
2022-05-06 12:53:55 -04:00
Felix Krull
8576adff1d
ci: ignore changes in versions.txt lines
...
Apparently these now change with each commit.
2022-05-06 12:53:55 -04:00
Felix Krull
31c80cb22b
Bump versions
2022-05-06 12:53:55 -04:00
Felix Krull
3290d5c2d1
Rewrite handwritten futures functions
2022-05-06 12:53:55 -04:00
Felix Krull
3e70feb75f
Start taking out futures feature
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
28407036b1
Bump versions
2022-05-06 12:53:55 -04:00
Felix Krull
3f438a9c3f
Add 2019.6 feature
2022-05-06 12:53:55 -04:00
Felix Krull
5bfc5d12d0
Regenerate files
2022-05-06 12:53:55 -04:00
Felix Krull
5ecc8a0e4f
gir: update OSTree-1.0.gir
2022-05-06 12:53:55 -04:00
Felix Krull
59f9b69989
Bump versions
2022-05-06 12:53:55 -04:00
Felix Krull
f0ef98a71a
Add some ignored types
2022-05-06 12:53:55 -04:00
Felix Krull
bf27ba5dc0
Fix lint in tests
2022-05-06 12:53:55 -04:00
Felix Krull
d2e384a39f
Update gir file
2022-05-06 12:53:55 -04:00
Felix Krull
f5c255b4b4
Update bundled glib gir files
2022-05-06 12:53:55 -04:00
Felix Krull
366e9b729f
Add feature alias for the latest OSTree version
2022-05-06 12:53:55 -04:00
Felix Krull
14b511d32b
ci: fix setup, again
2022-05-06 12:53:55 -04:00
Felix Krull
53f9c1a3aa
ci: install sccache during docs build
2022-05-06 12:53:55 -04:00
Felix Krull
2014336b03
ci: install make
2022-05-06 12:53:55 -04:00
Felix Krull
ad6e0569be
ci: don't reformat -sys
2022-05-06 12:53:55 -04:00
Felix Krull
486c60489a
Set up cargo workspace
2022-05-06 12:53:54 -04:00
Felix Krull
75ab3f50cd
Fix clippy issue
2022-05-06 12:53:54 -04:00
Felix Krull
4bdb7b8760
ci: switch to Fedora Rawhide
2022-05-06 12:53:54 -04:00
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
Felix Krull
40a7eecbf6
Fix docs publish
2022-05-06 12:53:54 -04:00
Felix Krull
ebbf285f28
Build docs more smartly
2022-05-06 12:53:54 -04:00
Felix Krull
15c8e6376d
Add html_root_url
2022-05-06 12:53:54 -04:00
Felix Krull
b24197c251
Don't fmt and check for now
2022-05-06 12:53:54 -04:00
Felix Krull
a3bcc237f5
Fix gitlab-ci
2022-05-06 12:53:54 -04:00
Felix Krull
2c7761047a
Add fmt check, check, clippy
2022-05-06 12:53:54 -04:00
Felix Krull
f1a7507ee4
Also cache docs
2022-05-06 12:53:54 -04:00
Felix Krull
b218a5b6c5
Try caching
2022-05-06 12:53:54 -04:00
Felix Krull
0d33525815
Suppress unused import warnings in generated code
2022-05-06 12:53:54 -04:00
Felix Krull
c7f158ad94
Disable CollectionRef tests on too-old features
2022-05-06 12:53:54 -04:00
Felix Krull
f5375f36b6
Don't separately build ostree-sys with nightly
2022-05-06 12:53:53 -04:00
Felix Krull
f5b4d7edcd
Add other interesting pipeline stages
2022-05-06 12:53:53 -04:00
Felix Krull
0e23ed73e6
Don't allow nightly runs to fail
2022-05-06 12:53:53 -04:00
Felix Krull
c89270969c
Refactor tests and add test for traverse_commit
2022-05-06 12:53:53 -04:00
Felix Krull
ff3e268a3b
Add some more unsorted types
2022-05-06 12:53:53 -04:00
Felix Krull
ab3e2c908e
Switch ObjectName to GString
2022-05-06 12:53:53 -04:00
Felix Krull
475cd53c43
Add docs for methods that were moved to RepoExtManual
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
60960612a3
Reorganise test code
...
This way I don't need to differentiate between tests for generated code
and tests for hand-written code.
2022-05-06 12:53:53 -04:00
Felix Krull
bf488d2266
Build with older libostree version for now
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
df2d708f30
Add missing version features
2022-05-06 12:53:53 -04:00
Felix Krull
bc0a8a04d3
sys: regenerate with new gir
2022-05-06 12:53:53 -04:00
Felix Krull
0f0ccb898d
Update gir version
2022-05-06 12:53:53 -04:00
Felix Krull
c41cc620bb
Add version features
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
82b61d0bae
Add more types
2022-05-06 12:53:53 -04:00
Felix Krull
31eccf004e
Pin rustdoc-stripper version
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
26b5729c53
Add some tests for Repo
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
04bd81be0f
Sanity test for ObjectName
2022-05-06 12:53:53 -04:00
Felix Krull
c3f120e8b6
Add some sanity tests for CollectionRef
2022-05-06 12:53:53 -04:00
Felix Krull
8561eaaa8c
Fix return type for CollectionRef::new
...
gir doesn't seem to generate this correctly. I have no clue why, there
are certainly some functions where nullable=1 causes an Option return.
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
13c61a9329
Fix features in Repo
2022-05-06 12:53:53 -04:00
Felix Krull
8afba7f5ab
Add explanatory comments to ostree-sys.toml
2022-05-06 12:53:53 -04:00
Felix Krull
7871c600e0
Test sys with v2018_9 until I can get 2019.2 for CI
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
91df5067a5
Update base gir files
2022-05-06 12:53:53 -04:00
Felix Krull
c6b0ebaf6e
Add note about crate rename
2022-05-06 12:53:53 -04:00
Felix Krull
999d239c59
Rename libostree to ostree
2022-05-06 12:53:53 -04:00
Felix Krull
77697b10f7
Rename libostree to ostree
2022-05-06 12:53:53 -04:00
Felix Krull
f4cf9d3377
Rename libostree-sys to ostree-sys
2022-05-06 12:53:53 -04:00
Felix Krull
e62ca73e82
Remove unnecessary gir/* aliases
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
Felix Krull
16709027e1
Pin gir version
2022-05-06 12:53:53 -04:00
Felix Krull
5028561b18
Repo rename
2022-05-06 12:53:53 -04:00
Felix Krull
e817635e8b
sys: regenerate
...
This removes my build trick to allow docs builds without the library
available, but since we're not targetting docs.rs for now, that's fine.
2022-05-06 12:53:53 -04:00
Felix Krull
6b082eb2c4
Test with all features
2022-05-06 12:53:53 -04:00
Felix Krull
7d9c44ec4a
Remove some methods that are not generated correctly
2022-05-06 12:53:53 -04:00
Felix Krull
20dca2630c
Move libostree-sys/ to sys/
2022-05-06 12:53:53 -04:00
Felix Krull
7c29936b84
Reorganise gitlab-ci.yml a bit
2022-05-06 12:53:53 -04:00
Felix Krull
98fbf253a7
Get rid of pre-package workaround
2022-05-06 12:53:53 -04:00
Felix Krull
5924702595
Update gitlab-ci.yml
2022-05-06 12:53:53 -04:00
Felix Krull
382aa27f44
Exclude unnecessary files correctly
2022-05-06 12:53:53 -04:00
Felix Krull
260c273286
Move installed tools into target/tools
2022-05-06 12:53:53 -04:00
Felix Krull
ced47cbb26
Move main crate into repo root
2022-05-06 12:53:53 -04:00
Felix Krull
a16ea65e0f
Add features
2022-05-06 12:53:53 -04:00
Felix Krull
a5f2ae9a59
Add CMake to build gir
2022-05-06 12:53:53 -04:00
Felix Krull
bc2d9621e2
Update readme
2022-05-06 12:53:53 -04:00
Felix Krull
30517deaea
Remove lgpl-docs feature
2022-05-06 12:53:53 -04:00
Felix Krull
2b76bf8330
Add back API docs merge to Makefile
...
I guess we can't do it as part of the crate, so we do it separately.
2022-05-06 12:53:53 -04:00
Felix Krull
587c6d4778
--allow-dirty to deal with the extra files we copy in
...
It's not super pretty, but it should work ok.
2022-05-06 12:53:53 -04:00
Felix Krull
a404058eaf
Fix -sys pre-package
2022-05-06 12:53:53 -04:00
Felix Krull
3c93c84991
Add badge-with-link to docs
2022-05-06 12:53:53 -04:00
Felix Krull
84b8a35791
Update readme a lot
2022-05-06 12:53:53 -04:00
Felix Krull
67c318164b
Add LICENSE to packages
2022-05-06 12:53:53 -04:00
Felix Krull
128a31f601
Bump versions
2022-05-06 12:53:53 -04:00
Felix Krull
233776a39d
Add Gitlab badge
2022-05-06 12:53:53 -04:00
Felix Krull
b69a39fab8
Update docs back to self-hosted
2022-05-06 12:53:53 -04:00
Felix Krull
d8ce189e91
Move readme to repo root and copy it to the code prior to packaging
2022-05-06 12:53:53 -04:00
Felix Krull
3bc590d151
Add a symlink to the package readme in the repo root
2022-05-06 12:53:53 -04:00
Felix Krull
797728f88d
Keep only one license file in the repo root
2022-05-06 12:53:53 -04:00
Felix Krull
b6813b0d91
Fix docs build hopefully
2022-05-06 12:53:53 -04:00
Felix Krull
cc95bfafda
Always build docs
2022-05-06 12:53:53 -04:00
Felix Krull
8bf24cf34b
Build API docs with LGPL parts
2022-05-06 12:53:53 -04:00
Felix Krull
82cbd02fea
Remove docs targets
...
The docs integration is now handled in build.rs if the lgpl-docs feature
is enabled.
2022-05-06 12:53:53 -04:00
Felix Krull
6d756149a3
libostree: include API docs at build time using a feature flag
2022-05-06 12:53:53 -04:00
Felix Krull
39c820a549
libostree-sys: remove license file
2022-05-06 12:53:53 -04:00
Felix Krull
9cca19eeb2
Add libostree release task
2022-05-06 12:53:53 -04:00
Felix Krull
87db0d1a6a
Bump -sys version
2022-05-06 12:53:53 -04:00
Felix Krull
19592ec687
Strip the libostree docs
...
See previous: it's a license complication.
2022-05-06 12:53:53 -04:00
Felix Krull
ee897f09c5
Disable libostree docs
...
The API docs are LGPL2 which, if we're being strict, would make the
entire result LGPL2 if the docs are included in the binary; I assume, at
least gtk-rs makes a point to not include the docs in the main build. It
should be possible to make a build script and associated feature that
includes the API docs just for the docs build.
2022-05-06 12:53:53 -04:00
Felix Krull
dfab03486b
libostree: add metadata, readme, and license file
2022-05-06 12:53:53 -04:00
Felix Krull
eee83b38b4
libostree-sys: switch to docs.rs and add license file
2022-05-06 12:53:53 -04:00
Felix Krull
423caf33d2
Try setting up docs.rs capable build
2022-05-06 12:53:53 -04:00
Felix Krull
250a2e8a4f
Bump -sys version
2022-05-06 12:53:53 -04:00
Felix Krull
25ac189bf3
Remove release builds
...
I'm not sure they were being useful, but they sure take a long time.
2022-05-06 12:53:53 -04:00
Felix Krull
38c477b5ec
Only publish for master & set docs urls
2022-05-06 12:53:53 -04:00
Felix Krull
0cc98e700b
Always build docs
2022-05-06 12:53:53 -04:00
Felix Krull
93d3a55a1c
Add docs build
2022-05-06 12:53:53 -04:00
Felix Krull
1d571d7910
Fix Gitlab URL & remove readme
...
It's unnecessary.
2022-05-06 12:53:53 -04:00
Felix Krull
9d51535f1a
Fix libostree-sys publish step
2022-05-06 12:53:53 -04:00
Felix Krull
58c4842d10
Add libostree-sys publish step
2022-05-06 12:53:53 -04:00
Felix Krull
4c6d1dce4d
Add some metadata to libostree-sys
2022-05-06 12:53:53 -04:00
Felix Krull
269b63d8a0
Remove package stage for now
2022-05-06 12:53:53 -04:00
Felix Krull
fea0a7d807
Do release build and simply job names
2022-05-06 12:53:53 -04:00
Felix Krull
527e1b4b4d
Install libostree for everything, actually
2022-05-06 12:53:53 -04:00
Felix Krull
3259d4ad77
Also install libostree-dev for libostree builds
2022-05-06 12:53:53 -04:00
Felix Krull
db7431b28b
Use libostree from backports
2022-05-06 12:53:53 -04:00
Felix Krull
79419df6e3
Install libostree in CI
2022-05-06 12:53:53 -04:00
Felix Krull
c1d58f1806
Add CI config
2022-05-06 12:53:53 -04:00
Felix Krull
e9ec6462bc
Add workspace Cargo.toml
2022-05-06 12:53:53 -04:00
Felix Krull
8c5094d6fb
Un-bump versions
2022-05-06 12:53:53 -04:00
Felix Krull
361bf102dc
Exclude generated code from clippy
2022-05-06 12:53:53 -04:00
Felix Krull
80fd5823b0
Explicitly implement PartialEq for ObjectName to satisfy clippy
2022-05-06 12:53:53 -04:00
Felix Krull
88b4a12c32
Run cargo fmt on the custom code
2022-05-06 12:53:53 -04:00
Felix Krull
fdac646f7e
Add include to make libostree-sys tests work
2022-05-06 12:53:53 -04:00
Felix Krull
58532178bf
Regenerate libostree-sys
2022-05-06 12:53:53 -04:00
Felix Krull
38a886ffc6
Ignore internal structs in libostree-sys
2022-05-06 12:53:53 -04:00
Felix Krull
42423b96e5
Generate docs for RepoExtManual
2022-05-06 12:53:53 -04:00
Felix Krull
a32f209285
Copy autodocs to hand-implemented methods in RepoExtManual
2022-05-06 12:53:53 -04:00
Felix Krull
f8c4c83c9c
Add docs to generated files
2022-05-06 12:53:53 -04:00
Felix Krull
4dda00c741
repo: newlines
2022-05-06 12:53:53 -04:00
Felix Krull
f77fc78ecf
Regenerate libostree
2022-05-06 12:53:53 -04:00
Felix Krull
868973325a
Regenerate libostree-sys
2022-05-06 12:53:53 -04:00
Felix Krull
9394222cc1
Add Makefile
2022-05-06 12:53:53 -04:00
Felix Krull
6d25a0374a
Remove sample
2022-05-06 12:53:53 -04:00
Felix Krull
7a08fe0940
Add simple repo roundtrip test
2022-05-06 12:53:53 -04:00
Felix Krull
dff1cf631b
repo: implement list_refs and list_refs_ext
2022-05-06 12:53:53 -04:00