Hi Chris,

Quoting Chris Hofstaedtler (2024-08-17 10:17:19)
> On Fri, 16 Aug 2024 23:36:31 +0200, gregor herrmann wrote:
> > IMO, and from discussions in the Debian Perl Group, the blocker is
> > the conversion of existing repos, both on salsa (which should be
> > doable via the API as suggested in the sketches mentioned above) and
> > also locally for hundreds of developer machines [git fails horribly
> > on the upstream/ → upstream/latest change].
> 
> I want to echo this pain. When changing the layout it seems almost
> better to start from scratch.

I have in the past found it confusing how to handle it, but now I find
it tolerable (and don't recognize the "better to start from scratch"
judgement), after I figured out (as also hinted at in one of the links
by gregor) that you need to do the following, in that order:

 1. unlock branch "upstream" on salsa
 2. rename branch "upstream" → "upstream/latest" on salsa (or delete it)
 3. rename branch "upstream" → "upstream/latest" locally
 4. push local changes to salsa

(strictly speaking you can do step 3 before 1-2)


> Additionally, in my opinion debian/latest is a mistake we should not
> recommend.

Please elaborate why you consider it a mistake.  That's not obvious to
me.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

Reply via email to