mirror of
https://github.com/goreleaser/nfpm
synced 2024-05-21 07:06:16 +02:00
7701bb950c
* feat: Support for deb's config maintenance script With debconf, the config script is responsible for asking any questions necessary to configure a package [1]. Without this, we're forced to ask questions in postinst, which is against best practices [2]. This commit adds the possibility to include a config script when using debconf like so: ```yaml deb: scripts: templates: ./my/templates config: ./my/config ``` [1] https://manpages.debian.org/jessie/debconf-doc/debconf-devel.7.en.html#THE_CONFIG_SCRIPT [2] https://manpages.debian.org/jessie/debconf-doc/debconf-devel.7.en.html#THE_POSTINST_SCRIPT * docs: Add info about deb config maintainer script |
||
---|---|---|
.github | ||
apk | ||
cmd/nfpm | ||
deb | ||
files | ||
internal | ||
rpm | ||
testdata | ||
www | ||
.gitattributes | ||
.gitignore | ||
.golangci.yml | ||
.goreleaser.yml | ||
.kodiak.toml | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
Dockerfile | ||
LICENSE.md | ||
Makefile | ||
README.md | ||
acceptance_test.go | ||
go.mod | ||
go.sum | ||
nfpm.go | ||
nfpm_test.go |
NFPM
NFPM is Not FPM - a simple deb, rpm and apk packager written in Go.
Why
While fpm is great, for me, it is a bummer that it depends on ruby
, tar
and other softwares.
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
Would you like to fix something in the documentation? Feel free to open an issue.