Closed BastianZim closed 2 years ago
Hi @BastianZim, just sharing my guesses first:
go mod download
)
- And additionally, the docs include
/
before the folder where the output is stored. Is that OS-specific, or is that correctly translated for Win? Ref: https://github.com/google/go-licenses#complying-with-license-terms
Yes, that's OS-specific. I'm not sure whether go-licenses work properly in windows, recommend reporting a separate issue if you hit any problems.
FYI, I just revamped documentation in https://github.com/google/go-licenses/pull/111, if you still have anything unclear.
Working now with the new docs, thanks!
Hi everybody,
I have a question about extracting the license of a freshly built package.
Background is, that I would like to add this tool to the conda-forge docs to make it easier for maintainers to correctly include go licenses.
The collection of licenses would therefore be right after a package is built with the ideal process being the following:
Conda-build builds the package
go-licenses downloads all licenses
conda-build includes the output folder in the package and finishes packaging it.
Step 1. and 3. is taken care of by our infrastructure but 2. fails with
Logs: https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=479803&view=logs&jobId=656edd35-690f-5c53-9ba3-09c10d0bea97&j=656edd35-690f-5c53-9ba3-09c10d0bea97&t=e5c8ab1d-8ff9-5cae-b332-e15ae582ed2d
The script for this is:
Ref: https://github.com/conda-forge/go-sops-feedstock/pull/9/files
And the PR where I tried this is https://github.com/conda-forge/go-sops-feedstock/pull/9
Therefore, my question would be:
How do I need to include
go-licenses
in the workflow so that everything is captured?And additionally, the docs include
/
before the folder where the output is stored. Is that OS-specific, or is that correctly translated for Win? Ref: https://github.com/google/go-licenses#complying-with-license-terms