Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: actually show the new clis command in README.md #95

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down