Update docs
This commit is contained in:
parent
cd36d8b7e4
commit
1010581c48
|
|
@ -1,5 +1,4 @@
|
||||||
ARG FEDORA_VER
|
FROM fedora:latest
|
||||||
FROM fedora:${FEDORA_VER}
|
|
||||||
|
|
||||||
RUN dnf install -y curl gcc make tar xz 'dnf-command(builddep)'
|
RUN dnf install -y curl gcc make tar xz 'dnf-command(builddep)'
|
||||||
RUN dnf builddep -y ostree
|
RUN dnf builddep -y ostree
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
GIR_REPO := https://github.com/gtk-rs/gir.git
|
GIR_REPO := https://github.com/gtk-rs/gir.git
|
||||||
GIR_VERSION := 2d1ffab19eb5f9a2f0d7a294dbf07517dab4d989
|
GIR_VERSION := 2d1ffab19eb5f9a2f0d7a294dbf07517dab4d989
|
||||||
RUSTDOC_STRIPPER_VERSION := 0.1.13
|
RUSTDOC_STRIPPER_VERSION := 0.1.13
|
||||||
|
OSTREE_VER := 2020.4
|
||||||
|
|
||||||
all: gir
|
all: gir
|
||||||
|
|
||||||
|
|
@ -48,8 +49,7 @@ gir-files:
|
||||||
|
|
||||||
gir-files/OSTree-1.0.gir:
|
gir-files/OSTree-1.0.gir:
|
||||||
podman build \
|
podman build \
|
||||||
--build-arg FEDORA_VER=32 \
|
--build-arg OSTREE_VER=$(OSTREE_VER) \
|
||||||
--build-arg OSTREE_VER=2020.4 \
|
|
||||||
-t ostree-build \
|
-t ostree-build \
|
||||||
.
|
.
|
||||||
podman run \
|
podman run \
|
||||||
|
|
|
||||||
|
|
@ -87,9 +87,18 @@ parts).
|
||||||
|
|
||||||
CI includes the LGPL docs in the documentation build.
|
CI includes the LGPL docs in the documentation build.
|
||||||
|
|
||||||
### Updating ostree
|
### Updating glib-rs
|
||||||
* update the bundled `gir/OSTree-1.0.gir` file
|
* update `GIR_VERSION` in `Makefile` to the latest gir commit (matching the target glib-rs version)
|
||||||
* `make gir` to regenerate the generated code
|
* `make gir` to regenerate the generated code
|
||||||
|
* inspect differences in generated code
|
||||||
|
* update glib-rs dependencies in `Cargo.toml` and `sys/Cargo.toml`
|
||||||
|
|
||||||
|
### Updating ostree
|
||||||
|
* update `OSTREE_VERSION` in `Makefile`
|
||||||
|
* `make update-gir-files` to update all gir files
|
||||||
|
* inspect differences in `OSTree-1.0.gir`
|
||||||
|
* `make gir` to regenerate the generated code
|
||||||
|
* add any new feature levels to `Cargo.toml`
|
||||||
* update the example feature level in `README.md` in case of a new feature level
|
* update the example feature level in `README.md` in case of a new feature level
|
||||||
|
|
||||||
### Releases
|
### Releases
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue