Commit graph

11 commits

Author SHA1 Message Date
Morph
7513a154d3 apply-patches-by-label: Remove unused variables and imports 2023-01-29 19:53:14 -05:00
Morph
6c868a0757 apply-patches-by-label: Use python f-strings 2023-01-29 19:53:14 -05:00
Morph
1d8cd25345 ci: Abort on failure to query Github's API
This raises an exception if the GET request to Github's API returns anything other than 200 OK, ensuring we always have successful merges of tagged PRs.
Also, reduces the number of queried pages from 29 to 9 to reduce the number of requests.
2023-01-29 19:53:14 -05:00
Andrea Pappacoda
6a2efdda2f 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 b2eb103829
2022-07-27 12:53:49 +02:00
Morph
523cca810a ci: Don't fetch submodules when fetching PRs 2021-11-16 22:26:54 -05:00
Morph
59f608a022 ci: Print traceback on patch merge failure 2021-11-08 13:36:05 -05:00
Zach Hilman
33d3c95341 ci: Check additional pages on GitHub 2019-10-01 21:54:26 -04:00
Zach Hilman
13fe4d1095 ci: Iterate through GitHub pages for pull requests 2019-10-01 21:38:09 -04:00
Zach Hilman
80f965856f ci: Populate patreon PRs on public repository 2019-09-30 09:29:28 -04:00
Zach Hilman
5eea1cb1a5 ci: Optionally prepend commit messages with environment variable 2019-09-26 09:29:15 -04:00
Zach Hilman
6ddb4a1c1f Finalize Azure Pipelines Definitions
d
2019-07-13 21:34:40 -04:00