public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/llhttp] rawhide: Update and improve comments about packaging in the spec file
@ 2026-11-14  8:50 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-14  8:50 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/llhttp
            Branch : rawhide
            Commit : fd26d4627d2843d2b6c1d014eed5cd8f956e731a
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-11-13T20:06:59+00:00
            Stats  : +13/-9 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/llhttp/c/fd26d4627d2843d2b6c1d014eed5cd8f956e731a?branch=rawhide

            Log:
            Update and improve comments about packaging in the spec file

[skip changelog]

---
diff --git a/llhttp.spec b/llhttp.spec
index 6503c0b..a5d356b 100644
--- a/llhttp.spec
+++ b/llhttp.spec
@@ -6,16 +6,20 @@
 #
 # Historically, this package “built like” a NodeJS package, with a
 # dev-dependency bundle from NPM that we used to transpile the original
-# TypeScript sources to C downstream. Since 9.3.0, it is no longer practical to
-# re-generate the C sources from Typescript without using pre-compiled esbuild
-# executables from NPM, so we use the upstream “release” tarball with
-# pre-generated C source and header files included.
-#
-# That allows this package to be built without running the NodeJS/Typescript
-# machinery in the build (via a large “dev” dependency bundle. However, this
-# release archive lacks the original TypeScript source code for the generated C
-# code, so we need to include this in an additional source. For details, see:
+# TypeScript sources to C downstream. We stopped doing this with release 9.3.0
+# since this would have required using a pre-compiled esbuild executable from
+# NPM, which would not have been acceptable. Instead, we use the upstream
+# “release” tarball with pre-generated C source and header files included.
+# This release archive lacks the original TypeScript source code for the
+# generated C code, so we need to include it in an additional source. For
+# details, see:
 # https://docs.fedoraproject.org/en-US/packaging-guidelines/what-can-be-packaged/#pregenerated-code
+#
+# Now that nodejs-esbuild is packaged, we could consider using it, but the
+# complexity of switching back to this approach and properly auditing and
+# handling the dev-dependency bundle is unpleasant enough that we plan to keep
+# using the upstream “release” tarball with pre-generated C source and header
+# files included.
 
 # This package is a dependency of libgit2 which in turn is one of rpmautospec.
 # When upgrading to a version with a new soname, this package needs to provide

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-14  8:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-14  8:50 [rpms/llhttp] rawhide: Update and improve comments about packaging in the spec file Benjamin A. Beasley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox