[WIP] Update Node.js guidelines, replacing nodejs-packaging-bundler with npm2rpm #1553

Draft
gordonmessmer wants to merge 2 commits from gordonmessmer/guidelines:nodejs into main
Member

This change describes a change of tools that I will discuss with the Node.js SIG.

This change describes a change of tools that I will discuss with the Node.js SIG.
gordonmessmer changed title from WIP Update Node.js guidelines, replacing nodejs-packaging-bundler with npm2rpm to [WIP] Update Node.js guidelines, replacing nodejs-packaging-bundler with npm2rpm 2026-06-28 05:48:53 +00:00
@ -311,4 +257,0 @@
URL: https://github.com/substack/tape
Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
Source1: %{npm_name}-%{version}-nm-prod.tgz
Source2: %{npm_name}-%{version}-nm-dev.tgz
Member

Running test suite is important IMHO. Why is the example removed?

Running test suite is important IMHO. Why is the example removed?
@ -367,2 +312,3 @@
./node_modules/.bin/tap test/*.js
%clean
rm -rf %{buildroot} %{npm_cache_dir}
Member

Is this required? Isn't the %clean section discouraged these days?

Is this required? Isn't the `%clean` section discouraged these days?
Author
Member

Thanks for taking a look. I cleaned up the spec example a little bit.

Thanks for taking a look. I cleaned up the spec example a little bit.
Owner

Is this ready for FPC to take a final look at and merge? If so can you remove the WIP prefix?

Is this ready for FPC to take a final look at and merge? If so can you remove the WIP prefix?
Author
Member

No, not ready yet. This change illustrates what the guidelines might look like if Fedora adopted npm2rpm instead of its current tooling. Before this can be merged, the Node.JS SIG really needs to evaluate that tool, and work with the upstream project to determine whether they'd carry changes that it would require to be suitable for Fedora.

No, not ready yet. This change illustrates what the guidelines might look like if Fedora adopted npm2rpm instead of its current tooling. Before this can be merged, the Node.JS SIG really needs to evaluate that tool, and work with the upstream project to determine whether they'd carry changes that it would require to be suitable for Fedora.
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u nodejs:gordonmessmer-nodejs
git switch gordonmessmer-nodejs

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff gordonmessmer-nodejs
git switch gordonmessmer-nodejs
git rebase main
git switch main
git merge --ff-only gordonmessmer-nodejs
git switch gordonmessmer-nodejs
git rebase main
git switch main
git merge --no-ff gordonmessmer-nodejs
git switch main
git merge --squash gordonmessmer-nodejs
git switch main
git merge --ff-only gordonmessmer-nodejs
git switch main
git merge gordonmessmer-nodejs
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
packaging/guidelines!1553
No description provided.