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

Add default license to project #51

Closed
goodmami opened this issue Nov 19, 2020 · 0 comments
Closed

Add default license to project #51

goodmami opened this issue Nov 19, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@goodmami
Copy link
Owner

Currently each version of an indexed project has its own license. While it's possible for a project to relicense with a new version, I think it's very unlikely, so it would be more convenient to have a default license defined at the project level. E.g.,

config.add_project('ewn', 'Open English Wordnet', 'en', license='...')
config.add_version('ewn', '2019', url='...')
config.add_version('ewn', '2020', url='...')

Then wn.config.get_project_info() would use the version license if present and the default project license otherwise.

@goodmami goodmami added the enhancement New feature or request label Nov 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant