From d5b92f5de39edc072998cc29c42643bd19e0edee Mon Sep 17 00:00:00 2001 From: Jean-Louis Fuchs Date: Thu, 14 Mar 2024 12:07:18 +0100 Subject: [PATCH 1/2] doc: actually show the new clis command in README.md --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index dfc26cc..395b8b5 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Automates the creation and managment of aptly mirrors and snapshots based on toml input files. -**Important**: Corrently under heavy development: +**Important**: Currently under heavy development: - For for the old version [switch to the master branch](https://github.com/adfinis/pyaptly/tree/master) - Main branch builds contain [alpha packages](https://github.com/adfinis/pyaptly/actions/runs/8147002919), see Artifacts @@ -13,27 +13,27 @@ input files. Initialize a new aptly server. ```shell -pyaptly -c mirrors.toml mirror create -pyaptly -c mirrors.toml mirror update -pyaptly -c mirrors.toml snapshot create -pyaptly -c mirrors.toml publish create +pyaptly mirror mirrors.toml create +pyaptly mirror mirrors.toml update +pyaptly snapshot mirrors.toml create +pyaptly publish mirrors.toml create ``` Update mirrors and snapshots and switch publish endpoints with ```automatic-update: true``` to the new snapshots. ```shell -pyaptly -c mirrors.toml mirror update -pyaptly -c mirrors.toml snapshot create -pyaptly -c mirrors.toml publish create -pyaptly -c mirrors.toml publish update +pyaptly mirror mirrors.toml update +pyaptly snapshot mirrors.toml create +pyaptly publish mirrors.toml create +pyaptly publish mirrors.toml update ``` Manually trigger a switch to the new snapshots for the publish endpoint ubuntu/stable. ```shell -pyaptly -c mirrors.toml publish update ubuntu/stable +pyaptly publish mirrors.toml update -n ubuntu/stable ``` ## Debugging From fd0a6c46a8c15bef72fd2c635cd0d5c3016d0bdc Mon Sep 17 00:00:00 2001 From: Jean-Louis Fuchs Date: Thu, 14 Mar 2024 13:26:50 +0100 Subject: [PATCH 2/2] build: reenable fedora 39 --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index d37f534..69438b9 100644 --- a/Makefile +++ b/Makefile @@ -90,4 +90,5 @@ build-packages: poetry-install ## build source package, wheel and srpm .PHONY: rebuild-packages rebuild-packages: ## build binary rpms @docker run -v ./:/source rockylinux:9 sh -c "dnf install -y git; git config --global --add safe.directory /source; /source/tools/venv-rpm" + @docker run -v ./:/source fedora:39 /source/tools/rebuild-rpm @docker run -v ./:/source fedora:40 /source/tools/rebuild-rpm