Re: upstream-repo -> upstreamvcs

gregor herrmann <[email protected]> Mon, 21 Jul 2025 23:46:13 +0200
Newsgroups gmane.linux.debian.devel.perl
Message-ID <[email protected]>
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
    `-
signature.asc (application/pgp-signature, 963 B)
-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmh+tShfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgYvSA//WYGcnVEKy1/yO3QaeGEnks6kEFLBwmxz6bPXQqn3rp0qqSEY/P57g4zO
Ij1rks7GUFY8duUC8/Yhjt6+1dLVFDEWhJFMoB+ofHuTX5Z+LiB+fGxiUKaHjdNF
30jp/ijExDTkgWSJ+KltlJYRD9f63uJb5I4iIJeh/inUpNlvWvX4ZHye+dU2WD4H
tzKX1HEFYfooPivmSoxAhbG/+TBXniYChA5RbLDJK0C7/NzzkXg6wmg3nw3GVn6u
nHKa8BFhvSUz9DYJxt75qANciObzCrDys5LMIohB7y/mrKJFDy1DcyLDOK718Mzk
1Y78waiYSp2fvEqCNlG4Rvfd2WN1wTi1sAPexc2gCH21rb/vPkrs1qIY+1YazhX0
AkAlqcDYzKFeoLxGCPcTn4upmY163VGWN1D8Hvf1HReNhKjdcfpPsHxuy0r2b7vo
wqvDMNsiLRjZsCOh2OqcE8dQQJC3w1qMMzOoofFD0uSbLtE/CADW8oeWh/5Qv6dh
Y4GELgzWq6n+voudGHwtZ93p/xIZPhuIAFCQz5GiiOqRIpLcK1Gxb0+4FLGAbzcz
tZYTebuI7VwpPft+l1xth7KMzGwVaFucrK6X+6zQcNKvx70ExK575+E76Wl7zjpk
FElUALPbrIy4lfamIQQHCZH1v98nvm68FOr76O6AjJUBOP4iZW0=
=Ft35
-----END PGP SIGNATURE-----