1
1
Fork 0
mirror of https://github.com/goreleaser/nfpm synced 2024-05-18 12:26:22 +02:00
Commit Graph

615 Commits

Author SHA1 Message Date
Kyle Penfound 170bf81da5
fix: deb version order in control (#498) 2022-04-22 15:25:37 -03:00
dependabot[bot] 0310042153
chore(deps): bump anchore/sbom-action from 0.10.0 to 0.11.0 (#497)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](https://github.com/anchore/sbom-action/compare/v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 11:46:03 -03:00
dependabot[bot] 8937b55499
chore(deps): bump sigstore/cosign-installer from 2.2.0 to 2.2.1 (#496)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v2.2.0...v2.2.1)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-14 09:03:44 -03:00
dependabot[bot] da6231d898
chore(deps): bump actions/setup-go from 2 to 3 (#495)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 08:42:05 -03:00
dependabot[bot] bbb040ed93
chore(deps): bump anchore/sbom-action from 0.9.0 to 0.10.0 (#494)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](https://github.com/anchore/sbom-action/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-08 12:17:14 -03:00
dependabot[bot] cf3722e95e
chore(deps): bump sigstore/cosign-installer from 2.1.0 to 2.2.0 (#493)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-07 10:11:24 -03:00
Aaron Jacobs 98a59ec16d
feat: add support for additional fields in Debian control files (#491)
Debian control files (DCF) have a number of optional fields [0] --
including "Bugs" and "Tags" -- that are used by many existing packages.
The original fpm supports adding arbitrary fields to DCFs with the
--deb-field flag [1], but until now it was not possible to do so with
nfpm.

This commit introduces a new deb-specific override, "fields", that
simply translates key-value pairs from a map directly into the DCF.
Given the following nfpm config file entry:

    deb:
      fields:
        Bugs: https://github.com/goreleaser/nfpm/issues

The resulting DCF would contain the entry

    Bugs: https://github.com/goreleaser/nfpm/issues

To avoid generating malformed DCFs, we simply ignore empty entries.

This commit includes unit tests and updates to the website
documentation.

Closes #490.

[0]: https://man7.org/linux/man-pages/man5/deb-control.5.html
[1]: https://fpm.readthedocs.io/en/latest/packages/deb.html?highlight=changelog#deb-specific-command-line-flags

Signed-off-by: Aaron Jacobs <aaron.jacobs@rstudio.com>
2022-04-06 14:38:10 -03:00
Carlos Alexandro Becker 4a6d81ca8b
Revert "feat(deps): bump github.com/ProtonMail/gopenpgp/v2 from 2.2.2 to 2.4.6 (#484)" (#489)
This reverts commit 7645dff3a8.
2022-04-06 09:38:56 -03:00
dependabot[bot] ae03d336ce
chore(deps): bump anchore/sbom-action from 0.8.0 to 0.9.0 (#487)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](https://github.com/anchore/sbom-action/compare/v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 09:38:17 -03:00
dependabot[bot] 7645dff3a8
feat(deps): bump github.com/ProtonMail/gopenpgp/v2 from 2.2.2 to 2.4.6 (#484)
Bumps [github.com/ProtonMail/gopenpgp/v2](https://github.com/ProtonMail/gopenpgp) from 2.2.2 to 2.4.6.
- [Release notes](https://github.com/ProtonMail/gopenpgp/releases)
- [Changelog](https://github.com/ProtonMail/gopenpgp/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ProtonMail/gopenpgp/compare/v2.2.2...v2.4.6)

---
updated-dependencies:
- dependency-name: github.com/ProtonMail/gopenpgp/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 09:31:13 -03:00
dependabot[bot] dfa2f8e357
chore(deps): bump codecov/codecov-action from 2 to 3 (#486)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 09:21:11 -03:00
Carlos A Becker 995fdacca3
chore: gofumpt
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-03-24 22:44:31 -03:00
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
dependabot[bot] 1d2e7ff616
chore(deps): bump actions/cache from 2 to 3 (#480)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-22 19:51:14 -03:00
dependabot[bot] 49e06de265
chore(deps): bump anchore/sbom-action from 0.7.0 to 0.8.0 (#481)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](https://github.com/anchore/sbom-action/compare/v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-22 19:51:02 -03:00
Carlos A Becker 0d2c9f812d
chore: fix discord announce link
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-03-19 00:46:41 -03:00
Ville Skyttä 97486f15f8
feat: expand environment variables in maintainer (#463) 2022-03-18 00:07:12 -03:00
dependabot[bot] 38d54695f1
feat(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#476)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-16 11:23:29 -03:00
Mikhail f. Shiryaev fd334c1801
feat: Update rpmpack to version with pgzip (#475) 2022-03-14 16:11:14 -03:00
dependabot[bot] 2d130950d9
chore(deps): bump anchore/sbom-action from 0.6.0 to 0.7.0 (#472)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](https://github.com/anchore/sbom-action/compare/v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 09:18:45 -03:00
dependabot[bot] 58ede2f0eb
chore(deps): bump sigstore/cosign-installer from 2.0.1 to 2.1.0 (#473)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v2.0.1...v2.1.0)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 09:17:30 -03:00
dependabot[bot] 649bece2ca
chore(deps): bump actions/checkout from 2 to 3 (#471)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 09:14:56 -03:00
Carlos A Becker b2be4a9b8e
test: added test case for #469
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-03-01 20:10:24 -03:00
Carlos A Becker 4a49bb986b
chore: go mod tidy
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-25 22:08:31 -03:00
dependabot[bot] b20b9ece20
chore(deps): bump golangci/golangci-lint-action from 2 to 3 (#467)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 2 to 3.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-25 08:45:56 -03:00
Carlos A Becker 0b98cf74e4
docs: add community section to readme
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-23 09:13:48 -03:00
dependabot[bot] db89c55a81
chore(deps): bump sigstore/cosign-installer from 2.0.0 to 2.0.1 (#465)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-22 21:40:35 -03:00
Ville Skyttä b684867299
style: spelling and grammar fixes (#462) 2022-02-21 15:53:33 -03:00
dependabot[bot] 5e6e6f645d
chore(deps): bump actions/github-script from 5 to 6 (#460)
Bumps [actions/github-script](https://github.com/actions/github-script) from 5 to 6.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-14 08:46:05 -03:00
Mikhail f. Shiryaev b953fee813
feat: replace compress/gzip by klauspost/pgzip (#457) 2022-02-13 14:31:37 -03:00
Mikhail f. Shiryaev 96c7b1f22f
fix: update rpmpack and change default compressor to gzip:-1 (a default level) instead of gzip:9 (#458)
* fix: use default compression level for rpm instead of 9

* test: add tests for different rpm compressors
2022-02-13 13:43:25 -03:00
Carlos A Becker 6aaec216fc
chore: fix docs action
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-12 01:00:58 -03:00
Mikhail f. Shiryaev c049e1c2f9
fix: processing symlinks in directories (#453)
* fix: proceed symlinks in contents as is

* Remove dead code

* fix: make OS independent test
2022-02-11 22:47:18 -03:00
dependabot[bot] 53a3fc20e5
feat(deps): bump github.com/goreleaser/fileglob from 1.2.0 to 1.3.0 (#455)
Bumps [github.com/goreleaser/fileglob](https://github.com/goreleaser/fileglob) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/goreleaser/fileglob/releases)
- [Changelog](https://github.com/goreleaser/fileglob/blob/main/.goreleaser.yml)
- [Commits](https://github.com/goreleaser/fileglob/compare/v1.2.0...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/goreleaser/fileglob
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-10 09:05:09 -03:00
Mikhail f. Shiryaev 1000d106c3
feat: expand ENV for dependencies versions (#454) 2022-02-09 20:49:37 -03:00
Carlos A Becker aba336ad1a
fix: docker image entrypoint
changed the bindir on #445, forgot to change it in the dockerfile as well

closes #452

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-09 08:50:40 -03:00
Carlos A Becker 4925c2d3a9
docs: improve issue templates
basically copied and modified from goreleaser
2022-02-07 14:32:20 -03:00
Carlos A Becker 28f96c7ae0
chore(ci): run lock only on main repo
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-05 16:13:42 -03:00
Carlos A Becker 142d148741
fix: bash completions on linux packages
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-04 23:04:40 -03:00
Carlos A Becker 0f086f1bbf
fix: lintian issues
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-04 15:01:28 -03:00
Carlos Alexandro Becker 1f50ccc830
fix: lintian issues (#445)
* fix: lintian issues

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: merge

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* docs: mention lintian

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: overrides

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-03 09:20:21 -03:00
Carlos Alexandro Becker 3ea7b84aa0
fix: vendor is not a recognized deb control field (#446)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-03 09:19:44 -03:00
Carlos Alexandro Becker c2aabd26f4
feat: bump mango (#447)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-03 09:19:30 -03:00
Carlos Alexandro Becker 00413e36dd
feat: publish to aur (#444)
* feat: migrate to coral

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* feat: generate man pages

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* feat: publish to aur

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-02 23:31:23 -03:00
Carlos Alexandro Becker 13e76671c0
feat: generate man pages (#443)
* feat: migrate to coral

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* feat: generate man pages

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-02 23:30:46 -03:00
Carlos Alexandro Becker 596412c6d1
feat: migrate to coral (#442)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-02 23:29:52 -03:00
Carlos Alexandro Becker 72a4c47b15
fix: deb multilines should have 1 space prefix (#438)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-02 22:39:25 -03:00
dependabot[bot] 6234af8e2c
chore(deps): bump sigstore/cosign-installer from 1.4.1 to 2.0.0 (#440)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 1.4.1 to 2.0.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v1.4.1...v2.0.0)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-01 11:10:55 -03:00
Carlos Alexandro Becker d16adac8c3
fix: create tree of dir content types (#431)
* fix(apk): create tree of dir types

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: create tree of dir contents

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* test: fixes

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-28 14:24:49 -03:00
Carlos A Becker ebe9ddfb6f
chore(ci): publish sboms
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-22 17:31:27 -03:00