Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export local license paths #144

Closed
dschmidt opened this issue Sep 6, 2022 · 2 comments · Fixed by #179
Closed

Export local license paths #144

dschmidt opened this issue Sep 6, 2022 · 2 comments · Fixed by #179

Comments

@dschmidt
Copy link

dschmidt commented Sep 6, 2022

Hey

as mentioned in another ticket I'm creating a licenses page in my web app. I would like to link the licenses I dumped with the save command instead of relying on the online link.

For example I basically need to link to
webroot/licenses_backend/github.com/cpuguy83/go-md2man/v2/md2man/LICENSE.md
for
github.com/cpuguy83/go-md2man/v2/md2man,https://github.com/cpuguy83/go-md2man/blob/v2.0.2/LICENSE.md,MIT

I could now try to do some string magic and extract LICENSE.md from the URL and concatenate it with the package url, but that seems like a very brittle solution.
Could you make github.com/cpuguy83/go-md2man/v2/md2man/LICENSE.md to the templates?

@Bobgy
Copy link
Collaborator

Bobgy commented Sep 6, 2022

Similarly, welcome contribution on this!

@gwatts
Copy link
Contributor

gwatts commented Jan 13, 2023

@dschmidt I had a similar issue.. does #179 do what you need?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants