1
1
Fork 0
mirror of https://github.com/goreleaser/nfpm synced 2024-06-09 09:26:06 +02:00
NFPM is Not FPM - a simple deb, rpm and apk packager written in Go
Go to file
Erik G 4f5362102c
feat: directory content type with custom attributes (#390)
* Deprecate EmptyFolders and introduce dir contents.

* Handle explicit dirs with attributes correctly for Debs.

* Handle explicit dirs with attributes correctly for Apks.

* Sort contents by fields that are most relevant for the package.

* Make deprecation warning for empty_folders consistent.

* Name RPM directory tag more consistently.

* Fix deprecation notice in docs.

* Fix directory normalization for Debs and Apks.

* Revert Apk builder size in tests.

* Fix file sorting.

* Fix deprecated EmptyFolders handling in info.Validate.

* Fix Apk builder size in tests.

* Only stat content source when necessary.

* Allow src on dir content.

* Small addition to file_info docs.

* Fix typo in comments.

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* Remove content type fallthrough case.

* Fix typo in apk tests.

* Fix more typos.

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-11-11 22:58:59 -03:00
.github chore(ci): install cosign 2021-11-07 10:31:53 -03:00
apk feat: directory content type with custom attributes (#390) 2021-11-11 22:58:59 -03:00
cmd/nfpm feat: overhaul cmd and release process (#325) 2021-04-23 09:29:19 -03:00
deb feat: directory content type with custom attributes (#390) 2021-11-11 22:58:59 -03:00
files feat: directory content type with custom attributes (#390) 2021-11-11 22:58:59 -03:00
internal fix: Improve performance of content destination collision detection (#388) 2021-11-06 14:10:46 -03:00
rpm feat: directory content type with custom attributes (#390) 2021-11-11 22:58:59 -03:00
scripts chore: vercel scripts 2021-10-10 10:50:37 -03:00
testdata feat: directory content type with custom attributes (#390) 2021-11-11 22:58:59 -03:00
www feat: directory content type with custom attributes (#390) 2021-11-11 22:58:59 -03:00
.gitattributes feat: jsonschema (#350) 2021-07-07 10:20:34 -07:00
.gitignore chore(ci): tasks 2021-10-12 16:41:32 -03:00
.golangci.yml test: clean up the acceptance tests (#292) 2021-04-15 17:25:39 -03:00
.goreleaser.yml chore(ci): dependabot config 2021-10-12 22:14:28 -03:00
CODE_OF_CONDUCT.md docs: readme, coc, contributing 2018-02-18 19:32:16 -03:00
CONTRIBUTING.md docs: fix coc 2021-10-12 22:30:56 -03:00
Dockerfile feat: overhaul cmd and release process (#325) 2021-04-23 09:29:19 -03:00
LICENSE.md Create LICENSE.md 2018-02-03 17:11:21 -02:00
README.md docs: fix typo on README.md 2021-09-20 14:23:26 -03:00
Taskfile.yml fix(ci): build ./cmd/nfpm (#394) 2021-11-06 14:07:46 -03:00
acceptance_test.go feat: directory content type with custom attributes (#390) 2021-11-11 22:58:59 -03:00
go.mod feat(deps): bump github.com/AlekSi/pointer from 1.1.0 to 1.2.0 (#389) 2021-11-06 14:27:18 -03:00
go.sum feat(deps): bump github.com/AlekSi/pointer from 1.1.0 to 1.2.0 (#389) 2021-11-06 14:27:18 -03:00
nfpm.go feat: directory content type with custom attributes (#390) 2021-11-11 22:58:59 -03:00
nfpm_test.go fix: Improve performance of content destination collision detection (#388) 2021-11-06 14:10:46 -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.

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


Would you like to fix something in the documentation? Feel free to open an issue.