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

Search for local LICENSE file? #6

Open
pdehaan opened this issue Mar 29, 2014 · 1 comment
Open

Search for local LICENSE file? #6

pdehaan opened this issue Mar 29, 2014 · 1 comment
Labels

Comments

@pdehaan
Copy link
Contributor

pdehaan commented Mar 29, 2014

More of an odd question rather than a bug...

I was looking through the inferLicenseURL() method and wasn't sure if you wanted to:

  1. Add "MPL" license (I'm biased here): http://www.mozilla.org/MPL/
  2. Search the local repo for a LICENSE file and link to that. This could be a bit mucky since it requires some OS filesystem stuff and then possibly trying to determine a fully qualified URL to said license.

I can split these out into separate GitHub issues if you want.

@jonschlinkert
Copy link
Owner

sure, I'm open to whatever. even adding logic that hits the file system and does a search could be fast if we whitelist some file names, and maybe use glob patterns based on those.

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

No branches or pull requests

2 participants