Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Maytham Alsudany
Mon, 16 Nov 2026 23:20
Bug#1153863: RFS: whatwg-html-build/0.0~git20251112.283a353-1 [ITP] -- tool to process Whatwg.org HTML 5 sources
Author: Maytham Alsudany
Date: Mon, 16 Nov 2026 23:20
Date: Mon, 16 Nov 2026 23:20
129 lines
7343 bytes
7343 bytes
--=-5Cngibuogs6xftBfMZMh Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Fab, On Sun, 2026-11-15 at 20:12 +0100, Fab Stz wrote: > Since I chose to rename the package to html-build (to conform to upstream= 's name), I created a new repo to start on fresh base: >=20 > =09https://salsa.debian.org/bastif/html-build html-build is a bit generic though, IMO whatwg-html-build was a better name. > You can still use the old one, which would permit you to see the recent c= hanges. >=20 > By the way, this requires the version 0.40 of crate markup5ever_rcdom (pa= ckage rust-markup5ever-rcdom). But it has not been uploaded to the archive = yet. > That's because with v0.35 the autopkgtests failed (when mixed with html5e= ver 0.40). > You can get the deb by using the repo which is on my debusine workspace [= 1]. The snipped for apt sources is displayed there. So that means the crate needs to be updated before this package can be uploaded? [...] > Le samedi 14 novembre 2026 00:32:59 heure normale d=E2=80=99Europe centra= le, vous avez =C3=A9crit : > > Hi Fab, > >=20 > > - Why are the rust build-deps in d/control or'ed? It shouldn't need to > > be like that. >=20 > I thought it might be easier to maintain. >=20 > Jonas (js@d.o) which is not part of the rust team (but maintains numerous= rust based packages) and doesn't follow the approach of the team, doesn't = always use versioned rust dependencies for their packages. >=20 > I don't have a strong opinion, so did as you asked. With this, any update= of html5ever (& related) crate will require to upload a new version of htm= l-build having updated relaxed dependencies. This is only required for breaking changes according to semver (e.g. 0.40 -> 0.41 or 1.0 -> 2.0), which is intentional so that when a crate is updated in the archive, the rdeps are reviewed. Either way works, but there is not really any point in ORing both. [...] >=20 > > - Consider adding autopkgtests based on cargo-auto-test. You can see an= y > > rust-* package on sources.debian.org to see what debcargo generates and > > do something similar to test the package continues to build/compile. >=20 > I discussed this shortly on #debian-rust. For binary crates, there are us= ually no autopkgtests. Moreover upstream doesn't have any integration test = of the binary itself. It only has rust unit tests. These unit tests are alr= eady invoked by dh-cargo when the package is built. >=20 > I anyway created a librust-*-dev package which is however unlikely to be = needed by any other rust package. So this is actually somehow only useful t= o run the autopkgtests. I was struggling at getting it work with cargo-auto= -test but this is now fine. Using it however requires one to keep updating = the package version if d/tests/control at every update. I only suggested adding autopkgtest because you had the librust-whatwg- html-build-dev package for the crate. If nothing uses it, it would probably be better to get rid of it and the autopkgtest altogether. It can always be reintroduced later if some software needs the library. [...] >=20 > > - Dversionmangle in d/watch is not a valid key. It's Dversion-Mangle. > > Also consider using "auto" value which is the same thing. >=20 > According to manpage for "debian-watch":=20 > "Hyphens in key names are ignored. Matching-Pattern is equivalent to Matc= hingpattern" >=20 > So both keys are valid. TIL, thanks for pointing that out! [...] > > - The binary should be installed to usr/bin/whatwg-html-build, not > > usr/bin/html-build. >=20 > Instead of renaming the binary to the name of the package (which is likel= y a requirement from the Debian Policy, but I can't find it right now), I p= referred to rename the package from "whatwg-html-build" to "html-build" (in= line with the name in Cargo.toml). That way there is no need to patch the = scripts that call this binary, I find this ambiguousfor the same reasons as above for the package name. Patching is not necessary since you can easily create a fake PATH that symlinks html-build during package build, or take the cargo approach and include a fake bin dir in the package. -- Maytham --=-5Cngibuogs6xftBfMZMh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQJHBAABCgAxFiEESl/RzRFQh8wD3DXB1ZeJcgbF8H8FAmr7jNsTHG1heXRoYW1A ZGViaWFuLm9yZwAKCRDVl4lyBsXwf+/pEACXGgB4vHilv/7RidSoLFROdILZm9yQ GCM53cviFKp5f1eh6MVMnq+orcWln48gLz1VF0CI9V/DpnAOmLSbFotdDCJHS2sN cj0wMTg/QQ14MpGmy+sevDjzqF1X47yeyILJSu9QG7vOPcWmqUVK4lOOJAOhsQ2s FZtIzkQA2CHNKdzDyFNPaQeTFNKwUW01vMANzhlxhIavhHnVc2q9KJPOsCPRnFLu uZB0p4X9qoz22fX9MeNunBnYzcfpiQWZ4DhW7Q5e0MXAaDMShQEFYZ/K1HUUu9pf 3Vbh1CHXP0z9ScTHp2E12m6kGyzBdbWgZWwod9z4WAgUSn9lnc0MESjG2IWZbcbp fzveTR0tzsmj9luaQjIDzbTus6vxJcz9Z2WtzpjQTfxGfiVlt72lmW7+aStXd7Cr P8zIQrsXdXhqAqh5lrOmFZnrgHF3QdM+RElzGMJl8qnLBqNkoQUMKVShVXcUKQZe KJrkKL16FI3Bh8kyzzo61vWUzpbevcOwpP5CHZye7dm4SGk94IBa0Spw3fzH2UOb dddVBzKU+4O5kJOZ6nsIRXoHuTFHGZaNNGHZ6k6LxU5vj6/Wne0rhfMa9uJvYk1N ZpalMJNGQXWraaROdT+Kt0X7imvzi8HdfG3adx8zCYJuId7OFvM/B5wAZUslb70J TCWoV5e5B/e4dQ== =uJM3 -----END PGP SIGNATURE----- --=-5Cngibuogs6xftBfMZMh--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads