Commit Graph

102 Commits

Author SHA1 Message Date
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