On Thu, May 15, 2025 at 12:51 AM W. Michael Petullo via golang <
golang@lists.fedoraproject.org> wrote:

> > FYI, members of Go-SIG plan to propose vendoring dependencies as the
> > default method to package Golang packages.
> >
> > This is the draft of the document:
> > https://fedoraproject.org/wiki/Changes/GolangPackagesVendoredByDefault
>
> I would like to experiment with go2rpm's vendor profile. I am trying to
> use it to build a Hugo package with vendored dependencies. I think I
> have figured out how to "correct" licenses the tool does not autodetect.
> However, one of the required modules, github.com/gohugoio/testmodBuilder,
> does not contain a license file at all, at least in the version go2rpm
> grabs.
>
> How do I handle this?
>
> Running this:
>
> go_vendor_license --config go-vendor-tools.toml explicit --f vendor/
> <http://github.com/gohugoio/testmodBuilder/mods/COPYING>
> github.com/gohugoio/testmodBuilder
> <http://github.com/gohugoio/testmodBuilder/mods/COPYING>/mods/COPYING
> <http://github.com/gohugoio/testmodBuilder/mods/COPYING> MIT
>
> seems to complain that vendor/
> github.com/gohugoio/testmodBuilder/mods/COPYING does not exist.
> (It does not.)
>
>
In this case, I think you should point to the LICENSE file at the top level
of the project ->
https://github.com/gohugoio/testmodBuilder/blob/master/LICENSE



> --
> Mike
>
> :wq
> --
> _______________________________________________
> golang mailing list -- golang@lists.fedoraproject.org
> To unsubscribe send an email to golang-le...@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/golang@lists.fedoraproject.org
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
>
-- 
_______________________________________________
golang mailing list -- golang@lists.fedoraproject.org
To unsubscribe send an email to golang-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/golang@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to