Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • G GLib
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 861
    • Issues 861
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 40
    • Merge requests 40
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • GLib
  • Issues
  • #1415
Closed
Open
Issue created Jun 11, 2018 by Philip Withnall@pwithnall☕Maintainer18 of 123 checklist items completed18/123 checklist items

Ensure copyright and licensing headers are REUSE compliant

It would be useful for packagers and vendors to have a complete and unambiguous record of the licensing of GLib. This can be achieved (and mechanically checked) using REUSE.

See the REUSE tutorial for the details of the tags to add to each file. Most files in GLib already have a non-machine-readable copyright and licensing header; this task requires that those headers are made machine-readable.

The time-consuming part of this task will be hunting down the correct license and list of contributors for files which don’t already have a non-machine-readable copyright and licensing header. That will require digging through the git logs to look for major contributors to each file.

Note that a lot of the smaller ancillary directories can be bulk licensed.

Simon has some helpful thoughts about the benefits of keeping the full-text licensing and copyright headers in files and not just using the short-form SPDX tags: https://gitlab.freedesktop.org/dbus/dbus/-/merge_requests/304#note_1387796

Current summary output of reuse lint on the root of GLib (with !2663 (merged) and !3049 (merged) applied):

  • Bad licenses:
  • Deprecated licenses:
  • Licenses without file extension:
  • Missing licenses:
  • Unused licenses:
  • Used licenses: Apache-2.0, CC0-1.0, GPL-2.0-or-later, LGPL-2.1-or-later, LLVM-exception, LicenseRef-old-glib-tests, MIT
  • Read errors: 0
  • Files with copyright information: 1637 / 2044
  • Files with license information: 1485 / 2044

Unfortunately, your project is not compliant with version 3.0 of the REUSE Specification :-(

Missing copyright and licensing information

  • .clang-format
  • .dir-locals.el
  • .editorconfig
  • .gitignore
  • .gitlab-ci/*
  • .gitlab-ci.yml
  • .lcovrc
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • HACKING
  • INSTALL.md
  • NEWS
  • README.md
  • README.win32.md
  • SECURITY.md
  • docs/*
  • docs/reference/*
  • docs/reference/COPYING — see #2386
  • docs/reference/gio/*
  • docs/reference/gio/gdbus-object-manager-example/*
  • docs/reference/gio/xml/*
  • docs/reference/glib/*
  • docs/reference/glib/xml/*
  • docs/reference/gobject/*
  • docs/reference/gobject/images/*
  • docs/reference/gobject/xml/*
  • fuzzing/* — !2666 (merged)
  • gio/completion/*
  • gio/*
  • gio/gapplicationimpl.h: !2797 (merged)
  • gio/gdbus-2.0/codegen/*
  • gio/gdbusdaemon.[ch]: !2797 (merged)
  • gio/gioenumtypes.[ch].template: !2797 (merged)
  • gio/gvdb/gvdb.doap
  • gio/gwin32api-*.h: !2797 (merged)
  • gio/inotify/meson.build
  • gio/kqueue/meson.build
  • gio/tests/*: !3049 (merged)
  • gio/tests/actions.c: !2797 (merged)
  • gio/tests/de/LC_MESSAGES/meson.build
  • gio/tests/de.po
  • gio/tests/desktop-files/usr/applications/mimeinfo.cache
  • gio/tests/modules/meson.build
  • gio/tests/modules/symbol-visibility.h
  • gio/tests/services/*
  • gio/tests/static-link/app.c
  • gio/tests/static-link/meson.build
  • gio/tests/x-content/unix-software/autorun.sh
  • gio/win32/meson.build
  • gio/xdgmime/.gitignore
  • gio/xdgmime/meson.build
  • glib/deprecated/gallocator.c
  • glib/deprecated/gallocator.h
  • glib/dirent/*
  • glib/glib-mirroring-tab/meson.build
  • glib/gnulib/*
  • glib/libcharset/*
  • glib/tests/*: !3049 (merged)
  • glib/tests/path-test-subdir/meson.build
  • glib/tests/path-test-subdir/spawn-test-helper.c
  • glib/tests/time-zones/*
  • glib.doap
  • gmodule/AUTHORS
  • gmodule/meson.build
  • gmodule/tests/meson.build
  • gobject/*
  • gobject/tests/*: !3049 (merged)
  • gthread/gthread.def
  • gthread/meson.build
  • m4macros/*
  • meson.build
  • meson_options.txt
  • msvc_recommended_pragmas.h
  • po/LINGUAS
  • po/POTFILES.in
  • po/POTFILES.skip
  • po/meson.build
  • subprojects/*.wrap: !2797 (merged)
  • tests/*
  • tests/gobject/*
  • tests/refcount/*
  • tools/check-abis.sh
  • tools/glib.supp
  • tools/meson.build

Missing copyright information

  • .gitlab-ci/clang-format-diff.py

Missing license information

  • .gitlab-ci/android-ndk.sh
  • .gitlab-ci/coverity-model.c
  • docs/reference/gio/concat-files-helper.py
  • gio/completion/gio
  • gio/* — !2665 (merged)
  • gio/gdbus-2.0/codegen/*
  • gio/gvdb/*
  • gio/inotify/*
  • gio/kqueue/*
  • gio/tests/* — !2665 (merged)
  • gio/win32/*
  • gio/xdgmime/*
  • glib/deprecated/* — !2706 (merged)
  • glib/* — !2665 (merged)
  • glib/glib-mirroring-tab/gen-mirroring-tab.c
  • glib/glib-mirroring-tab/packtab.c
  • glib/glib-mirroring-tab/packtab.h
  • glib/gnulib/*
  • glib/libcharset/*
  • glib/tests/* — !2665 (merged)
  • gmodule/* — !2706 (merged)
  • gmodule/gmodule.rc.in
  • gmodule/tests/cxx.cpp — !2706 (merged)
  • gobject/* — !2706 (merged)
  • gobject/gobject.rc.in
  • gobject/tests/autoptr.c
  • gobject/tests/closure-refcount.c
  • gobject/tests/dynamictests.c
  • gobject/tests/threadtests.c
  • gobject/tests/* — !2706 (merged)
  • gthread/gthread-impl.c — !2706 (merged)
  • gthread/gthread.rc.in
  • m4macros/attributes.m4
  • m4macros/glib-gettext.m4
  • po/Makefile.in.in
  • po/po2tbl.sed.in
  • tests/gobject/*
  • tools/glib-gettextize.in — !2706 (merged)
Edited Nov 02, 2022 by Philip Withnall
Assignee
Assign to
Time tracking