Commit Graph

269 Commits

Author SHA1 Message Date
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
Felix Krull
ae9413343d Add RepoListRefsExtFlags 2022-05-06 12:53:53 -04:00
Felix Krull
fa2b155f7d object_name: extend ObjectName 2022-05-06 12:53:53 -04:00
Felix Krull
4364598449 repo: remove now-incorrect comment 2022-05-06 12:53:53 -04:00
Felix Krull
f26e0013a5 repo: change custom new method to std::path::Path-alike 2022-05-06 12:53:53 -04:00
Felix Krull
fa615fb1bb Add ObjectName wrapper to solve hashing issues 2022-05-06 12:53:53 -04:00
Felix Krull
ad11119563 sample: try to extract a file from the repo 2022-05-06 12:53:53 -04:00
Felix Krull
1cfca1582f Ignore Cargo.lock in libs 2022-05-06 12:53:53 -04:00
Felix Krull
116f0dea86 Try implementing traverse_commit by hand 2022-05-06 12:53:53 -04:00
Felix Krull
5e8753b369 Generate functions and constants 2022-05-06 12:53:53 -04:00
Felix Krull
306046f572 Integrate docs into source
TODO properly document those steps
2022-05-06 12:53:53 -04:00
Felix Krull
19fef71592 Add as much of Repo as easily possible 2022-05-06 12:53:53 -04:00
Felix Krull
62f8310dea Add additional 'new' method to Repo 2022-05-06 12:53:53 -04:00
Felix Krull
449899b16f Add a test/sample program 2022-05-06 12:53:52 -04:00
Felix Krull
1ea604a531 Add a prelude module for star imports 2022-05-06 12:53:52 -04:00
Felix Krull
4c51e595f0 Add some basic types and regenerate 2022-05-06 12:53:52 -04:00
Felix Krull
45eab127a6 Generate 2022-05-06 12:53:52 -04:00
Felix Krull
8950188bce Add build files for libostree 2022-05-06 12:53:52 -04:00
Felix Krull
0c45c2ec82 Start describing libostree 2022-05-06 12:53:52 -04:00
Felix Krull
5c2d700d51 Add manual definition for stat 2022-05-06 12:53:52 -04:00
Felix Krull
c47eb77001 Update names and dependencies 2022-05-06 12:53:52 -04:00
Felix Krull
7e2c82b1b1 Add external libraries and regenerate 2022-05-06 12:53:52 -04:00
Felix Krull
03abeebb89 Add initial gir output 2022-05-06 12:53:52 -04:00
Felix Krull
804b1107b5 Add config file and gir files
Not sure if I want to keep the gir files in the repo
2022-05-06 12:53:52 -04:00