Re: Git branch layout for packages requiring DFSG-cleaning

Andrey Rakhmatullin <[email protected]>
Newsgroups gmane.linux.debian.devel.general
Message-ID <[email protected]>
On Thu, Aug 20, 2026 at 09:45:02PM +0200, Marcin Owsiany wrote:
>I found some conflicting information about the recommended branch layout
>and I'm wondering why that is (mistake? outdated recommendation) and
>what folks tend to use in practice and why.

Such questions are more suitable for debian-mentors@.

>- DEP14 recommends upstream/* [1] for the *repacked* sources but says
>  nothing about the original sources in that case
>- gbp manual recommends `upstream/latest` for the *original* sources, and
>  for the repacked sources: `dfsg/latest` in one place [2] and
>  `dfsg_clean` in another place [3]

You are most likely confused by different workflows. Both documents you 
read talk about several of those.

Are you thinking about "Importing upstream release tarballs in Git" or 
"Importing upstream releases from Git tags"? The layouts are different and 
recommendations of both docs are different in these two cases.

>I'm leaning towards setting `upstream-branch = dfsg/latest` in
>debian/gbp.conf to make it a bit more visible that a repacking step is
>needed.

How are you planning to do the repacking step?



-- 
WBR, wRAR
signature.asc (application/pgp-signature, 894 B)
-----BEGIN PGP SIGNATURE-----

iQJhBAABCgBLFiEEtf6ieDcfC1EgtGkao+OWn23e7IYFAmqHcbYtFIAAAAAAFQAP
cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEKPjlp9t3uyG
1KAQAJ1qVrN5D51Rlvw0O9ybLCWFR/Tz8vjxwO6Wn3opEwjx4IzoKQDOxDzsWU69
KlNXQR6rquhFAPJHbKiisoza8KoTN9Pa5U8I0WTFOkSC9k+J6MfQHmf88Vdl758i
xTUdDzLczIFubx+LUXAT9PXXqT+o2LzoT0423LHCEMWAuwYhofz09DnIcDMT1IZ+
ClTentCHXJ7gpB9DKyYkn9VhxZHO2GgsENvpbEoqbfUVYRyJByipy6ZZ3RjN2H4m
4HGUjmrmfMnyXO6kuJ6ZXcs7lWwt6JAnMEpKxvfaD/4J206guDOW4/HZI+5SxaY3
IptN1Q8uoGbIvoLbZJVJKZ29a6zngnGBuY/fmskDqG/UIR3sw2NTdNYoIkFu21aU
CmDd786yv93VRBl5VnOBkz9ODyJQs6Z27GNU2Z5P0FDlIV1RqpLbCWAw2M+KJQ25
J/oFNL6nvWb6WyWCi4ILB9063y28hM9DSlnYR9j9HuDWfFG9GX+CPjy4NPAhmSkb
A4pcCu7smUWO32r/Ss2/8r/42THeE3CQd9Je6iRjm8QFA8rEFaVik+dePDX1U5m0
8Q9oUlC9LXtKtnTCZZYUsIg7zb06CeDBzvMkGl6R7uTY1vMmaVniTnfkBfThFyaG
bLBME9oLv9Pwhl6zPAJHNK4kv2BqhVsHtwc9Q9kF89nq09Re
=7aov
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.