[pacman-dev] [Proposal] --ignore-externals for svn source

Erich Eckner arch at eckner.net
Tue Apr 20 11:22:56 UTC 2021


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

I'm trying to put an svn source into a PKGBUILD, but unfortunately, the 
source has many large externals, that I'd like to ignore. If I read 
scripts/libmakepkg/source/svn.sh.in correctly, the cloning of all 
externals is (currently) hard coded.

I would like to implement some option to disable that. What would be the 
best format for that?

The only thing, I could come up with, is a source in the form:

"$local_name::svn+https://$url#$revision?ignore_externals"

However, this looks totally wrong, as "ignore_externals" is nothing, that 
should be done with the tree after cloning (in contrast to "signed" for 
git), but rather something, that should be inherent to the source (like a 
different protocol).

Or is there already some nice trick to achieve, what I want? (I tried to 
put "ignore-externals" into .makepkg/config inside the svn tree, but it 
didn't change anything.)

regards,
Erich

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE3p92iMrPBP64GmxZCu7JB1Xae1oFAmB+uZEACgkQCu7JB1Xa
e1oXFg/+MVWKx3whEHs1uvEpuT2WXUSGVPuwUXdzfsVN7kTy80lzREIcFWx6O6Gy
WyxtqCixNlZ4eOW6EseIeuVIQtgLPUN0HHUPiPRIlRWEJv4Jhys3blneeosjMzg8
cbUEawpdRs2Txgo3wYH6WhY+JeVI3uaw7YT1gStQhdsepPNUnhBnwqK5PiEiAwUg
pBGivY4Ma40PgdjByW21abBlV4RGCiDniRLlvmvHRXOeeq7aOsKL5YzetAFrdxfl
IpSDIC7es9KHFu48b0TTHFlbgr/mTLQY/YsHmXYZmJzPAW++ooD+ebUj+6eIYGUL
OnyUjUY3v+uyGI6Eo2B8qQQ98nDfIAksrOjzgjAwmQG9PgN5HGXP4C2WYigOrl8s
+mGQ69mFDb+T4t0SSl0mIiID0l7UMmvFs7iZ4aeuAeJCNWvV7fWAlXudpgZ19TEY
McdVZa+0AlFS0x9/jo1h8b71kWb/N3rr5gCeOyePDKKuBA49AtwhvK/Miz77OVOz
KoOkc/vwNXLkIyhfvlmi12FlWcKU5BblYkwJ/NQBv+SpE0ZroPT7V3+VuydmipTx
NoUJmOVS61ZTJFgSJd14vHroRKY0lSJzQ3Jvv5Vtn1FNP1oNmwF1ZYfeXorvWtG/
f8zIxPtcsSSif6gd4YJ2QxSteKnbH658F+rRooB/FD/0UP5+o+E=
=FiDa
-----END PGP SIGNATURE-----


More information about the pacman-dev mailing list