Skip to content

Fix prerequisites in the documentation#34

Open
migrym wants to merge 5 commits into
nokia:mainfrom
migrym:fix-prerequisites
Open

Fix prerequisites in the documentation#34
migrym wants to merge 5 commits into
nokia:mainfrom
migrym:fix-prerequisites

Conversation

@migrym

@migrym migrym commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Fix the prerequisites to reflect the current requirements for Go and add a requirement for nFPM for local builds:

  • nFPM at least 2.46.0 is required to build msix packages
  • Go at least version 1.25 is required by nFPM 2.46.0

Fix the prerequisites to reflect the current requirements for Go and add a
requirement for nFPM for local builds:
* nFPM at least 2.46.0 is required to build msix packages
* Go at least version 1.25 is required by nFPM 2.46.0

Signed-off-by: Michael Grymporounis <michail.grymporounis@nokia.com>
@codecov

codecov Bot commented Jul 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 37.73%. Comparing base (890ad6c) to head (2e383bd).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #34   +/-   ##
=======================================
  Coverage   37.73%   37.73%           
=======================================
  Files          23       23           
  Lines        1569     1569           
=======================================
  Hits          592      592           
  Misses        917      917           
  Partials       60       60           
Flag Coverage Δ
unittests 37.73% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: Michael Grymporounis <michail.grymporounis@nokia.com>
Comment thread README.md

```
go install github.com/goreleaser/nfpm/v2/cmd/nfpm@v2.46.0
```

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A more extensive description on how to get the binary and install it in a directory in your path is probably required

@mptrk mptrk Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No this is fine; although I would prefer to use the tag latest, as in:

$ go install github.com/goreleaser/nfpm/v2/cmd/nfpm@latest

Also, lets try to follow the convention of using bash as the highlighting schema in fenced code blocks that illustrate command line invocations, and prefix them with $. i.e the above should be written as:

```bash
$ go install github.com/goreleaser/nfpm/v2/cmd/nfpm@latest
```

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing the tag also changes the Go version it requires, I opted to pin the versions in the prerequisites here, though go install works regardless. As for the prompt, I avoid it because pressing the copy button will not copy just the the command part, so you will need to paste and edit before running it.

@migrym migrym Jul 10, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed to follow the convention throughout the README, but please consider if removing the prompt would better facilitate copy-pasting the code block commands.

Please comment if you still want to opt for the latest nFPM version when installing.

@migrym migrym left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documentation may need to be further improved.

migrym added 3 commits July 10, 2026 12:25
Building with docker can be controlled with two build args:
* ARCH is a space-separated list of architectures to build for
* PACKAGE is a space-separated list of package types to build
Default ARCH is "amd64 arm64" and PACKAGE is "msix deb rpm osx", allowing
for the whole list of supported packages to be built. Specifying different
values in the docker build command line allows limiting the scope of the
packages to build.

Update the README.md file to reflect these changes

Signed-off-by: Michael Grymporounis <michail.grymporounis@nokia.com>
Fix a small typo.

Ensure all code examples use BASH syntax highlighting and are prefixed by a
prompt.

Signed-off-by: Michael Grymporounis <michail.grymporounis@nokia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants