ottok / debcraft

Mirror of https://salsa.debian.org/debian/debcraft
https://salsa.debian.org/debian/debcraft
2 stars 1 forks source link

git-buildpackage is presented as standard tool in README but cannot be verified on provided source at trends.debian.net #5

Open venthur opened 1 month ago

venthur commented 1 month ago

Hi Otto,

https://github.com/ottok/debcraft/blob/49541d49cbb0267955225e9d9f2280fbc055bba0/README.md?plain=1#L255C8-L255C202

I don't think this line in correct. You say you want to steer people to git, git-buildpackage and quilt to standardize on tooling as shown on the trends site. However, this is only shown for git, and quilt. git-buildpackge is not mentioned on that site at all. Moreover, on the page they ask for help to detect the git packaging workflow used in packages, as lintian can currently not do that. So at this point we probably don't know which packaging workflow is most popular backed by data.

Not suggesting that debcraft should not use use git-buildpackage, but I'd fix that sentence to make it more correct.

ottok commented 1 month ago

Your are right, that stat is missing from https://salsa.debian.org/lucas/debian-trends/-/issues/3

I do believe that git-buildpackage is immensly popular among Debian developers, and it works well to build any source package in fact, it does not need to have been specifically prepared for git-buildpackage use. The fact that the build in #4 fails is due to incorrect use of native format without having a native package. All build tools should have failed in this situation at latest when they try to merge the upstream .tar.gz with Debian packaging sources as the two don't exist.

venthur commented 1 month ago

I do believe that git-buildpackage is immensely popular among Debian developers [...]

Without any hard data it is really hard to say how popular it is. Another perspective on that: the corresponding DEP 14 was initiated in 2014 and has the CANDIDATE status since 2020 -- with no visible updates since then.

But my point is not to challenge debcraft's choice of tooling, but rather suggesting in the README that gbp is a trending tool that DDs are standardizing on. You're aware that it is an open question and that was the whole point of this issue.

Cheers!