* fix: golangci-lint
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: update golangci-lint
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: docs
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: lint issues
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: test
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: test
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: test
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* add stricter linting
* As part of this it changes the API slightly changing all uses of the `nfpm.Info` object to accept a pointer to reduce memory usage as pointed out by `hugeParam: info is heavy (568 bytes); consider passing it by pointer (gocritic)`
* clean: remove last mentions to rpmbuild
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: goproxy
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: properly add the PostRemove script, not the PostInstall script
* feat: provide more field support for rpms
New RPM fields
---
* Description
* OS <= info.Platform
* Licence
* URL <= info.Homepage
* Vendor
* Packager <= info.Maintainer
* Provides
* Require <= info.Depends
* Obsolete <= info.Replaces
* Suggests
* Conflicts
Fixes
---
* RPM Compression types are supported again
* RPM Config files are supported again
* `rpmpack` will support all the rpm file types, so we could extend this more latter
* chore: disable wsl (a new linter in 1.20.x got golangci-lint) until we decide to enable it
* chore: address PR comments