After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 781616 - Missing license information
Missing license information
Status: RESOLVED FIXED
Product: gnome-usage
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Usage maintainer(s)
GNOME Usage maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-04-22 15:56 UTC by Felipe Borges
Modified: 2017-05-10 15:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add license header to every code file (46.20 KB, patch)
2017-04-26 14:29 UTC, Petr Štětka
none Details | Review
Add license header to every code file (45.59 KB, patch)
2017-04-26 14:34 UTC, Petr Štětka
none Details | Review
Add license header to every code file (14.95 KB, patch)
2017-05-03 13:11 UTC, Petr Štětka
none Details | Review
Add license header to every code file (43.46 KB, patch)
2017-05-10 14:13 UTC, Petr Štětka
committed Details | Review

Description Felipe Borges 2017-04-22 15:56:13 UTC
There is no license information so far in Usage's code base.

I personally would advocate to use GPLv3+, where we would prepend the following header to every code file:

/* application.vala
 *
 * Copyright (C) 2017 Red Hat, Inc.
 *
 * 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 <http://www.gnu.org/licenses/>.
 *
 * Authors: Petr Štětka <pstetka@redhat.com>
 *          Felipe Borges <felipeborges@gnome.org>
 */

Updating the Authors list according to the developers that made significant contributions to the given source code file.

Other than that, we should distribute at least a COPYING or LICENSE file containing the full text of the license.

Thoughts?
Comment 1 Petr Štětka 2017-04-22 18:52:28 UTC
I think we can add this header to every code file. 

However, the LICENSE file already exists, containing the full text of the GPLv3 license.
Comment 2 Petr Štětka 2017-04-26 14:29:36 UTC
Created attachment 350484 [details] [review]
Add license header to every code file
Comment 3 Petr Štětka 2017-04-26 14:34:02 UTC
Created attachment 350487 [details] [review]
Add license header to every code file
Comment 4 Felipe Borges 2017-05-02 09:42:45 UTC
Review of attachment 350487 [details] [review]:

Thanks for the patch!

I don't think you should place me as an author in every single file. Just the ones that I wrote or did significant changes.

Please rework this commit to add just your name and I will add my name in the files that I will touch from now on.
Comment 5 Petr Štětka 2017-05-03 13:11:33 UTC
Created attachment 350972 [details] [review]
Add license header to every code file
Comment 6 Felipe Borges 2017-05-10 13:38:40 UTC
Review of attachment 350972 [details] [review]:

This patch applies on top of your previous patch, not in the current code base.
Comment 7 Petr Štětka 2017-05-10 14:13:12 UTC
Created attachment 351552 [details] [review]
Add license header to every code file
Comment 8 Felipe Borges 2017-05-10 14:58:22 UTC
Review of attachment 351552 [details] [review]:

sure.
Comment 9 Petr Štětka 2017-05-10 15:23:29 UTC
Review of attachment 351552 [details] [review]:

Thanks!
I pushed it as ca94063567c635c67d26c706102a0fb0fc6b9de6.
Comment 10 Petr Štětka 2017-05-10 15:24:25 UTC
I close this bug as resolved.