Web lists-archives.com

Re: Please remove your obsolete repos from alioth *NOW*




On Wed, May 30, 2018 at 10:41:21PM +0200, Adam Borowski wrote:
> On Wed, May 30, 2018 at 06:30:20PM +0200, Alexander Wirt wrote:
> > There it doesn't make sense to keep anything on alioth which is also on
> > salsa. Everything else gets archived for historical purposes. 
> > Every repo that is on salsa and alioth will just waste ressources on the
> > archive host.
> 
> I admit I haven't been keeping track at all of repositories touched, which
> were:
> * copied by me from alioth to salsa
> * copied by someone else from alioth to salsa, then I pointed the metadata
> * I helped a non-DD create a repository on salsa to move a repo from
>   elsewhere (usually from a random place on alioth)
> 
> Thus, perhaps it could be better to run a script to see if a given repo has
> been copied to salsa.
 
If such script exists, please tell.

However I do think a better way is to check it Alioth "writes" are been disabled.
And if so, remove the repo.

<screenshot>
[ partitial output of `ls -ltr hooks ]
-rwxrwxr-x+ 1 mjj29    Debian  452 sep 17  2011 applypatch-msg.sample
-rwxrwxr-x+ 1 mattia   Debian   48 feb 20  2016 post-receive
-rwxr-xr-x+ 1 stappers Debian   86 mei 18 13:33 pre-receive
stappers@moszumanska:/git/collab-maint/ipmitool.git$ umask
0022
stappers@moszumanska:/git/collab-maint/ipmitool.git$ cat hooks/pre-receive 
#!/bin/sh

echo "Push refused."
echo

cat description

echo
echo "Thank you."

exit 1
stappers@moszumanska:/git/collab-maint/ipmitool.git$ 
stappers@moszumanska:/git/collab-maint/ipmitool.git$ 
stappers@moszumanska:/git/collab-maint/ipmitool.git$ cd ..
stappers@moszumanska:/git/collab-maint$ rm -rf ipmitools
stappers@moszumanska:/git/collab-maint$ 
</screenshot>


Groeten
Geert Stappers
-- 
Leven en laten leven