summaryrefslogtreecommitdiff
path: root/.ci/templates
diff options
context:
space:
mode:
authorGravatar Andrea Pappacoda2022-05-15 02:06:02 +0200
committerGravatar Andrea Pappacoda2022-07-27 12:53:49 +0200
commitcdb240f3d4d9c0d6d56e6660d8c45da4ab60ff59 (patch)
tree7408bc4f2cfae74247b567fd852700c2c69b006d /.ci/templates
parentMerge pull request #8652 from lat9nq/ffmpeg-gh (diff)
downloadyuzu-cdb240f3d4d9c0d6d56e6660d8c45da4ab60ff59.tar.gz
yuzu-cdb240f3d4d9c0d6d56e6660d8c45da4ab60ff59.tar.xz
yuzu-cdb240f3d4d9c0d6d56e6660d8c45da4ab60ff59.zip
chore: make yuzu REUSE compliant
[REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to 01cf05bc75b1e47beb08937439f3ed9339e7b254
Diffstat (limited to '.ci/templates')
-rw-r--r--.ci/templates/build-mock.yml3
-rw-r--r--.ci/templates/build-msvc.yml3
-rw-r--r--.ci/templates/build-single.yml3
-rw-r--r--.ci/templates/build-standard.yml3
-rw-r--r--.ci/templates/build-testing.yml3
-rw-r--r--.ci/templates/format-check.yml3
-rw-r--r--.ci/templates/merge-private.yml3
-rw-r--r--.ci/templates/merge.yml3
-rw-r--r--.ci/templates/mergebot-private.yml3
-rw-r--r--.ci/templates/mergebot.yml3
-rw-r--r--.ci/templates/release-download.yml3
-rw-r--r--.ci/templates/release-github.yml3
-rw-r--r--.ci/templates/release-private-tag.yml3
-rw-r--r--.ci/templates/release-universal.yml3
-rw-r--r--.ci/templates/retrieve-artifact-source.yml3
-rw-r--r--.ci/templates/retrieve-master-source.yml3
-rw-r--r--.ci/templates/sync-source.yml3
17 files changed, 51 insertions, 0 deletions
diff --git a/.ci/templates/build-mock.yml b/.ci/templates/build-mock.yml
index 0318a0ad8..3d3bb6d86 100644
--- a/.ci/templates/build-mock.yml
+++ b/.ci/templates/build-mock.yml
@@ -1,3 +1,6 @@
1# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
2# SPDX-License-Identifier: GPL-2.0-or-later
3
1steps: 4steps:
2 - script: mkdir artifacts || echo 'X' > artifacts/T1.txt 5 - script: mkdir artifacts || echo 'X' > artifacts/T1.txt
3 - publish: artifacts 6 - publish: artifacts
diff --git a/.ci/templates/build-msvc.yml b/.ci/templates/build-msvc.yml
index 5d2e86179..fe5cce563 100644
--- a/.ci/templates/build-msvc.yml
+++ b/.ci/templates/build-msvc.yml
@@ -1,3 +1,6 @@
1# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
2# SPDX-License-Identifier: GPL-2.0-or-later
3
1parameters: 4parameters:
2 artifactSource: 'true' 5 artifactSource: 'true'
3 cache: 'false' 6 cache: 'false'
diff --git a/.ci/templates/build-single.yml b/.ci/templates/build-single.yml
index 7b27693be..3f81f9197 100644
--- a/.ci/templates/build-single.yml
+++ b/.ci/templates/build-single.yml
@@ -1,3 +1,6 @@
1# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
2# SPDX-License-Identifier: GPL-2.0-or-later
3
1parameters: 4parameters:
2 artifactSource: 'true' 5 artifactSource: 'true'
3 cache: 'false' 6 cache: 'false'
diff --git a/.ci/templates/build-standard.yml b/.ci/templates/build-standard.yml
index 57d36f813..314076f1f 100644
--- a/.ci/templates/build-standard.yml
+++ b/.ci/templates/build-standard.yml
@@ -1,3 +1,6 @@
1# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
2# SPDX-License-Identifier: GPL-2.0-or-later
3
1parameters: 4parameters:
2 version: '' 5 version: ''
3 6
diff --git a/.ci/templates/build-testing.yml b/.ci/templates/build-testing.yml
index 30c8aaac3..c8390b327 100644
--- a/.ci/templates/build-testing.yml
+++ b/.ci/templates/build-testing.yml
@@ -1,3 +1,6 @@
1# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
2# SPDX-License-Identifier: GPL-2.0-or-later
3
1parameters: 4parameters:
2 version: '' 5 version: ''
3 6
diff --git a/.ci/templates/format-check.yml b/.ci/templates/format-check.yml
index 5061f1cb8..1042e7d13 100644
--- a/.ci/templates/format-check.yml
+++ b/.ci/templates/format-check.yml
@@ -1,3 +1,6 @@
1# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
2# SPDX-License-Identifier: GPL-2.0-or-later
3
1parameters: 4parameters:
2 artifactSource: 'true' 5 artifactSource: 'true'
3 6
diff --git a/.ci/templates/merge-private.yml b/.ci/templates/merge-private.yml
index c74561c46..8b14065a3 100644
--- a/.ci/templates/merge-private.yml
+++ b/.ci/templates/merge-private.yml
@@ -1,3 +1,6 @@
1# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
2# SPDX-License-Identifier: GPL-2.0-or-later
3
1jobs: 4jobs:
2- job: merge 5- job: merge
3 displayName: 'pull requests' 6 displayName: 'pull requests'
diff --git a/.ci/templates/merge.yml b/.ci/templates/merge.yml
index 27c36e162..eec342120 100644
--- a/.ci/templates/merge.yml
+++ b/.ci/templates/merge.yml
@@ -1,3 +1,6 @@
1# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
2# SPDX-License-Identifier: GPL-2.0-or-later
3
1jobs: 4jobs:
2- job: merge 5- job: merge
3 displayName: 'pull requests' 6 displayName: 'pull requests'
diff --git a/.ci/templates/mergebot-private.yml b/.ci/templates/mergebot-private.yml
index f9a40cf61..1560f9a9c 100644
--- a/.ci/templates/mergebot-private.yml
+++ b/.ci/templates/mergebot-private.yml
@@ -1,3 +1,6 @@
1# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
2# SPDX-License-Identifier: GPL-2.0-or-later
3
1parameters: 4parameters:
2 matchLabel: 'dummy-merge' 5 matchLabel: 'dummy-merge'
3 matchLabelPublic: 'dummy-merge' 6 matchLabelPublic: 'dummy-merge'
diff --git a/.ci/templates/mergebot.yml b/.ci/templates/mergebot.yml
index a4c5c2a28..59523161c 100644
--- a/.ci/templates/mergebot.yml
+++ b/.ci/templates/mergebot.yml
@@ -1,3 +1,6 @@
1# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
2# SPDX-License-Identifier: GPL-2.0-or-later
3
1parameters: 4parameters:
2 matchLabel: 'dummy-merge' 5 matchLabel: 'dummy-merge'
3 6
diff --git a/.ci/templates/release-download.yml b/.ci/templates/release-download.yml
index f7e30690f..bd32de395 100644
--- a/.ci/templates/release-download.yml
+++ b/.ci/templates/release-download.yml
@@ -1,3 +1,6 @@
1# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
2# SPDX-License-Identifier: GPL-2.0-or-later
3
1steps: 4steps:
2 - task: DownloadPipelineArtifact@2 5 - task: DownloadPipelineArtifact@2
3 displayName: 'Download Windows Release' 6 displayName: 'Download Windows Release'
diff --git a/.ci/templates/release-github.yml b/.ci/templates/release-github.yml
index c200954f1..d20296ca0 100644
--- a/.ci/templates/release-github.yml
+++ b/.ci/templates/release-github.yml
@@ -1,3 +1,6 @@
1# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
2# SPDX-License-Identifier: GPL-2.0-or-later
3
1steps: 4steps:
2 - template: ./release-download.yml 5 - template: ./release-download.yml
3 - task: GitHubRelease@0 6 - task: GitHubRelease@0
diff --git a/.ci/templates/release-private-tag.yml b/.ci/templates/release-private-tag.yml
index e80d57593..70a8543b5 100644
--- a/.ci/templates/release-private-tag.yml
+++ b/.ci/templates/release-private-tag.yml
@@ -1,3 +1,6 @@
1# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
2# SPDX-License-Identifier: GPL-2.0-or-later
3
1steps: 4steps:
2 - script: chmod a+x $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh && $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh 5 - script: chmod a+x $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh && $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh
3 displayName: 'Apply Git Configuration' 6 displayName: 'Apply Git Configuration'
diff --git a/.ci/templates/release-universal.yml b/.ci/templates/release-universal.yml
index 707697007..151c8f35c 100644
--- a/.ci/templates/release-universal.yml
+++ b/.ci/templates/release-universal.yml
@@ -1,3 +1,6 @@
1# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
2# SPDX-License-Identifier: GPL-2.0-or-later
3
1steps: 4steps:
2 - template: ./release-download.yml 5 - template: ./release-download.yml
3 - task: UniversalPackages@0 6 - task: UniversalPackages@0
diff --git a/.ci/templates/retrieve-artifact-source.yml b/.ci/templates/retrieve-artifact-source.yml
index 47d217e7b..b4cce5890 100644
--- a/.ci/templates/retrieve-artifact-source.yml
+++ b/.ci/templates/retrieve-artifact-source.yml
@@ -1,3 +1,6 @@
1# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
2# SPDX-License-Identifier: GPL-2.0-or-later
3
1steps: 4steps:
2- checkout: none 5- checkout: none
3- task: DownloadPipelineArtifact@2 6- task: DownloadPipelineArtifact@2
diff --git a/.ci/templates/retrieve-master-source.yml b/.ci/templates/retrieve-master-source.yml
index a08a3f926..e497c0e18 100644
--- a/.ci/templates/retrieve-master-source.yml
+++ b/.ci/templates/retrieve-master-source.yml
@@ -1,3 +1,6 @@
1# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
2# SPDX-License-Identifier: GPL-2.0-or-later
3
1parameters: 4parameters:
2 needSubmodules: 'true' 5 needSubmodules: 'true'
3 6
diff --git a/.ci/templates/sync-source.yml b/.ci/templates/sync-source.yml
index 409e1cd83..e796b6238 100644
--- a/.ci/templates/sync-source.yml
+++ b/.ci/templates/sync-source.yml
@@ -1,3 +1,6 @@
1# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
2# SPDX-License-Identifier: GPL-2.0-or-later
3
1steps: 4steps:
2- ${{ if eq(parameters.artifactSource, 'true') }}: 5- ${{ if eq(parameters.artifactSource, 'true') }}:
3 - template: ./retrieve-artifact-source.yml 6 - template: ./retrieve-artifact-source.yml