Delete repo forks/rsibreak for Neon
Closed, ResolvedPublic

Description

I would like to learn how to do this.
Thanks

Restricted Application added a subscriber: sysadmin. · View Herald TranscriptOct 29 2018, 7:43 PM
bcooksley closed this task as Resolved.Oct 31 2018, 7:01 AM

I've now cleaned up the Neon repositories published at packaging.neon.kde.org.

For the record, this is cleaned up by first logging in to root@code.kde.org, and running the following command to send a list of the current repositories over to the server that hosts packaging.neon.kde.org:

scp ~neon/projects.list root@elder.kde.org:~neon/master-repos.list

Once this is done, you logout of code.kde.org, and login to root@elder.kde.org, then switch to the neon user.

Once running as neon@elder, you run the following commands to determine which repositories to remove:

cat master-repos.list | sort -n > ~/remote-repos
python3 ~/list-debian-repositories.py | sort -n > ~/local-repos
diff -u ~/local-repos ~/remote-repos

Any line marked with a - should be physically removed, by changing to /media/neon/repos/ and running rm -rf on the path where the repository is located.

In this instance I did:

neon@elder:/media/neon/repos$ rm -rf neon-packaging/rkward.git/
neon@elder:/media/neon/repos$ rm -rf forks/rsibreak.git/
neon@elder:/media/neon/repos$ rm -rf backports-xenial/pyqt5.git/
neon@elder:/media/neon/repos$ rm -rf backports-bionic/appstream.git/