Skip to content
Snippets Groups Projects
Unverified Commit d2a4d362 authored by Ritesh Raj Sarraf's avatar Ritesh Raj Sarraf
Browse files

Document the process to remove a distribution


This is required when the cleaning up and recovering space.
Usually, the beta, development and preview releases are the common
candidates for removal

Signed-off-by: default avatarRitesh Raj Sarraf <ritesh.sarraf@collabora.com>
parent c7250de9
No related branches found
No related tags found
1 merge request!53Remove old distribution from reprepro database
Pipeline #144512 passed
......@@ -250,6 +250,27 @@ The `apply` sub-command does the actual job.
Package cyrus-sasl2 is NOT IN SYNC in branches: v2020 and v2020-security
Merging branch v2020-security into v2020
## Removing an old distribution
Perform the following steps to remove an old distribtuion. This would usually be the
obsolete *Beta* and *Preview* distribution releases, like: `v2019dev0`, `v2019pre`
* Remove the entry for the distribution from the `reprepro` configuration file.
Example: `/srv/obs/repos/shared/apertis/internal/apertis/conf/distributions`
* Run the following `reprepro` command to apply the changes
```
# sudo -u obsrun reprepro --gnupghome /srv/obs/gnupg/ -Vb /srv/obs/repos/shared/apertis/internal/apertis --delete clearvanished
Deleting vanished identifier 'u|v2019dev0|proprietary|amd64'.
Deleting vanished identifier 'u|v2019dev0|proprietary|arm64'.
Deleting vanished identifier 'u|v2019dev0|proprietary|armhf'.
Deleting vanished identifier 'u|v2019pre|demo|amd64'.
Deleting vanished identifier 'u|v2019pre|demo|armhf'.
Deleting vanished identifier 'u|v2019pre|nothumb|amd64'.
Deleting vanished identifier 'u|v2019pre|nothumb|armhf'.
Deleting vanished identifier 'u|v2019pre|proprietary|amd64'.
Deleting vanished identifier 'u|v2019pre|proprietary|armhf'.
```
# Appendix
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment