... | ... | @@ -448,22 +448,42 @@ To destroy a repository: |
|
|
for example, this is how the `user/nickm/githax` repository was
|
|
|
disabled and scheduled for destruction:
|
|
|
|
|
|
anarcat@angela:tsa-misc$ fab -H cupani.torproject.org gitolite.destroy-repo --issue-url='https://gitlab.torproject.org/tpo/tpa/team/-/issues/41189' user/nickm/githax
|
|
|
INFO: preparing destroying of Gitolite repository user/nickm/githax in /srv/git.torproject.org/repositories/user/nickm/githax.git
|
|
|
INFO: uploading 468 bytes to /srv/git.torproject.org/repositories/user/nickm/githax.git/hooks/pre-receive
|
|
|
INFO: making /srv/git.torproject.org/repositories/user/nickm/githax.git/hooks/pre-receive executable
|
|
|
INFO: scheduling destruction of /srv/git.torproject.org/repositories/user/nickm/githax.git in 30 days on cupani.torproject.org
|
|
|
INFO: scheduling rm -rf "/srv/git.torproject.org/repositories/user/nickm/githax.git" to run on cupani.torproject.org in 30 days
|
|
|
anarcat@angela:fabric-tasks$ fab -H cupani.torproject.org gitolite.destro
|
|
|
y-repo --issue-url=https://gitlab.torproject.org/tpo/tpa/team/-/issues/41219 admin/tor-virt.git
|
|
|
INFO: preparing destroying of Gitolite repository admin/tor-virt in /srv/git.torproject.org/repositories/admin/tor-virt.git
|
|
|
INFO: uploading 468 bytes to /srv/git.torproject.org/repositories/admin/tor-virt.git/hooks/pre-receive
|
|
|
INFO: making /srv/git.torproject.org/repositories/admin/tor-virt.git/hooks/pre-receive executable
|
|
|
INFO: scheduling destruction of /srv/git.torproject.org/repositories/admin/tor-virt.git in 30 days on cupani.torproject.org
|
|
|
INFO: scheduling rm -rf "/srv/git.torproject.org/repositories/admin/tor-virt.git" to run on cupani.torproject.org in 30 days
|
|
|
warning: commands will be executed using /bin/sh
|
|
|
job 2 at Sat Jul 8 14:57:00 2023
|
|
|
INFO: scheduling destruction of /srv/gitweb.torproject.org/repositories/user/nickm/githax.git in 30 days on vineale.torproject.org
|
|
|
INFO: scheduling rm -rf "/srv/gitweb.torproject.org/repositories/user/nickm/githax.git" to run on cupani.torproject.org in 30 days
|
|
|
job 20 at Fri Apr 19 19:01:00 2024
|
|
|
INFO: scheduling destruction of /srv/gitweb.torproject.org/repositories/admin/tor-virt.git in 30 days on vineale.torproject.org
|
|
|
INFO: scheduling rm -rf "/srv/gitweb.torproject.org/repositories/admin/tor-virt.git" to run on cupani.torproject.org in 30 days
|
|
|
warning: commands will be executed using /bin/sh
|
|
|
job 3 at Sat Jul 8 14:57:00 2023
|
|
|
INFO: now modify gitolite.conf to add "config gitweb.category = Scheduled for destruction"
|
|
|
|
|
|
4. as noted in the last line, change the `gitolite.conf` file to move
|
|
|
the project to the `Scheduled for destruction` category
|
|
|
job 21 at Fri Apr 19 19:01:00 2024
|
|
|
INFO: modifying gitolite.conf to add "config gitweb.category = Scheduled for destruction"
|
|
|
INFO: rewriting gitolite config /home/anarcat/src/tor/gitolite-admin/conf/gitolite.conf to change project admin/tor-virt to category Scheduled for destruction
|
|
|
diff --git i/conf/gitolite.conf w/conf/gitolite.conf
|
|
|
index dd3a79e..822be3e 100644
|
|
|
--- i/conf/gitolite.conf
|
|
|
+++ w/conf/gitolite.conf
|
|
|
@@ -1420,7 +1420,7 @@ repo admin/tor-virt
|
|
|
#RW = @torproject-admin
|
|
|
config hooks.irc-enabled = true
|
|
|
config hooks.ircproject = tor-admin
|
|
|
- config gitweb.category = Attic
|
|
|
+ config gitweb.category = Scheduled for destruction
|
|
|
admin/tor-virt "The Tor Project" = "torproject's libvirt configuration"
|
|
|
|
|
|
repo admin/buildbot-conf
|
|
|
commit and push above changes in /home/anarcat/src/tor/gitolite-admin? [control-c abort, enter to continue]
|
|
|
INFO: committing conf/gitolite.conf
|
|
|
[master bd49f71] Repository admin/tor-virt scheduled for destruction
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
INFO: pushing in /home/anarcat/src/tor/gitolite-admin
|
|
|
[...]
|
|
|
|
|
|
The very long gitolite output has been stripped above.
|
|
|
|
|
|
[homograph attacks]: https://en.wikipedia.org/wiki/IDN_homograph_attack
|
|
|
|
... | ... | |