Skip to content

Commit

Permalink
doc: remove README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Louis Fuchs committed Mar 13, 2024
1 parent d755fbc commit af905d7
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 114 deletions.
32 changes: 30 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,37 @@ input files.
- 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

# Debugging
## Example commands

The most interesting mode for users is not `--debug` but `--info` which show all commands executed.
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
```

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
```

Manually trigger a switch to the new snapshots for the publish endpoint
ubuntu/stable.

```shell
pyaptly -c mirrors.toml publish update ubuntu/stable
```

## Debugging

The most interesting mode for users is not `--debug` but `--info` which shows all commands executed.

```bash
# pyaptly legacy -- --info --config pyaptly/tests/repo.toml repo create
Expand Down
112 changes: 0 additions & 112 deletions README.rst

This file was deleted.

0 comments on commit af905d7

Please sign in to comment.