Skip to content

Add vendor profile and integrate go-vendor-tools

Maxwell G requested to merge gotmax23/go2rpm-fork:vendor2 into main

TODO

How to test

I suggest using pipx (sudo dnf install pipx) to run go2rpm from the source tree

pipx install git+https://gitlab.com/gotmax23/go2rpm-fork.git@vendor2
sudo dnf copr enable @go-sig/go-vendor-tools-dev 
sudo dnf install go-vendor-tools+all trivy

pipx will install go2rpm to ~/.local/bin. See steps in https://fedora.gitlab.io/sigs/go/go-vendor-tools/scenarios/#generate-specfile-with-go2rpm.

To pull in new changes:

pipx reinstall go2rpm

To uninstall once you're finished testing:

pipx uninstall go2rpm

To build the package in mock:

fedpkg --release rawhide mockbuild -- -a 'https://download.copr.fedorainfracloud.org/results/@go-sig/go-vendor-tools-dev/fedora-rawhide-$basearch/'

To build the package in Copr:

Add copr://@go-sig/go-vendor-tools-dev to the External Repositories list in the settings.


Closes: go-vendor-tools#13 (closed)

Edited by Maxwell G

Merge request reports