metacpan-api icon indicating copy to clipboard operation
metacpan-api copied to clipboard

License: link to full text

Open dolmen opened this issue 11 years ago • 3 comments

The "License" in the navbar should be a link to the text of the full license. That content should be either:

  1. a COPYING or LICENSE file in the distribution if it exists
  2. the output of Software::License for the value from META.{yml,json}

dolmen avatar Feb 04 '14 10:02 dolmen

We could attempt to add that data (license_file) to the release document... then we could link straight to the file without adding another api request.

Another option would be to make a controller like 'changes' (/license/release/@args) and just provide a link to that (assuming that we'll find the right file).

Any thoughts?

rwstauner avatar Feb 04 '14 13:02 rwstauner

It is fair to avoid guessing the filename (and have false positive). So implementing only 2. would be a good thing.

dolmen avatar Feb 05 '14 09:02 dolmen

Moving this to the api so that we can look into adding release.license_file.

oalders avatar Nov 11 '18 17:11 oalders