1
1
Fork 0
mirror of https://github.com/goreleaser/nfpm synced 2024-05-20 22:46:10 +02:00
nfpm/testdata
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
..
acceptance feat: Support for deb's config maintenance script (#317) 2021-04-14 14:43:42 +00:00
globtest feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
scripts test: e2e test for rpm maintainer scripts 2018-04-09 13:19:45 -03:00
changelog.yaml feat(#42): Support Changelogs (#158) 2020-07-13 15:10:03 +00:00
contents.yaml fix: race condition and remove unused code (#273) 2020-12-30 19:15:16 +00:00
contents_glob.yaml feat: try to clean up and simplify the file adding interface (#255) 2020-12-15 13:47:00 -03:00
env-fields.yaml fix: allow using an env var in the signature.key_file field (#282) 2021-01-14 10:32:10 -08:00
fake test: Speed up tests by using smaller testdata. (#210) 2020-08-17 13:47:16 -03:00
main.go feat: wip: rpm: dedup testdata 2018-02-04 23:36:02 -02:00
overrides.yaml feat: remove deprecated options (#267) 2020-12-22 21:28:32 -03:00
whatever.conf feat: wip: rpm: dedup testdata 2018-02-04 23:36:02 -02:00
whatever2.conf feat: Support RPM %config(noreplace) files. (#186) 2020-08-04 14:44:13 -03:00
{file}[ fix: invalid zip file (#253) 2020-11-10 18:25:58 -03:00