public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/llhttp] rawhide: Update and improve comments about packaging in the spec file
Date: Sat, 14 Nov 2026 08:50:41 GMT	[thread overview]
Message-ID: <179464624180.1.7059361120647334725.rpms-llhttp-fd26d4627d28@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-11-14  8:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179464624180.1.7059361120647334725.rpms-llhttp-fd26d4627d28@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox