-
Notifications
You must be signed in to change notification settings - Fork 2k
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 more machine-readable data about the license #1274
Conversation
This small change is meant to make LibreJS happy. Closes: handlebars-lang#1273
@@ -22,8 +22,9 @@ module.exports = function(grunt) { | |||
dist: { | |||
options: { | |||
processContent: function(content) { | |||
return grunt.template.process('/**!\n\n @license\n <%= pkg.name %> v<%= pkg.version %>\n\n<%= grunt.file.read("LICENSE") %>\n*/\n') | |||
+ content; | |||
return grunt.template.process('/**!\n\n @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat\n <%= pkg.name %> v<%= pkg.version %>\n\n<%= grunt.file.read("LICENSE") %>\n*/\n') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where does this magical value come from?
Oops, yes, I should have said that... It comes from https://www.gnu.org/software/librejs/free-your-javascript.html On Nov 23, 2016 03:49, "Lon Ingram" [email protected] wrote:
|
@marado Ok, thanks. Do we also need |
That's how I read the documentation, yes. On Nov 23, 2016 15:21, "Lon Ingram" [email protected] wrote:
|
I just was a bit confused, because there is no explicit magnet-link for the MIT-license on the page on the libreJS-page. It just says:
But the expat-license is what's in Handlebars' LICENSE.md file, so everything is fine. I would like to merge the PR. I would normally do 'squash and merge' or 'rebase and merge' but that would make me the author of the commit (I'm not sure with 'rebase and merge'). Could you rebase the branch onto of master so that I can merge it? |
Since this is only one commit, there's nothing really to squash, and rebase and merge should not create a new commit (thus not crunching the authorship of the patch). So feel free to go ahead and 'rebase and merge'. If in any case github ends up munching the authorship, well, I won't loose any sleep over it either :-) |
BTW, the magnet links are on that page, check section 3.2.2.1 (List of magnet links for valid licenses). |
You're right. It's still yours. Yes, the magnet links are on the page, yes, but there is no link for MIT, just for "expat" and "X11". |
Oh, I see. |
This small change is meant to make LibreJS happy.
Closes: #1273