1
1
mirror of https://github.com/goreleaser/nfpm synced 2024-09-21 00:27:54 +02:00
NFPM is Not FPM - a simple deb, rpm and apk packager written in Go
Go to file
Marks Polakovs f3f9718f50
fix: ensure globbed FileInfo always has correct size (#482)
When globbing a file that has a FileInfo set, we would reuse the pointer
to the original file's FileInfo even if the matched files' sizes are
different, causing deb to error when writing the data file due to
mismatching sizes.

Copy the FileInfo and recalculate its size when globbing. Add a test
case to check this scenario.

Fixes #316.
2022-03-24 22:40:07 -03:00
.github chore(deps): bump actions/cache from 2 to 3 (#480) 2022-03-22 19:51:14 -03:00
apk style: spelling and grammar fixes (#462) 2022-02-21 15:53:33 -03:00
cmd/nfpm feat: overhaul cmd and release process (#325) 2021-04-23 09:29:19 -03:00
deb feat: replace compress/gzip by klauspost/pgzip (#457) 2022-02-13 14:31:37 -03:00
deprecation feat: add deprecation notice interface (#399) 2021-11-12 23:07:18 -03:00
files fix: ensure globbed FileInfo always has correct size (#482) 2022-03-24 22:40:07 -03:00
internal style: spelling and grammar fixes (#462) 2022-02-21 15:53:33 -03:00
rpm style: spelling and grammar fixes (#462) 2022-02-21 15:53:33 -03:00
scripts fix: lintian issues (#445) 2022-02-03 09:20:21 -03:00
testdata fix: create tree of dir content types (#431) 2021-12-28 14:24:49 -03:00
www feat: expand environment variables in maintainer (#463) 2022-03-18 00:07:12 -03:00
.gitattributes feat: jsonschema (#350) 2021-07-07 10:20:34 -07:00
.gitignore feat: generate man pages (#443) 2022-02-02 23:30:46 -03:00
.golangci.yml test: clean up the acceptance tests (#292) 2021-04-15 17:25:39 -03:00
.goreleaser.yml chore: fix discord announce link 2022-03-19 00:46:41 -03:00
.lintian-overrides fix: lintian issues (#445) 2022-02-03 09:20:21 -03:00
acceptance_test.go fix: disable debian arm6 tests (#414) 2021-12-04 17:12:29 -03:00
CODE_OF_CONDUCT.md docs: readme, coc, contributing 2018-02-18 19:32:16 -03:00
CONTRIBUTING.md style: spelling and grammar fixes (#462) 2022-02-21 15:53:33 -03:00
Dockerfile fix: docker image entrypoint 2022-02-09 08:50:40 -03:00
go.mod feat(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#476) 2022-03-16 11:23:29 -03:00
go.sum feat(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#476) 2022-03-16 11:23:29 -03:00
LICENSE.md Create LICENSE.md 2018-02-03 17:11:21 -02:00
nfpm_test.go feat: expand environment variables in maintainer (#463) 2022-03-18 00:07:12 -03:00
nfpm.go feat: expand environment variables in maintainer (#463) 2022-03-18 00:07:12 -03:00
README.md docs: add community section to readme 2022-02-23 09:13:48 -03:00
SECURITY.md chore(ci): codeql scans and security policy 2021-12-06 09:59:21 -03:00
Taskfile.yml chore: fix taskfile 2021-12-15 15:37:23 -03:00
vercel.json docs: vercel config 2021-10-10 10:31:29 -03:00

GoReleaser Logo

nFPM

nFPM is a simple, 0-dependencies, deb, rpm and apk packager.

Release Software License GitHub Actions Codecov branch Go Report Card Go Doc Powered By: GoReleaser

Why

While fpm is great, for me, it is a bummer that it depends on ruby, tar and other software.

I wanted something that could be used as a binary and/or as a library and that was really simple.

So I created nFPM: a simpler, 0-dependency, as-little-assumptions-as-possible alternative to fpm.

Usage

Check the documentation at https://nfpm.goreleaser.com

Special thanks 🙏

Thanks to the fpm authors for fpm, which inspires nfpm a lot.

Community

You have questions, need support and or just want to talk about GoReleaser/nFPM?

Here are ways to get in touch with the GoReleaser community:

Join Discord Follow Twitter GitHub Discussions

Donate

Donations are very much appreciated! You can donate/sponsor on the main goreleaser opencollective! It's easy and will surely help the developers at least buy some or 🍺!

Stargazers over time

goreleaser/nfpm stargazers over time