• Re: git branches vs debian specific git tools (Re: RFC for changes rega

    From Richard Lewis@21:1/5 to Holger Levsen on Mon May 12 10:10:01 2025
    Holger Levsen <holger@layer-acht.org> writes:

    On Sun, May 11, 2025 at 03:58:12PM -0700, Otto Kekäläinen wrote:

    Regardless of what branch names packages use today or in the future,
    they should all have a debian/gbp.conf file that defines what
    branches and packaging practices are being used *right now*.

    I dont want to use git-buildpackage and I don't want a
    gpb.conf. Please accept this. Thanks.

    is there another way people can use to understand how to build the
    package?

    gbp.conf at least tells you which branches to use (even if you dont use
    gbp)

    (i dont think anyone is trying to push gbp but there is also a cost for
    people trying to reproduce and bugs in working out how to build the
    thing. i revently cloned a package and it had both a debian and a master branch, only gbp.conf told me which to use)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Haber@21:1/5 to gioele@svario.it on Mon May 12 10:30:01 2025
    On Mon, 12 May 2025 09:54:38 +0200, Gioele Barabucci
    <gioele@svario.it> wrote:
    On 12/05/25 09:49, Holger Levsen wrote:
    On Sun, May 11, 2025 at 03:58:12PM -0700, Otto Kekäläinen wrote:
    Regardless of what branch names packages use today or in the future,
    they should all have a debian/gbp.conf file that defines what branches
    and packaging practices are being used *right now*.

    I dont want to use git-buildpackage and I don't want a gpb.conf. Please accept
    this. Thanks.

    gbp.conf would probably be more widely accepted if it were called >"Debian.source.conf" or something neutral like that.

    Debian/source/branches

    Grüße
    Marc
    --
    ---------------------------------------------------------------------------- Marc Haber | " Questions are the | Mailadresse im Header Rhein-Neckar, DE | Beginning of Wisdom " |
    Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 6224 1600402

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rakhmatullin@21:1/5 to Gioele Barabucci on Mon May 12 10:40:02 2025
    On Mon, May 12, 2025 at 09:54:38AM +0200, Gioele Barabucci wrote:
    Regardless of what branch names packages use today or in the future,
    they should all have a debian/gbp.conf file that defines what branches >>>and packaging practices are being used *right now*.

    I dont want to use git-buildpackage and I don't want a gpb.conf. Please accept
    this. Thanks.

    gbp.conf would probably be more widely accepted if it were called >"Debian.source.conf" or something neutral like that.

    I don't think gbp.conf is generic enough to not be called gbp.conf. Some
    parts of it, maybe.

    --
    WBR, wRAR

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

    iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmghsfstFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh bsUP/1hiMdoT2RPLg9JymBQkFqRi13qVjOW6cjpM8mZ6llr4GQBwkCr6eAxGhz1v +1bsiuvwkNm2CTbCuAhQcdmGdQpr//Xp9zCdqRRrmu6Rm8GU+xSxWjzYt8oQwTDP yYyPW+bBO2uB6N8IwXPIjcfxrc65W5GSh+9n46cAxVn0rLbVmEnWieERhBw7f+6m BipWwmUDHCB7zfeVgyvDVAqJlOIKhm1LbuZ1oevWcDYJ93f97emqUehh68d29wOV nly7tsbjdqoI4afdHwkh4LFLoimNCd8s0tEKvRVvCBQp2YRvLIJ3Y4fUb3UAg7qT T9dUVzSXffVumKw3lk9DCgpcD2gL2F0a+x9ZIrpp2yHRRoo43E+qWkzHZI/K5HeB 8c6imvVNRv3bS9jk/AuIXq/QLuE5q6wEAUdRfhRaaLnFazE1B/DnuK7U10eHAYzn ltZPQMdmTcyu+Dt7t89Dnh6kEG/Pmy09Nonbx5agYAkQu1pZjOpwbTNTjEcw4/Mi hwLj3S6i29KN6x/4/RZMZf6EvfBFfJASTKH0yo2Ny9vTrxpMWJuyjBveZcugMahk kAQxNoj1g/pndEp608vQ/KAcYrE2CHIBTG+H5vnt/B0bUfH6VMDkauADzh4rTW8o vdE+PTXXV4oXZzslcNMXWpQNY6Bev6C2OIoS0FArxtUQx03M
    =cKvY
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Holger Levsen@21:1/5 to Richard Lewis on Mon May 12 10:40:02 2025
    On Mon, May 12, 2025 at 09:09:23AM +0100, Richard Lewis wrote:
    I dont want to use git-buildpackage and I don't want a
    gpb.conf. Please accept this. Thanks.
    is there another way people can use to understand how to build the
    package?

    debian/README.source as described in the developers-reference.


    --
    cheers,
    Holger

    ⢀⣴⠾⠻⢶⣦⠀
    ⣾⠁⢠⠒⠀⣿⡁ holger@(debian|reproducible-builds|layer-acht).org
    ⢿⡄⠘⠷⠚⠋⠀ OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
    ⠈⠳⣄

    Ich bin so alt, ich hab im Kindergarten noch Aschenbecher getöpfert. (@joanalistin)

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

    iQIzBAABCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAmghshgACgkQCRq4Vgaa qhw3CQ//Z5Se8OzRkCu97ydCyyhhk5sfvG51ovj1vKXbOeWCWdBdbwLJjZ+qoka5 cUDNujFLqPmumaJTS3X0Ecm8PWxEatX7HXQHEgAK57pGTbm7qXcGfbECPqmcXK6g SJR2g29HAMZAQXJI3PLRon1adBhcoHWYFkld31d2hzRW1lfhwQg6xL7s5xVHcStB 73a3zZLP1t/20S+spMFuklPBjKala+c8GnBIJIUNN71AJNYr3xFQuD/oTKXKUeag 6dLYLgs/Q+fTb5pTPXZohixmRHYWOaZVKIanzZ0wSNKrS2lZbzLAREgR7Per64uk zG2tWQkRxrg/xPfDulDKmnbf2hFXIToFRInf7qeOOSMprIEaLf4AJ50n7iAmHICA hdPQDv04XVvXZiA1gmAFjxwlymRr9PPd0iAhLKtTvIrH5jsm1GyWj2rJo2u1nDpX 3gXFnTM8wVhQ3FaUGjF1Hmra8Fy1dten3HCYQifcNWC7hY16I9dt6lN/nxVgupF9 4Oimir78qHSiPfrpB1QcxdfzZhLQ5t8zObn5wedBgKiKUJBkK2NNLFtRHtBuPFWy G5xWeWKeUPHv8q1aq8Gn5BcYCVf
  • From PICCA Frederic-Emmanuel@21:1/5 to All on Mon May 12 11:00:01 2025
    debian/README.source as described in the developers-reference.

    It would be great also to have an easy way to cherry peak from the upstream git repository in order to prepare patch series.

    Do we have a tool around DEP-14, which allows this ?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Santiago Vila@21:1/5 to All on Mon May 12 12:00:01 2025
    El 12/5/25 a las 9:49, Holger Levsen escribió:
    I dont want to use git-buildpackage and I don't want a gpb.conf. Please accept
    this. Thanks.

    I also don't like the idea of adding a gpb.conf to each and every package.

    Most of my packages don't have such file and Salsa CI is able to build them.

    Maybe we could assume that if there is no gbp.conf, you can always build
    the package by creating a source package from the git repo first,
    as Salsa CI does?

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Holger Levsen@21:1/5 to Holger Levsen on Mon May 12 11:00:01 2025
    On Mon, May 12, 2025 at 08:32:24AM +0000, Holger Levsen wrote:
    debian/README.source as described in the developers-reference.

    and even in https://www.debian.org/doc/debian-policy/ch-source.html#s-readmesource


    --
    cheers,
    Holger

    ⢀⣴⠾⠻⢶⣦⠀
    ⣾⠁⢠⠒⠀⣿⡁ holger@(debian|reproducible-builds|layer-acht).org
    ⢿⡄⠘⠷⠚⠋⠀ OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
    ⠈⠳⣄

    "Die Ereignisse von 1933 bis 1945 hätten spätestens 1928 bekämpft werden müssen,
    später war es zu spät. Man darf nicht warten, bis der Freiheitskampf Landesverrat genannt wird. Man muß den rollenden Schneeball zertreten;
    die Lawine hält keiner mehr auf." Erich Kästner

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

    iQIzBAABCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAmghttcACgkQCRq4Vgaa qhwwDg/+MJ5a1zsJrmKfucE/d62/FVrtUq1s9Q1+3DWLsfOw8SuNfg1XMLQGyydF 4GQuMIEKCeFr8Enf4SPxj2h3OwCTKo8gtE8Rxorc6igA9z1rYe75my5GOuEiUq0Q hB3aM1+gAg26zTx/JnlHOKaxiyGD1FDqvXSJ1+7rWO1w+sf1mlOxjx5So9pfn1V4 tw5SP4+Zk9J6tO0WaMqbfdmbYz17hLyKFQfXfzqrrNGC37ylzdnSKKcKupsSBc3m U94xXewB32CPA8g1H/9yDnyLKJcY6CjaQgb4HeH6da75PJ1N3Y/Ia45DRK1ALL99 Nr25zZS0dMpDWmXHBpxyOZfCPdbTSXAikj0T7Nafn5LR0uZ6tzZKGDXePHruchOl oFxaPGIeu9oLHxooeZMesyx5qb7xJQ
  • From Andrey Rakhmatullin@21:1/5 to Santiago Vila on Mon May 12 12:40:02 2025
    On Mon, May 12, 2025 at 11:58:45AM +0200, Santiago Vila wrote:
    El 12/5/25 a las 9:49, Holger Levsen escribió:
    I dont want to use git-buildpackage and I don't want a gpb.conf. Please accept
    this. Thanks.

    I also don't like the idea of adding a gpb.conf to each and every package.

    Yes, in most cases when it's needed it's because your branch names and/or pristine-tar usage flag don't match the gbp defaults.

    Most of my packages don't have such file and Salsa CI is able to build them.

    Because they use the gbp defaults?

    Maybe we could assume that if there is no gbp.conf, you can always build
    the package by creating a source package from the git repo first,
    as Salsa CI does?

    Doesn't Salsa CI use gbp for that?

    --
    WBR, wRAR

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

    iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmghzZQtFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh SNMP/jQceGnBeoxn25N3o1KeSePW2U8aGnZYooTDbi/0K8kX+b1OvQxNZ7tRmE8F kWvArUVukATTkETQxsRvwBiPgmQ4VktcGJf8BIBjiUebMUrLe9a9KlzPoSxv7NN3 4K4t31Hrdmkw0Isovzp11qIjxYXpOjMxTtbHZbX++q1N6qOseIppygcbiBaHG70p Ru3NLEqVen4jpUl7PPZFoTwr/pshC1Hf8WIxtXwB9xeaCRHriERehg9W7M4HzHr6 vL86qijy5BttUtDUWB4ehBr5PTWeQ++8WHRoxniSmA7MkJu3rdfcOM34y9hq/MQ3 XsQHoaHzEMIDoyXHAiUMDd7KcHpJM4gS0b3ZDvJ1oEI39DPADlI5WPJD8IGgddhL d3iRa3ss//J2tHYanIsJI6ESYWKA9tCcus+KqjMcCV3eLCDhe2hCqamVTdFK9WBh ydta9QSj7OGjGao5348YwzcXeCsY1IsAZ08g4ldd4i5AfRkRfApB8cvbim6yUQ7V QslF0QpNLVSqmTd7cxqDfueMHM/gxDtiEMbrjfhd45aUS18GIG/NK4TISVtWu3XR bCPOmzj0ZDOwEPF97vlayQ3IvwdAFS6Ues6DBSOXFPQjul7BtfCeRQ8CkFXflHXg jzjB5cGtNFSwDjAuQWPBDcSBgnUmiltxx124U72tchUMYma8
    =zT/C
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sean Whitton@21:1/5 to PICCA Frederic-Emmanuel on Mon May 12 13:20:01 2025
    Hello,

    On Mon 12 May 2025 at 10:37am +02, PICCA Frederic-Emmanuel wrote:

    debian/README.source as described in the developers-reference.

    It would be great also to have an easy way to cherry peak from the upstream git repository in order to prepare patch series.

    Do we have a tool around DEP-14, which allows this ?

    Well, git-debrebase does, and is as compliant with DEP-14 as you'd like
    it to be.

    --
    Sean Whitton

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

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

    iQJNBAEBCgA3FiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmgh13AZHHNwd2hpdHRv bkBzcHdoaXR0b24ubmFtZQAKCRBpW3rkvwZiQB2SD/9xV7l+yF7WiLf0MGbRJkHW 7Fna1eAAMRFyj4AnAOcFUi8L4AEM7gFLHKimVt3ftllXPXQ3hsXXi8n6tU6tiWo7 yNPyhXee6bmBWfVOfTPqq/KdKN+EL1ZIkWtX4X1XJkNK65HsEGfkP4T8mLUWPXqq PgAJJQ/mo5psvbb0YxqWmVIcKMtxdDXy05Q6gsrQUedI70Kk+5jeD2Bm6w6g9YdG +lp6Fdrm3hQmv9RiuElc++2d0ty53kRO9r9VEsVCUuf1lXOr/9ErhTDjZEaO54AJ bNcab+U8qQulTeqGmwWCeATKaV34JZfVtvUkOneKOK4wMeAfmZGN0LqYqIsmYFJx Bja68UcW1GDnUoVomhO3YYbFdAheVfmfXK0fU1CH6+GQ6S1YSMlW7JR0BN4M3Jj6 BayBO1J6tULiNuC/ORv/wBxuNHIJ+SvftLtJYUk+AqznLfOMg5JDNv7t9M4wwMtB FZz3p9hf/qQuc8MJvQVv+gNlNGNP/N9iXRgN97DodtPr3xDp/Krjm+3vHdI7hFtv QX/1W/RGVprWAysbTyM9ClY2yISPQNQ8IC0Il8GJnIPUqz8b+ecxgRWLOIEd7+o0 +sqRAxSf+J8ZT1KhfL/fFYnsezG5RvRBJROpaYvoZP0Cju4bW3Y3dKjUlgK5HO49 8hYDo0VjoRtwQceCFxo2rA==kUgu
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Us
  • From =?UTF-8?B?QsOhbGludCBSw6ljemV5?=@21:1/5 to All on Mon May 12 13:30:02 2025
    Hi,

    Sean Whitton <spwhitton@spwhitton.name> ezt írta (időpont: 2025. máj.
    12., H, 13:11):

    Hello,

    On Mon 12 May 2025 at 10:37am +02, PICCA Frederic-Emmanuel wrote:

    debian/README.source as described in the developers-reference.

    It would be great also to have an easy way to cherry peak from the upstream git repository in order to prepare patch series.

    Do we have a tool around DEP-14, which allows this ?

    Well, git-debrebase does, and is as compliant with DEP-14 as you'd like
    it to be.

    There is gbp pq, which is probably more widely used.

    Cheers,
    Balint


    --
    Sean Whitton

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sean Whitton@21:1/5 to All on Mon May 12 14:00:01 2025
    Hello,

    On Mon 12 May 2025 at 01:27pm +02, Bálint Réczey wrote:

    Hi,

    Sean Whitton <spwhitton@spwhitton.name> ezt írta (időpont: 2025. máj.
    12., H, 13:11):

    Hello,

    On Mon 12 May 2025 at 10:37am +02, PICCA Frederic-Emmanuel wrote:

    debian/README.source as described in the developers-reference.

    It would be great also to have an easy way to cherry peak from the upstream
    git repository in order to prepare patch series.

    Do we have a tool around DEP-14, which allows this ?

    Well, git-debrebase does, and is as compliant with DEP-14 as you'd like
    it to be.

    There is gbp pq, which is probably more widely used.

    Right. Both are good.

    --
    Sean Whitton

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

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

    iQJNBAEBCgA3FiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmgh4O4ZHHNwd2hpdHRv bkBzcHdoaXR0b24ubmFtZQAKCRBpW3rkvwZiQF45D/92ILW9GI2CK8meSOPlIvZi ScjO8n7/icSDNDW/cU7IgXyADkIB3c1cQA6luriKKkfVCXHhnJ355PyxlONOH3wi vQ9+cYZ2/AfD//24TnigTnJFjSEKBT1PKOEtvwYTy00fXdSOaBVnYequplElq4tV rngrb50evLzUtM5IlNZD7aVDLfCyYgyxv2m4PZdJ+7YsmUsz+6dMcgDIQfu5Ig5a fOaMTnbaY0d2X+/9JWnxcBPlHwZshXdxvshhQvqJV+SAI30nxPkjTCf8gkoFzWyl a03mPwg9X6nXc0vwFU+neTseACMkdB3JSEmdVLgWWG9S54hHCG0Nl64a+Ecr2pyW RzPR38i44zCdwBdosotshZtTnFMU403oHFh3nN2bloTUUTjtQJtnd6mF2xFk+3EH nUwY0Ur24K/uH04OZDmr459Lk49lD2Ss3V40aqaILxTfR2yjIQ4MiGT9TopfhzDY LPqOgILCVUbDdQapvEEXDTE/fbbQzsNZl6T76A4XHSMazf2Xs66aQFtKPXCfbFYQ zc9669ENFTMCVpPlqlGY/KyK+Vaqzc0dmJH4LBKizjNxDS6vRSM96XGEvgaCd8s8 3OjhCvUXNTyEeYAz7w+IQkqTxBcpN/wOXbEMzoPYzlNbgl9wJKA+F7eadQnC8doq /oQTKMezKwuqHNg7vtUsQQ==lmHm
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Us
  • From Lucas Nussbaum@21:1/5 to Holger Levsen on Mon May 12 15:10:01 2025
    On 12/05/25 at 07:49 +0000, Holger Levsen wrote:
    Regardless of what branch names packages use today or in the future,
    they should all have a debian/gbp.conf file that defines what branches
    and packaging practices are being used *right now*.

    I dont want to use git-buildpackage and I don't want a gpb.conf. Please accept
    this. Thanks.

    "I dont want to use git-buildpackage" sounds a bit like "I don't want to
    use debhelper". There are many cases where it makes sense to standardize
    on workflows and tools (and accept that it reduces the number of degrees
    of freedom, and many using inferior tools). And there are some cases
    where it makes sense to use specific workflows and tools (because it
    gives more power to optimize stuff).

    Maybe DEP-14 should focus on being the debhelper of git-based packaging,
    and we should acknowledge that it will probably never be adopted by some maintainers or source packages.

    Regarding "I don't want a gbp.conf", I think that we should aim for DRY,
    and that adding a gbp.conf in every package doesn't sound too great for
    teams that maintain hundreds or thousands of packages...

    Lucas

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sean Whitton@21:1/5 to Lucas Nussbaum on Mon May 12 17:00:02 2025
    Hello,

    On Mon 12 May 2025 at 03:04pm +02, Lucas Nussbaum wrote:

    On 12/05/25 at 07:49 +0000, Holger Levsen wrote:
    Regardless of what branch names packages use today or in the future,
    they should all have a debian/gbp.conf file that defines what branches
    and packaging practices are being used *right now*.

    I dont want to use git-buildpackage and I don't want a gpb.conf. Please accept
    this. Thanks.

    "I dont want to use git-buildpackage" sounds a bit like "I don't want to
    use debhelper". There are many cases where it makes sense to standardize
    on workflows and tools (and accept that it reduces the number of degrees
    of freedom, and many using inferior tools). And there are some cases
    where it makes sense to use specific workflows and tools (because it
    gives more power to optimize stuff).

    Maybe DEP-14 should focus on being the debhelper of git-based packaging,

    DEP-14 and gbp are not the same, though. There's no need to conflate
    them. I think Holger's point is that he wants to adopt all or most of
    DEP-14, but not gbp.

    --
    Sean Whitton

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

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

    iQJNBAEBCgA3FiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmgiDJQZHHNwd2hpdHRv bkBzcHdoaXR0b24ubmFtZQAKCRBpW3rkvwZiQOb/D/9v46g6VoaO5RLw0DS3+QKv AH934AM/MhCNZ6I80PNISLCw4ASObATSbhUqe10IwXBSHfnuFupk/ZuInqiBsRW6 JJiEVy78IoGoC02L3mdD7wUBTRAXHSLpNUFq7DN+nUoQ8SB4uT1QN0kIrXmPtLkP 0FznCiEXcHO/U5zRLTU8Hxeu9YRZ8TxaMUgPqAR91bwf9+KXdd+sU/diOvgMefAy GhE8T8PSotJFmeNoZJld7rFWzLW5jK3H/TSHeJP4A9iL+8GIj3ooqFaH2cWc8xkm pCsoSWsAu60T7A6xw6GJDQYdAMRRkp+wIXadG8ngfpQgCjU3jVQ3CEj6hj5easN9 lyBYv5druJFvKygSnFZbDnKu4qMKU7LG0x4eipGw4ktC0aBmFq9jAVRUCTmSyk0f Ib4zr6+lMTNaMfa1kYiZEgOYLRvRpWPC5mNywBtbGA0995P4a1Hb8NfiFWs5kQdT 46KsX7YdS/iMi6EyHEYOAK1P2yTQUT+xV/vHxdhjpHZIBXQHsVhmpD/bV4kNFmKN fiSVf0i3WSpUTUwfOzex2zmwSZ6ifqnrepKNY8peL+2Wi6rw28n729uXnflMO5dN sRgyypp56BhgXTrFnVu+KHwM7AJywe1ZTUOiN6cdl9gD2i/60hMzWRa5GRCvFTuC cZKqU3H2x2a7d0OHk3b9Cw==LeaL
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Us
  • From =?UTF-8?B?T3R0byBLZWvDpGzDpGluZW4=?@21:1/5 to All on Mon May 12 23:40:01 2025
    debian/README.source as described in the developers-reference.

    It would be great also to have an easy way to cherry peak from the upstream
    git repository in order to prepare patch series.

    Do we have a tool around DEP-14, which allows this ?

    Well, git-debrebase does, and is as compliant with DEP-14 as you'd like
    it to be.

    There is gbp pq, which is probably more widely used.

    Using gbp pq is easy, and it is also backwards compatible with quilt,
    and automatically uses DEP-3 headers. Unfortunately as is with many
    tools in Debian, the docs and man pages don't tell you clearly how to
    do this fairly common operation of cherry-picking upstream commits (https://manpages.debian.org/unstable/git-buildpackage/gbp-pq.1.en.html).
    My blog post https://optimizedbyotto.com/post/debian-source-package-git/#managing-patches-with-gbp-pq
    hopefully helps, and it also has a diagram to help grasp how the
    branches and commits go.

    First run `gbp pq switch --force` to jump from regular source package
    (e.g. debian/latest) branch to the special patch-queue/debian/latest
    branch, where everything from debian/patches/* has automatically been
    converted into commits. In this mode you can modify upstream code, git cherry-pick, rebase and whatever you want. When done, run `gbp pq
    export --drop --commit` to switch back to regular branch and note how
    the files in debian/patches/* got updated. The end result is fully
    backwards compatible with how Debian source packages work and upstream
    sources stay intact and compatible with pristine-tar.

    I wish somebody would have taught me `gbp pq` 10 years ago. It would
    have saved me so much time I wsted fiddling with quilt/dquilt...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Johannes Schauer Marin Rodrigues@21:1/5 to All on Tue May 13 16:40:01 2025
    Quoting Andrey Rakhmatullin (2025-05-12 12:29:40)
    On Mon, May 12, 2025 at 11:58:45AM +0200, Santiago Vila wrote:
    El 12/5/25 a las 9:49, Holger Levsen escribió:
    I dont want to use git-buildpackage and I don't want a gpb.conf. Please accept
    this. Thanks.

    I also don't like the idea of adding a gpb.conf to each and every package.

    Yes, in most cases when it's needed it's because your branch names and/or pristine-tar usage flag don't match the gbp defaults.

    if that were the only need, then that would mean that gbp users cannot overwrite defaults in their ~/.gbp.conf. For example, pristine-tar is currently disabled by default. Suppose a user has this in their ~/.gbp.conf because they are tired of having to pass --pristine-tar to all the gbp commands manually:

    [DEFAULT]
    pristine-tar = True

    Then without a debian/gbp.conf, this user would get into trouble if they try to modify one of the few[*] packages on salsa that do not make use of pristine-tar.

    [*] I have no clue about the actual numbers and maybe there are teams which explicitly disable pristine-tar but I cannot remember the last time I changed a package on salsa without a pristine-tar branch and without a debian/gbp.conf.

    Most of my packages don't have such file and Salsa CI is able to build them.

    Because they use the gbp defaults?

    And because they pass those options that are not the default manually, see line 142 in salsa-ci.yml:

    gbp pull --ignore-branch --pristine-tar --track-missing

    One of the reasons why gbp is unable to change defaults is because that would break packaging for those packages which do not explicitly declare their gbp branch defaults in debian/gbp.conf, see #829444

    I don't disagree that having to have a debian/gbp.conf is ugly but having it allows:

    * contribution by developers with custom settings in ~/.gbp.conf
    * less painful changes of the gbp defaults

    As far as I see it, adding debian/gbp.conf to my packages is a way for me to declare things like branch layout, pristine-tar usage, upstream git tag format or signing options in a machine readable format. In another sub-thread it was pointed out that this information can also be put into debian/README.source
    but that file is not machine readable...

    Thanks!

    cheers, josch
    --==============Y36120838417411642=MIME-Version: 1.0
    Content-Transfer-Encoding: 7bit
    Content-Description: signature
    Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"

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

    iQIzBAABCgAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAmgjWPkACgkQ8sulx4+9 g+FiBg/9ENvwm9XV5SK+j0iPFAlM4H66hxdTzKWLZ/g+P+PAO0Xy3l0bhTGb+p0a A/cmIuVoR3yejkNV2WoE8cSlt3J7e0tUbm2cNErCbxw0kL1IlB+gOT4pYUiDBSTL UHJQ6mWo/bqepqwzTQPg5UEYI5TKvvK9fqPjnSdkJI/WnUIgekSrm5jZ5InOzlE4 sMgdCZ7fIXG1Ui45B3/sfgfHDv+jj+sTx8HyCac13W8nZCARVDUvZ3s1oI7W9mvz GZfqMxCOEdPtqch5EC8OPGb1dmBvd5rqp2UJ86tJTlGuHoy838mCJFniBT7Kh6Di oTQIj1pj1ZcLGdLvnMW6Sv5883L3IMD09psQR+BMSA09hSunA+SLqyDR2jBZYPlx LJTFyP0lmk3Vd+GQoS1wFUqPAMMabr+4dvVukvpazu4KiWc38HaPNizkUnxqy4pw dCRb55jAR1Xd6jrf/RHuL4xfqv6eZxQViPaH4ua9y90GnwyNzYBv51lIOxtmzwNd +YVbQaklrfbJgXdXNmRfmIbUmHV+yMoAmOBVTPU0d9VGM4QxZvOxUMjsnioOnSm0 NAOPoeTBebpl/+3EX3MC52vtW9nKLv3aJYUZ75WwB3OQcweoB7iIxWw/ksbOsw4S sDfrIDpbiSkfdLtMD2AS/opfwN/FJDkszlPv2r+XQnac7hqQXOE=
    =hpZ7
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rakhmatullin@21:1/5 to All on Tue May 13 17:20:01 2025
    Sorry but most of this looks like expanding on what I've said but maybe
    I've misunderstood something.

    --
    WBR, wRAR

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

    iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmgjYiwtFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh 4V4P/Arvv3vlBXhe01xl9sQBKQXlo4QpvMbbb4PEnl3GkBnVjRKue7rN3Sg9mkiV 0S9vCh6BbCIGZZE5GSZWJwuuCjQm6EbpN87lP5Hj/kvGU+9SyUe2w39W9lDAZuoH DVcF3X72rZgrDswQn8Pxc0GtkmzidW/ou50O6I2idLQ5pc3IMGXa84cW7/vjsBBg +tngvoMxwFx74Filf51JxFHJP+ZDme76Vef1dfcyyXcQdRLbVtZHrKKAf6hMEUz7 2LeGv8JOWjrFRwmdAYgNx9hbDx9Jui2F1aDyg9+RSa8DKfKL7MKI3+u3qSvwUZYm 6MSFaapgztZ2W3JdEdunfXmRTx/g9l2U7gJXO6ActWCx1oKNjnK/yWv9AVMAVUXU TKHj2DeG/RCqQImHldQzwYUj+418jUkY6PJ3NEqVRk1/SVz2tMZ6oGIuUcuoYrLk xIVr9Yw332uqgK8IfRKaG+fQfOeadNd0SeI9cGrVCqg6e3BebJJpLVjNM7uvDRq8 TNqfOv4fWX0zygoHLKv9KBtWp5lnjuXp4sw+4CsewjNAZSw8gsZLl3UX1FVkvuyL dTyDGAwxF7Z2V928Ao2XYR5mIloIz6/U+EYlatGut9HgGZpYUljxAKbsOi5/2GBT 8vKnNbgkLQxsUQHP9652soAQUEWT7oj/f0vycRz6Lm8WdIH5
    =5E9n
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rakhmatullin@21:1/5 to All on Tue May 13 17:50:01 2025
    On Mon, May 12, 2025 at 02:37:18PM -0700, Otto Kekäläinen wrote:
    Using gbp pq is easy, and it is also backwards compatible with quilt,
    and automatically uses DEP-3 headers

    (some of them)

    --
    WBR, wRAR

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

    iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmgjaaQtFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh 78MQAJbGmwUUGRod+qcLECKT6xJ5rkPvoyLiNxIo8+Ym0YsmsS7LR+k4JtPDXMg1 lc/z5OiA8d2P7NmWshAFKpCsqdnP+2FDIlfO2VQ/O9gFrY18wJfH4fP7Cl/rxpQ7 M7oZwCeZY4I/v3cMBeMLTzSpddRCQqgM3GjcM97LaWq63rLpoXeX+yUY1bTTMEFB O4gBWrIFwCK/jYlB+tSnWJ9PF+lCc8gXquzh688+5XyzEMLTsPzBGS93JD94EwZH y/UvwXLzXKnnj1V7nPOrslTTYm9PhkP4L2vqAyQXK5FlBU0W8cVMImzqKFmahOZH YCT3zVFarba1xPQOTxUh3Z0o+9hlQqhp0OOXN75gnZKaByxu2H7TPTfG5sofQsFi 21s2vpZp/BF20USB6nfFNYdciaG/l8cqcGj6n57JoTP5NRYgQk4jMSZptUpwiAz/ mF67/k0xwcIrWzlC8JzGFTxT26SnMCxcNxzfUzkr9iASMrot+67HJXgFhCtXlL72 VtObbvU56gvyUSvMbwIiB23CbakzfE9ArwdRvltfqDkzj6mT0SeWNWACBHENdy8p kZbLRSsCLC3DWsbHnXHMhmFMHZPLgfJQIs6sCLpxTMOJDNkT6//eBTnjiXXvCpYD vnus6Nj4De0ZGKy/W4Xe7+GozPoCej6jGS62Jbqk3Zo7isJi
    =r/OR
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From thomas@goirand.fr@21:1/5 to All on Tue May 13 18:20:01 2025
    CgpPbiBNYXkgMTMsIDIwMjUgMTY6MzcsIEpvaGFubmVzIFNjaGF1ZXIgTWFyaW4gUm9kcmlndWVz IDxqb3NjaEBkZWJpYW4ub3JnPiB3cm90ZToKCj4KCj4gUXVvdGluZyBBbmRyZXkgUmFraG1hdHVs bGluICgyMDI1LTA1LTEyIDEyOjI5OjQwKSAKCj4gPiBPbiBNb24sIE1heSAxMiwgMjAyNSBhdCAx MTo1ODo0NUFNICswMjAwLCBTYW50aWFnbyBWaWxhIHdyb3RlOiAKCj4gPiA+RWwgMTIvNS8yNSBh IGxhcyA5OjQ5LCBIb2xnZXIgTGV2c2VuIGVzY3JpYmnDszogCgo+ID4gPj5JIGRvbnQgd2FudCB0 byB1c2UgZ2l0LWJ1aWxkcGFja2FnZSBhbmQgSSBkb24ndCB3YW50IGEgZ3BiLmNvbmYuIFBsZWFz ZSBhY2NlcHQgCgo+ID4gPj50aGlzLiBUaGFua3MuIAoKPiA+ID4gCgo+ID4gPkkgYWxzbyBkb24n dCBsaWtlIHRoZSBpZGVhIG9mIGFkZGluZyBhIGdwYi5jb25mIHRvIGVhY2ggYW5kIGV2ZXJ5IHBh Y2thZ2UuIAoKPiA+IAoKPiA+IFllcywgaW4gbW9zdCBjYXNlcyB3aGVuIGl0J3MgbmVlZGVkIGl0 J3MgYmVjYXVzZSB5b3VyIGJ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Jmd0 OyBleHBsaWNpdGx5IGRpc2FibGUgcHJpc3RpbmUtdGFyIGJ1dCBJIGNhbm5vdCByZW1lbWJlciB0 aGUgbGFzdCB0aW1lIEkgY2hhbmdlZCBhIDwvZGl2Pgo8ZGl2IGRpcj0ibHRyIj4mZ3Q7IHBhY2th Z2Ugb24gc2Fsc2Egd2l0aG91dCBhIHByaXN0aW5lLXRhciBicmFuY2ggYW5kIHdpdGhvdXQgYSBk ZWJpYW4vZ2JwLmNvbmYuIDwvZGl2Pgo8YnI+PGRpdiBkaXI9Imx0ciI+QWxsIHRoZSBwYWNrYWdl cyBpbiB0aGUgT3BlblN0YWNrIHRlYW0gYXJlbiYjMzk7dCB1c2luZyBwcmlzdGluZS10YXIgKGJ1 dCB1cHN0cmVhbSB0YWdzKS4gVGhhdCYjMzk7cyBqdXN0IGFuIGV4YW1wbGUuIEkgZG8gTk9UIHdh bnQgdG8gY2hhbmdlIHRoaXMgYnR3Li4uIGFuZCB0aGF0IGlzIGFsc28gdGhlIHJlYXNvbiB3aHkg aXQgaXMgbm90IGluIHRoZSBQeXRob24gdGVhbSAod2hpY2ggbWFuZGF0ZSB1c2luZyBzdWNoIGEg YnJva2VuLWJ5LWRlc2lnbiB0b29sKS48L2Rpdj4KPGJyPjxkaXYgZGlyPSJsdHIiPlRob21hczwv ZGl2Pgo8YnI+PC9ib2R5PjwvaHRtbD4=

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sean Whitton@21:1/5 to PICCA Frederic-Emmanuel on Wed May 14 10:50:01 2025
    Hello,

    On Wed 14 May 2025 at 10:41am +02, PICCA Frederic-Emmanuel wrote:

    Well, git-debrebase does, and is as compliant with DEP-14 as you'd like >>>> it to be.

    There is gbp pq, which is probably more widely used.

    Right. Both are good.

    In fact my question was more.

    I would like, something like

    dgit clone <package>

    or

    gbp clone <package>

    and get a a DEP-14 organized repository, where the upstream/latest point to the upstream git repository.
    So where do we put the upstream git URL

    If I read this part of DEP-14, I have the information that the remote should be named 'upstreamvcs' but nothing about where to put this url in our Debian files.

    If I need to find and add manually these information each time I checkout a debian package, It is not viable.

    There is the Source field in d/copyright where you can put a git remote
    URL. Maybe that usage should go into DEP-14 ?

    --
    Sean Whitton

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

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

    iQJNBAEBCgA3FiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmgkWJYZHHNwd2hpdHRv bkBzcHdoaXR0b24ubmFtZQAKCRBpW3rkvwZiQBPHEAC5hlO1fHheixnxb3gBOOcH fwFWV05LimMepE1PrHEc8uuJGfpKoHbtTsgLzqpEag+V3EoORQWEF6/iLEr5WB1H jcEgqRWkOisVJxQZD0wzntquKLTrvl+d7ezpgSmZdvsptm/aGmCnCnakNBn3ZGuJ CD06j6T3XSGQ1dTWpZjDxs/QJgY8gfSu8hHzqEJGhNOyHeJU8xYK/nhqDbSiw7yr sDne6hzBEslIDQK1aqXwGj8EdraZ0pAJ3aA4cv+V1eL3NEMqiqaz5XAfmHGXtJVj imVohskrrqr/fRXfJju2xIpRUjH64D6s6AoqPIwJoZiC8jcVUI6OPfBc826XOYWZ LQ5d8dA/mXRwYvm3l+GvBjVDpYr2oyH9a+HtFbMiAVurZ/pAwm4NGcUm8xhsyMWv 1tBMS7MKCr0rcyWB/YvfCoXoT2zjewXKRZqyoYzCG3awOjxVHTZWhjc1wHi9g3UY 8qgHtMM/apU0vWufiLs+Dw3LIwxuv0USNxxGeJXoasaq0vSPBt2C3HbV6vYjQgDU GwujUOw90k3Hrrlo+18K3VCjE4RPf7ENy0hq3tSXqelR3WPS6Di2rg9O7/g0EkI0 LcUDXSMeZTXY/akf9T5Tv/aRFasIGmzX1hgmq0EFU1B+41Iwxo8/jbp51jYGBCIW Z5uBqkmCTwK7NH8NCq4dXQ==Jsmc
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Us
  • From PICCA Frederic-Emmanuel@21:1/5 to All on Wed May 14 11:00:01 2025
    Well, git-debrebase does, and is as compliant with DEP-14 as you'd like
    it to be.

    There is gbp pq, which is probably more widely used.

    Right. Both are good.

    In fact my question was more.

    I would like, something like

    dgit clone <package>

    or

    gbp clone <package>

    and get a a DEP-14 organized repository, where the upstream/latest point to the upstream git repository.
    So where do we put the upstream git URL

    If I read this part of DEP-14, I have the information that the remote should be named 'upstreamvcs' but nothing about where to put this url in our Debian files.

    If I need to find and add manually these information each time I checkout a debian package, It is not viable.


    --- DEP-14

    [...]

    Coexistence with the upstream Git repository

    As a package maintainer, it is often helpful to have access to the upstream Git repository from one's personal checkout of the packaging Git repository. When setting up access to the upstream repository with git remote add it is recommended to use
    upstreamvcs as the name of the remote so that tools can more easily identify the upstream branches and commits.

    The naming conventions recommended in this document ensure that names of the upstream branches (ex: master, main, devel, 9.x) are unlikely to clash with the packaging branches. Despite this, it is good practice to not push any upstream branch to the
    packaging repository so as to not confuse anyone about the purpose of the Git repository.

    However to make it convenient to inspect the upstream history and compare it to the packaged version, when this doesn't have adverse consequences (such as an unreasonable repository size), the upstream history should be made available in the p
  • From Simon Josefsson@21:1/5 to All on Wed May 14 11:30:01 2025
    PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
    writes:

    There is the Source field in d/copyright where you can put a git remote
    URL. Maybe that usage should go into DEP-14 ?

    So we have upstream informations in

    d/copyright
    d/control (git url of our VCS).
    d/watch (in git mode)
    d/upstream/metadata (what for ?). maybe we should standardize on this one. d/gbp.conf

    other files ?

    Indeed this is a mess. (I wouldn't count d/control Vcs-* though?)

    Has there been any work towards a single-file declarative file syntax to generate all the debian/ files?

    Except for debian/patches/ and debian/tests/ I think this could work.
    Compare rpm's *.spec or Homebrew files.

    This could be one step towards migration to a monolithic source git
    repository where all of Debian's debian/ files could be managed in a collaborative way. We don't strictly need that -- we could just import
    all debian/ sub-directories from all source packages into one monolithic
    git repository, and work together there -- but it would simplify syncing
    the same information in several files under debian/ and reduce the
    number of small files we have to manage.

    /Simon

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

    iQNoBAEWCAMQFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAmgkYnMUHHNpbW9uQGpv c2Vmc3Nvbi5vcmfCHCYAmDMEXJLOtBYJKwYBBAHaRw8BAQdACIcrZIvhrxDBkK9f V+QlTmXxo2naObDuGtw58YaxlOu0JVNpbW9uIEpvc2Vmc3NvbiA8c2ltb25Aam9z ZWZzc29uLm9yZz6IlgQTFggAPgIbAwULCQgHAgYVCAkKCwIEFgIDAQIeAQIXgBYh BLHSvRN1vst4TPT4xNc89jjFPAa+BQJn0XQkBQkNZGbwAAoJENc89jjFPAa+BtIA /iR73CfBurG9y8pASh3cbGOMHpDZfMAtosu6jbpO69GHAP4p7l57d+iVty2VQMsx +3TCSAvZkpr4P/FuTzZ8JZe8BrgzBFySz4EWCSsGAQQB2kcPAQEHQOxTCIOaeXAx I2hIX4HK9bQTpNVei708oNr1Klm8qCGKiPUEGBYIACYCGwIWIQSx0r0Tdb7LeEz0 +MTXPPY4xTwGvgUCZ9F0SgUJDWRmSQCBdiAEGRYIAB0WIQSjzJyHC50xCrrUzy9R cisI/kdFogUCXJLPgQAKCRBRcisI/kdFoqdMAQCgH45aseZgIrwKOvUOA9QfsmeE 8GZHYNuFHmM9FEQS6AD6A4x5aYvoY6lo98pgtw2HPDhmcCXFItjXCrV4A0GmJA4J ENc89jjFPAa+wUUBAO64fbZek6FPlRK0DrlWsrjCXuLi6PUxyzCAY6lG2nhUAQC6 qobB9mkZlZ0qihy1x4JRtflqFcqqT9n7iUZkCDIiDbg4BFySz2oSCisGAQQBl1UB BQEBB0AxlRumDW6nZY7A+VCfek9VpEx6PJmdJyYPt3lNHMd6HAMBCAeIfgQYFggA JgIbDBYhBLHSvRN1vst4TPT4xNc89jjFPAa+BQJn0XTSBQkNZGboAAoJENc89jjF PAa+0M0BAPPRq73kLnHYNDMniVBOzUdi2XeF32idjEWWfjvyIJUOAP4wZ+ALxIeh is3Uw2BzGZE6ttXQ2Q+DeCJO3TPpIqaXDAAKCRBRcisI/kdFoteBAQDVsI994NaK bfVsZ+U0RSCgAnuE7TUYJd18L/YqBJhQYgEAt7Ch73lmUz4XdqbVtxHgNYqT6vLu 5X9ZmgIpFlobkw8=
    =YmsL
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From PICCA Frederic-Emmanuel@21:1/5 to All on Wed May 14 11:20:02 2025
    There is the Source field in d/copyright where you can put a git remote
    URL. Maybe that usage should go into DEP-14 ?

    So we have upstream informations in

    d/copyright
    d/control (git url of our VCS).
    d/watch (in git mode)
    d/upstream/metadata (what for ?). maybe we should standardize on this one. d/gbp.conf

    other files ?

    Fred

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Simon McVittie@21:1/5 to Sean Whitton on Wed May 14 11:50:02 2025
    On Wed, 14 May 2025 at 09:47:18 +0100, Sean Whitton wrote:
    On Wed 14 May 2025 at 10:41am +02, PICCA Frederic-Emmanuel wrote:
    So where do we put the upstream git URL

    If I read this part of DEP-14, I have the information that the remote should >> be named 'upstreamvcs' but nothing about where to put this url in our Debian >> files.

    debian/upstream/metadata, Repository field.

    For example try `gbp clone --add-upstream-vcs vcsgit:sdl2-compat` which
    uses this field. To make `gbp clone` do this automatically whenever this information is available, you can write

    [DEFAULT]
    add-upstream-vcs = True

    into ~/.gbp.conf (I personally think this should be the default, but
    currently it isn't).

    There is the Source field in d/copyright where you can put a git remote
    URL.

    This isn't typically machine-readable and often isn't a git repository
    at all (it can equally well be a download page for official source-code archives, or include free-form text comments about where the source came
    from), whereas debian/upstream/metadata is designed to be
    machine-readable and the Repository field is specified to be always a
    VCS of some sort.

    smcv

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jonathan McDowell@21:1/5 to Andrius Merkys on Wed May 14 12:10:01 2025
    On Wed, May 14, 2025 at 12:33:49PM +0300, Andrius Merkys wrote:
    On 2025-05-14 12:29, Simon Josefsson wrote:
    Indeed this is a mess. (I wouldn't count d/control Vcs-* though?)

    d/control has Homepage as well.

    Has there been any work towards a single-file declarative file syntax to >>generate all the debian/ files?

    Yes, there was such an effort advocated by one person, but I cannot
    recall any details about it to help locating it.

    Perhaps you mean Niels Thykier's work on debputy:

    https://people.debian.org/~nthykier/blog/tag/debputy.html

    J.

    --
    Revd Jonathan McDowell, ULC | I don't know. I'm a dog.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter B@21:1/5 to Andrius Merkys on Wed May 14 12:10:01 2025
    On 14/05/2025 10:33, Andrius Merkys wrote:

    Yes, there was such an effort advocated by one person, but I cannot
    recall any details about it to help locating it.

    Best,
    Andrius


    Was that debputy?
    https://salsa.debian.org/debian/debputy

    Regards,
    Peter

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From PICCA Frederic-Emmanuel@21:1/5 to All on Wed May 14 12:30:01 2025
    debian/upstream/metadata, Repository field.

    For example try `gbp clone --add-upstream-vcs vcsgit:sdl2-compat` which
    uses this field. To make `gbp clone` do this automatically whenever this information is available, you can write

    [DEFAULT]
    add-upstream-vcs = True

    into ~/.gbp.conf (I personally think this should be the default, but currently it isn't).

    +1

    thanks a lot for this explanation.

    So now we just need to standardize on d/u/metadata for the upsteam vcs location in DEP-14 right ?

    Is this file enough for our needs ?

    Fred

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sean Whitton@21:1/5 to Simon Josefsson on Wed May 14 13:50:02 2025
    Hello,

    On Wed 14 May 2025 at 11:29am +02, Simon Josefsson wrote:

    PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> writes:

    There is the Source field in d/copyright where you can put a git remote
    URL. Maybe that usage should go into DEP-14 ?

    So we have upstream informations in

    d/copyright
    d/control (git url of our VCS).
    d/watch (in git mode)
    d/upstream/metadata (what for ?). maybe we should standardize on this one. >> d/gbp.conf

    other files ?

    Indeed this is a mess. (I wouldn't count d/control Vcs-* though?)

    Has there been any work towards a single-file declarative file syntax to generate all the debian/ files?

    Except for debian/patches/ and debian/tests/ I think this could work.
    Compare rpm's *.spec or Homebrew files.

    Would we really want that? I've never understood the attraction. It's
    more than metadata.

    --
    Sean Whitton

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

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

    iQJNBAEBCgA3FiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmgkgjcZHHNwd2hpdHRv bkBzcHdoaXR0b24ubmFtZQAKCRBpW3rkvwZiQLHsD/wMNEjdQMphtZ/0f+iiJ4ji uQk5lt9rfy0HbkAU9JIPFV3FpeGVNUd8UjUkhYlVVC4FXBpoM+8tFYnegs5U5Exx kEzRzUk1e/5ZEjlPJU8JWdDdj2aSfAXQm314lIofK6sU8umgRDREuS3uVufJE6xL yjVMH1dYN/LGVrzoEbpyq3/okCXzMlaoZQX/SOYjlMH7rCJ24RxSZq5/2QGbXVT/ HHJicByNCiXTeBhTj63kBIyHPrT+Df1xa7rg8qnFtvOWb4851W9++gCXcOc9z2Pc kGfcO0sXEcFTOd4ofEgszr1c4ty8eJ8snmiVrLn25hAs0SSGmBxjLecadE3p0Ym1 65X8HlqJHDM30DliflblI0wMuc3j9LoStJ2TXQ+wRYuawqPbgTgDtoGnthBPRycO rxDApkYcBeQ2ezobYzWvmR81faShfYuYI+tFMDzVogjj8buTw0yzHBNsjlX1tl1/ 8hsok580dhOUhsfpauG0juhVinQoRBvIlwamZI7ag7bDWgZzT8SBisyFhzW75TlQ +dlwY5vZMmOh2AoSHB+MJtxpn961Oh+IEWusFISWcxxqKHw6j1KRFbmZIhaoULqf aiTzUDLOECnsmVt2NiQih1PzcDBmwVuJIGuWgrtSmMme3JW+ALTgSm8I6/s3HEdp PH0NAIA+vCyxIvhCFlYWUQ==Yd2w
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Us
  • From =?UTF-8?Q?Julien_Plissonneau_Duqu=C@21:1/5 to All on Fri May 16 16:10:02 2025
    Le 2025-05-12 15:04, Lucas Nussbaum a écrit :

    Regarding "I don't want a gbp.conf", I think that we should aim for
    DRY,
    and that adding a gbp.conf in every package doesn't sound too great for
    teams that maintain hundreds or thousands of packages...

    Could having a way to manage "team defaults" for gbp provide some relief
    here? These could maybe be distributed with the gbp package, or a
    separate distribution-wide package, or by separate packages managed by
    each team. The idea would be to add some logic to gbp to apply different defaults depending on the declared maintainer of the package. Such
    defaults could still be overriden by gbp.conf the same way as current
    gbp built-in defaults can be.

    Cheers,

    --
    Julien Plissonneau Duquène

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco d'Itri@21:1/5 to PICCA Frederic-Emmanuel on Sat May 17 01:10:01 2025
    On May 14, PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> wrote:

    Despite this, it is good practice to
    not push any upstream branch to the packaging repository so as to not >confuse anyone about the purpose of the Git repository.
    This kind of personal opinions proposed as if they were the consensus
    are the reason why many people do not take DEP-14 seriously.

    --
    ciao,
    Marco

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

    iHUEABYKAB0WIQQnKUXNg20437dCfobLPsM64d7XgQUCaCex7gAKCRDLPsM64d7X gdKqAQCLwl6Y9mYIUKVWqm3WLEyRk/1H6KhP10ipl4PZF0IQBQEAz8i2pE7WcuGr w2xEFGG9zD03Mv6BuATVCawUsK2C3go=
    =B+mT
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From gregor herrmann@21:1/5 to All on Sun May 18 16:20:01 2025
    On Fri, 16 May 2025 16:07:47 +0200, Julien Plissonneau DuquΦne wrote:

    Le 2025-05-12 15:04, Lucas Nussbaum a Θcritá:
    Regarding "I don't want a gbp.conf", I think that we should aim for
    DRY,
    and that adding a gbp.conf in every package doesn't sound too great for >>teams that maintain hundreds or thousands of packages...
    Could having a way to manage "team defaults" for gbp provide some
    relief here? These could maybe be distributed with the gbp package, or
    a separate distribution-wide package, or by separate packages managed
    by each team. The idea would be to add some logic to gbp to apply
    different defaults depending on the declared maintainer of the
    package. Such defaults could still be overriden by gbp.conf the same
    way as current gbp built-in defaults can be.

    This idea sounds appealing to me, thank you!


    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
    `-

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

    iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmgp6ulfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ qga3jw//dlP5aVe2BNKfzMQ1cNzt46sNDxIznaqFI3g4+/vKpl9TTIDgFAf+t5yV I3fhPwKsN9Wv+kVrdvPEXypj6JJHAYHVKmdlJQy3FbrOdef9YmWJNdkRuKTu3hrp C8s9ZTZBnZYdUXoBrgVSeJPmENwUQ5dycjBriDss8lnvNyY5auAF/cRC1vLmGuoz TU2znMaogdNBNOfk3eKJ+6F1pbsObu/vmBm/L/HlbnM9X/a8xGHy4iy4vFM251lm 4IkLuj60tTDEoUxfm2I3bvO+8MVWhXhYyZu32gbTjBr5baiJDi4WLwb22018iRr1 GXj0ew7YdoVoIlkMjf7BbkR3CaM+nGdslnQrgiKaQRe7IVGMh+Twjz4SGLmP0jk9 dhenpGPuxhuObxSRrkT+jvb9mDamm50KE1KSbOWWjNTUt2kYLOEN8eO3+A/jnNTf 6WhtkiM0+8uf35wZtsBjDpaUHkLL5KEaWnrepVeun8huQG33jItDwRMgv30SaAsZ
    j+qc