mpickering / hlint-refactor-mode

Emacs bindings for hlint's --refactor option
MIT License
27 stars 5 forks source link

Please specify the license for this package #8

Closed tarsius closed 6 years ago

tarsius commented 6 years ago

Could you please specify the license used for this package?

Assuming that you want to release under "the GPL v3 or any later version", the best way to do that would be to add this permission statement to the library header:

;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.

;; This file is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with this program.  If not, see <http://www.gnu.org/licenses/>.

Also consider adding a LICENSE file containing the text of the GPL-3. You could add just that file without also adding the above persmission statement, but if you do that, then the "or (at your option) any later version" bit won't be known. So I recommend that you add both the actual license and the permission statement.

If you find the permission statement to be too noisy, then you could instead add one of these following lines to the header. If you do that, then it becomes more important to also add the LICENSE file - a judge might decide that such a line by itself is not sufficient. Still, adding just such a line is better than not specifing the license at all.

;; License: GNU General Public License version 3, or (at your option) any later version
;; License: GNU General Public License version 3, or any later version
;; License: GNU GPL version 3, or (at your option) any later version
;; License: GPL version 3, or (at your option) any later version
;; License: GPL version 3, or any later version
;; License: GPL v3, or (at your option) any later version
;; License: GPL v3, or any later version
;; License: GPL-3+
tarsius commented 6 years ago

Friendly ping!

Sorry for being pushy, but it looks like Richard Stallman is going to request the removal of all unlicensed packages from Melpa in less than two weeks. If enough maintainers soon act in response to requests such as this one, then I might be able to convince him not to make that mistake, giving the remaining authors more time to act.

I think it would be a bit mistake to remove the unlicensed packages without giving maintainers enough time to act as that has the potential of causing a lot of bad blood.

So if you do have the time to do it now, then please do so. It would buy other maintainers more time.

Thanks a lot!

Ps: I am also contacting the maintainers of some packages that are not being distributed on Melpa. If your package is one of those, then please specify the license soon anyway.

Pps: You don't have to use the "GPLv3" or "GPLv3, or (at your option) any later version". You could also use another license that is compatible to the GPLv3, such as the MIT license. Please note that "the MIT license" is ambigious. To avoid that ambiguity you should put this text in a file named LICENSE.

Copyright (c) <year> <copyright holders>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Please also consider adding the same text to each library header. Only adding a line ;; License: MIT to library headers should be avoided because of the mentioned ambiguity.

shajra commented 6 years ago

Hello. I'm just a normal user, the package was removed from MELPA as indicated above just a day ago... and I was hit by it today.

I'm hoping adding the license is no big deal for the author, and we can get it back into MELPA.

Here's the commit that removed it: melpa/melpa@cf92ce1a2bc92c73071d157e7e223982bbd3f818

In the meantime, I can pull the repository explicitly.

mpickering commented 6 years ago

I am on holiday currently so I can't sort this out. I would prefer not to license with the GPL though, something like MIT or BSD3 would be fine I guess.

On 18 Aug 2017 05:06, "Sukant Hajra" notifications@github.com wrote:

Hello. I'm just a normal user, the package was removed from MELPA as indicated above just a day ago... and I was hit by it today.

I'm hoping adding the license is no big deal for the author, and we can get it back into MELPA.

Here's the commit that removed it: melpa/melpa@cf92ce1 https://github.com/melpa/melpa/commit/cf92ce1a2bc92c73071d157e7e223982bbd3f818

In the meantime, I can pull the repository explicitly.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mpickering/hlint-refactor-mode/issues/8#issuecomment-323253965, or mute the thread https://github.com/notifications/unsubscribe-auth/ABKQkeMPWM71Oqgyo2UbHUOHWU2Rm9pZks5sZQ2qgaJpZM4Omaxf .

shajra commented 6 years ago

MIT is fine by me. @tarsius above has given explicit options above of what to do for that license. Enjoy your vacation.

cocreature commented 6 years ago

sigh I thought we had two weeks to deal with this. I’ve now added an MIT license. @shajra can you handle adding this back to melpa?