gofed / go-macros

Rpm mechanics for Go packaging
4 stars 7 forks source link

[RFE] Have each devel rpm provide its own glide.lock file #51

Open ingvagabund opened 6 years ago

ingvagabund commented 6 years ago

Every devel rpm should provide a dependency snapshot file (e.g. glide.lock) so a tooling performing analysis know which dependencies of which commits were used to compile the source code.

E.g. put the glide.lock into the same directory where the .goipath file is.

ingvagabund commented 6 years ago

This can not be automatically performed by the %goinstall. More like it is up to a maintainer to make sure glide.lock. GLOGFILE, Godeps.json or any other variant of the dependency file is install in the same directory as .goipath is. Given the %goinstall itself already does that, it's just simply enough to do %goinstall glide.lock, resp. %goinstall -i IPPREFIX glide.lock.

So the only action to do is to document it.