Release tarball target - #1105
Open
xeioex wants to merge 3 commits into
Open
Conversation
xeioex
force-pushed
the
release_tarball
branch
2 times, most recently
from
August 11, 2026 23:01
dd2dc2f to
c4ed8fd
Compare
There was a problem hiding this comment.
Pull request overview
Adds Git-based release tarball generation and removes obsolete Mercurial infrastructure.
Changes:
- Adds release creation, checksum, and build verification targets.
- Configures archive exclusions and generated-file ignores.
- Migrates revision metadata generation from Mercurial to Git.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
misc/GNUmakefile |
Adds release and verification targets. |
auto/make |
Replaces Mercurial revision lookup and removes dist. |
.hgtags |
Removes obsolete Mercurial tags. |
.hgignore |
Removes obsolete Mercurial ignores. |
.gitignore |
Ignores generated release artifacts. |
.gitattributes |
Excludes development files from archives. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
The "dist" target invoked "hg archive" and has been broken since the migration to git. For the same reason ts/COMMITHASH ended up empty in every njs-types package published after the migration. The .hgignore and .hgtags files are stale as well.
Add .gitattributes with "export-ignore" attributes, so that agent instructions, CI configuration and the release machinery are not part of the tarballs created by "git archive", including the ones GitHub generates for a tag.
xeioex
force-pushed
the
release_tarball
branch
from
August 12, 2026 22:34
c4ed8fd to
724f623
Compare
"make -f misc/GNUmakefile release" packages a tag into a njs-<version>.tar.gz tarball with a checksum file. The optional "release-check" target builds the extracted tarball.
xeioex
force-pushed
the
release_tarball
branch
from
August 13, 2026 01:01
724f623 to
ee75c5f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.