hadolint icon indicating copy to clipboard operation
hadolint copied to clipboard

Missing the license header for GPL-3.0

Open chenrui333 opened this issue 5 years ago • 1 comments

  • [x] This is a bug report
  • [ ] This is a feature request
  • [ ] I searched existing issues before opening this one

Expected behavior

👋 Per SPDX license index, gpl-3.0 is the deprecated license, adding a license header would further clarify the license application and solve my issue. Thanks.

Kind of relates to https://github.com/Homebrew/homebrew-core/pull/59739

Cheers.

Possible action

Including this into the README (for gpl-3.0-or-later):

Standard License Header
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>

This program 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 of the License, or (at your option) any later version.

This program 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 <https://www.gnu.org/licenses/>.

If you'd prefergpl-3.0-only, please include this into the README.

Standard License Header
Copyright (C) <year> <name of author>
This program 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, version 3.

This program 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 <https://www.gnu.org/licenses/>.

chenrui333 avatar Aug 17 '20 02:08 chenrui333

I don't think this is a bug. This is merely a convince. The LICENSE file clearly states it is 3.0 and not 3.0 or later. Also 3.0 is not deprecated but SPDX wants you to clarify if it is 3.0-only or 3.0-or-later.

Homebrew could also just parse the LICENSE file or ask the GitHub Api.

SuperSandro2000 avatar Aug 18 '20 16:08 SuperSandro2000