[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Moving packages removed in the archive to /attic?



On Wed, Mar 10, 2021 at 05:03:31PM +0200, Andrius Merkys wrote:
> Hi,
> 
> On 2021-03-10 16:48, Robbi Nespu wrote:
> > On 3/10/21 10:14 PM, Nilesh Patra wrote:
> >> There are some packages that have been removed from the archive, but
> >> their repositories still reside on the med-team salsa namespace.
> >>
> >> It might be helpful to preserve such repositories in case someone
> >> in future might want to re-introduce them, but at the same time probably
> >> keeping it at s.d.o/med-team/<pkg> isn't the best thing to do.
> >>
> >> I propose moving it to a subspace on the salsa med team namespace,
> >> something like: https://salsa.debian.org/med-team/attic
> >>
> > It remind me a lot to CVS and I don't like it personally but I think
> > this is best way to separate deprecated and active package like you suggest
> > 
> >> As an example, the ruby-team does something similar:
> >> https://salsa.debian.org/ruby-team/attic
> >>
> >> Thoughts?
> 
> I agree that removed packages could be moved elsewhere from the main
> namespace, and I agree with Nilesh's proposed method.
> 
> A pair of tiny advantages of leaving the removed packages as they are:
> 
> 1. When someone inadvertently tries to package stuff which is already
> removed. In this case they would stumble upon the repo (already happened
> to me). But of course people are supposed to check before packaging new
> things. Running 'salsa search' will find packages both in s.d.o/med-team
> and s.d.o/med-team/attic, or not?

I tried on a couple of repositories on both js-team and ruby-team
As examples:

$ salsa search ruby-albino 2>/dev/null
Id       : 1708
Name     : ruby-albino
Full path: ruby-team/attic/ruby-albino
Group id : 7380
Group    : Attic

$ salsa search node-yawl 2>/dev/null
Id       : 22817
Name     : node-yawl
Full path: js-team/attic/node-yawl
Group id : 5327
Group    : attic

So probably the answer to your question is a "yes"

> 2. Vcs-* URLs in debian/control will break after moving repositories.
> Not sure if these URLs are of any use for removed packages, though.

It doesn't matter too much, IMHO. At any point in time if someone would
bring those packages back to archive, they'd have to use
s.d.o/med-team/pkg anyway.
Plus they aren't in the archive either. URLs breaking is of more
relevance only when they are in the archive

> > On Fedora, they replace all file on master (rawhide) branch with "dead
> > file" but the previous source code are still available on previous
> > branch (fedora released version). For example[1].
> > 
> > Moving https://salsa.debian.org/med-team/pkg to
> > https://salsa.debian.org/med-team/attic/pkg will keep something such as
> > issue tracking, PR, wiki too? If possible to keep everything, it would
> > be better too.
> 
> I believe moving whole repositories preserves all related stuff.

+1

Nilesh


Reply to: