1
1
Fork 0
mirror of https://github.com/goreleaser/nfpm synced 2024-05-21 02:56:19 +02:00
nfpm/testdata/acceptance
Joakim Karlsson 7701bb950c
feat: Support for deb's config maintenance script (#317)
* 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
2021-04-14 14:43:42 +00:00
..
folder feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
keys fix: RPM Verify signature: BAD PARAMETERS when installing from a repo, but not a local file (#266) 2020-12-22 08:23:11 -03:00
scripts feat: Support for deb's config maintenance script (#317) 2021-04-14 14:43:42 +00:00
.gitignore feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
apk.386.complex.dockerfile fix: add the PAXHeaders for file checksum required by alpine 3.13+ (#291) 2021-02-02 20:37:17 -08:00
apk.386.dockerfile fix: add the PAXHeaders for file checksum required by alpine 3.13+ (#291) 2021-02-02 20:37:17 -08:00
apk.arm64.dockerfile fix: add the PAXHeaders for file checksum required by alpine 3.13+ (#291) 2021-02-02 20:37:17 -08:00
apk.changelog.dockerfile fix: add the PAXHeaders for file checksum required by alpine 3.13+ (#291) 2021-02-02 20:37:17 -08:00
apk.complex.dockerfile fix: add the PAXHeaders for file checksum required by alpine 3.13+ (#291) 2021-02-02 20:37:17 -08:00
apk.dockerfile fix: add the PAXHeaders for file checksum required by alpine 3.13+ (#291) 2021-02-02 20:37:17 -08:00
apk.env-var-version.dockerfile fix: add the PAXHeaders for file checksum required by alpine 3.13+ (#291) 2021-02-02 20:37:17 -08:00
apk.meta.dockerfile fix: add the PAXHeaders for file checksum required by alpine 3.13+ (#291) 2021-02-02 20:37:17 -08:00
apk.min.dockerfile fix: add the PAXHeaders for file checksum required by alpine 3.13+ (#291) 2021-02-02 20:37:17 -08:00
apk.overrides.dockerfile fix: add the PAXHeaders for file checksum required by alpine 3.13+ (#291) 2021-02-02 20:37:17 -08:00
apk.ppc64le.dockerfile fix: add the PAXHeaders for file checksum required by alpine 3.13+ (#291) 2021-02-02 20:37:17 -08:00
apk.signed.dockerfile fix: add the PAXHeaders for file checksum required by alpine 3.13+ (#291) 2021-02-02 20:37:17 -08:00
apk.symlink.dockerfile fix: add the PAXHeaders for file checksum required by alpine 3.13+ (#291) 2021-02-02 20:37:17 -08:00
breaks.yaml feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
complex.386.yaml feat: remove deprecated options (#267) 2020-12-22 21:28:32 -03:00
complex.yaml feat: remove deprecated options (#267) 2020-12-22 21:28:32 -03:00
config-noreplace-old.yaml feat: remove deprecated options (#267) 2020-12-22 21:28:32 -03:00
config-noreplace.yaml feat: remove deprecated options (#267) 2020-12-22 21:28:32 -03:00
deb.386.complex.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
deb.386.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
deb.arm64.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
deb.breaks.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
deb.changelog.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
deb.complex.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
deb.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
deb.env-var-version.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
deb.meta.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
deb.min.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
deb.overrides.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
deb.ppc64le.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
deb.signed.dockerfile fix: switch to use gopenpgp (#315) 2021-04-08 11:15:11 -07:00
deb.symlink.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
deb.triggers.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
dummy.deb feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
env-var-version.yaml feat: remove deprecated options (#267) 2020-12-22 21:28:32 -03:00
gzip.compression.yaml feat: remove deprecated options (#267) 2020-12-22 21:28:32 -03:00
gzip.rpm.compression.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
lzma.compression.yaml feat: remove deprecated options (#267) 2020-12-22 21:28:32 -03:00
lzma.rpm.compression.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
meta.yaml feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
min.yaml feat: remove deprecated options (#267) 2020-12-22 21:28:32 -03:00
overrides.yaml feat: remove deprecated options (#267) 2020-12-22 21:28:32 -03:00
release.rpm.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
release.rpm.yaml feat: remove deprecated options (#267) 2020-12-22 21:28:32 -03:00
rpm.386.complex.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
rpm.386.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
rpm.arm64.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
rpm.changelog.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
rpm.complex.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
rpm.config-noreplace.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
rpm.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
rpm.env-var-version.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
rpm.meta.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
rpm.min.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
rpm.overrides.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
rpm.ppc64le.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
rpm.signed.dockerfile fix: switch to use gopenpgp (#315) 2021-04-08 11:15:11 -07:00
rpm.symlink.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
rules.deb.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
rules.deb.yaml feat: Support for deb's config maintenance script (#317) 2021-04-14 14:43:42 +00:00
signed.yaml fix: switch to use gopenpgp (#315) 2021-04-08 11:15:11 -07:00
simple.386.yaml feat: remove deprecated options (#267) 2020-12-22 21:28:32 -03:00
simple.arm64.yaml feat: remove deprecated options (#267) 2020-12-22 21:28:32 -03:00
simple.ppc64le.yaml feat: remove deprecated options (#267) 2020-12-22 21:28:32 -03:00
simple.yaml feat: remove deprecated options (#267) 2020-12-22 21:28:32 -03:00
symlink.yaml feat: remove deprecated options (#267) 2020-12-22 21:28:32 -03:00
triggers.yaml feat: remove deprecated options (#267) 2020-12-22 21:28:32 -03:00
withchangelog.yaml feat: remove deprecated options (#267) 2020-12-22 21:28:32 -03:00
xz.compression.yaml feat: remove deprecated options (#267) 2020-12-22 21:28:32 -03:00
xz.rpm.compression.dockerfile feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00