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

Re: upstream-repo -> upstreamvcs



On Mon, 21 Jul 2025 21:04:09 +0200, Étienne Mollier wrote:

Please review, test, comment on, improve these branches!
I'd like to merge them (and upload pkg-perl-tools to experimental) in a
couple of days.
I have tested `dpt upstreamvcs` and it looks to do the job just
alright, e.g. on my copy of libzonemaster-ldns-perl:

Thanks for testing!

	$ git branch --all
	* debian/latest
	  pristine-tar
	  upstream
	  remotes/dgit/dgit/sid
	  remotes/origin/debian/latest
	  remotes/origin/pristine-tar
	  remotes/origin/upstream
	  remotes/upstreamvcs/HEAD -> upstreamvcs/master
	  remotes/upstreamvcs/develop
	  remotes/upstreamvcs/master
	          ^^^^^^^^^^^
This looks to be a local-only change requiring no coordination
whatsoever on Salsa:

Ack, this is all just about an additional local Git remote.

I mentionned a weird case on IRC with libmath-matrixreal-perl,
but that was mostly because I seem to have poorly integrated the
upstream branch when wrapping up the package five years ago.
Running dpt upstreamvcs or dpt checkout will spawn an
upstreamvcs branch which did not exist initially:

That's the whole idea of dpt-upstream{-repo,vcs} :)

And this should also happen with `mr up' with our fancy .mrconfig (from meta.git). Did you have a chance to test this as well or can someone else, who uses this tool, test it (with the 'upstreamvcs' branch in meta.git)?

Therefore, I have no objections in seeing the upstreamvcs change
merged in the main branch of pkg-perl-tools.

Great, thanks!

(For updating local clones it should be enough to run `dpt-upstreamvcs' in a
loop over all directories for the renaming.)
I have run the below command from my packages/ directory:
	$ for dir in */; do echo "$dir"; test "$dir" != artifacts/ || continue; cd "$dir"; dpt upstreamvcs; cd ..; sleep 5; done

Nice!

This looks to do the trick.  I added some delay to avoid
hammering github or other forges.

That shouldn't be necessary, as the changes only affect the local repo.


Cheers,
gregor

--
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`-

Attachment: signature.asc
Description: Digital Signature


Reply to: