Skip to content

Commit

Permalink
Make repo REUSE compliant, add CI job for reuse-action (#1523)
Browse files Browse the repository at this point in the history
* Add reuse configuration to repo

* Add .license sidecar files

* Add license headers in src/

* Add license headers in webextension/

* Add license headers in data/

* Add license headers in po/

* Add license headers in installed-tests/

* Add license headers in .github/

* Add remaining license headers

* Add REUSE check to CI

Co-authored-by: Andy Holmes <[email protected]>
  • Loading branch information
ferdnyc and andyholmes authored Nov 21, 2022
1 parent a2e71c3 commit db77325
Show file tree
Hide file tree
Showing 249 changed files with 1,553 additions and 401 deletions.
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: GSConnect Developers https://github.com/GSConnect
#
# SPDX-License-Identifier: GPL-2.0-or-later

# Topmost editorconfig for project, don't ascend
# to parent directories when scanning configs
root = true
Expand Down
3 changes: 3 additions & 0 deletions .eslintrc.json.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: GSConnect Developers https://github.com/GSConnect

SPDX-License-Identifier: GPL-2.0-or-later
4 changes: 4 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# SPDX-FileCopyrightText: GSConnect Developers https://github.com/GSConnect
#
# SPDX-License-Identifier: GPL-2.0-or-later

[flake8]
extend-ignore = E402
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ assignees: ''

---

<!--
SPDX-FileCopyrightText: GSConnect Developers https://github.com/GSConnect
SPDX-License-Identifier: GPL-2.0-or-later
-->

> ***ATTENTION**: GSConnect only supports the latest, stable version of GNOME. We are no longer accepting bug reports for previous versions.*
**Describe the bug**
Expand Down
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request-or-idea.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ assignees: ''

---

<!--
SPDX-FileCopyrightText: GSConnect Developers https://github.com/GSConnect
SPDX-License-Identifier: GPL-2.0-or-later
-->

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Expand Down
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: GSConnect Developers https://github.com/GSConnect
#
# SPDX-License-Identifier: GPL-2.0-or-later

version: 2
updates:
- package-ecosystem: github-actions
Expand Down
4 changes: 4 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: GSConnect Developers https://github.com/GSConnect
#
# SPDX-License-Identifier: GPL-2.0-or-later

# Add <triage> label to new issues
triage:
- '.*'
4 changes: 4 additions & 0 deletions .github/workflows/gnome-3-36.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: GSConnect Developers https://github.com/GSConnect
#
# SPDX-License-Identifier: GPL-2.0-or-later

name: gnome-3-36

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/gnome-3-38.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: GSConnect Developers https://github.com/GSConnect
#
# SPDX-License-Identifier: GPL-2.0-or-later

name: gnome-3-38

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/issue-labeler.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: GSConnect Developers https://github.com/GSConnect
#
# SPDX-License-Identifier: GPL-2.0-or-later

name: Issue Labeler
on:
issues:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: GSConnect Developers https://github.com/GSConnect
#
# SPDX-License-Identifier: GPL-2.0-or-later

name: CI

on:
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# SPDX-FileCopyrightText: GSConnect Developers https://github.com/GSConnect
#
# SPDX-License-Identifier: GPL-2.0-or-later

name: REUSE Verification

on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: REUSE Compliance Check
uses: fsfe/[email protected]
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# SPDX-FileCopyrightText: GSConnect Developers https://github.com/GSConnect
#
# SPDX-License-Identifier: GPL-2.0-or-later

_build
*~
23 changes: 23 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: gnome-shell-extension-gsconnect
Upstream-Contact: GSConnect Developers <>
Source: https://github.com/GSConnect/gnome-shell-extension-gsconnect

# Sample paragraph, commented out:
#
# Files: src/*
# Copyright: $YEAR $NAME <$CONTACT>
# License: ...

Files: data/icons/* data/images/* data/metainfo/*.png
Copyright: GSConnect Developers <>
License: GPL-2.0-or-later

Files: installed-tests/data/*
Copyright: GSConnect Developers <>
License: GPL-2.0-or-later

Files: webextension/images/*
Copyright: GSConnect Developers <>
License: GPL-2.0-or-later

6 changes: 6 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: GSConnect Developers https://github.com/GSConnect
SPDX-License-Identifier: GPL-2.0-or-later
-->

# Code of Conduct

While taking part in this project, all that is required is to stay on topic.
Expand Down
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: GSConnect Developers https://github.com/GSConnect
SPDX-License-Identifier: GPL-2.0-or-later
-->

# Contributing

Thank you for considering contributing to this project. It means that you not
Expand Down
Loading

0 comments on commit db77325

Please sign in to comment.