1
0
mirror of https://github.com/arduino/library-registry.git synced 2025-07-17 20:40:59 +03:00
Commit Graph

4478 Commits

Author SHA1 Message Date
91cf1f803a Add schedule trigger to "Check Go Dependencies" workflow
The workflow is configured to run whenever any relevant file in the repository is changed. However, the results of the
workflow run are also dependent on the external environment it runs in, which include:

- The software running on the GitHub hosted GitHub Actions runner machines
- The GitHub Actions actions used by the workflow
- The dependencies that are installed by the workflow directly or via the GitHub Actions actions it uses

The workflow does not fully pin to a specific version of external tools. This was done in the interest of reducing the
maintenance burden of keeping the systems up to date. However, it also means that a new release of one of those tools
can cause the workflow runs to start failing (which might happen through an enhancement to that resource resolving a
false negative, or a defect causing a false negative).

When the repository file path trigger is used by itself, this sort of external breakage is only revealed when an
unrelated change triggers the workflow. That can be distracting even to a dedicated member of the project development
team, as well as confusing and discouraging to any contributor.

This type of change can be caught by adding a `schedule` event trigger that causes the workflow to run periodically in
addition to the other on-demand triggers. This allows the problem to be identified and resolved at the maintainer's
convenience, separate from the unrelated development work.
2022-05-02 22:40:50 -07:00
492cd278fe Detect unused dependency license metadata files
The "Check Go Dependencies" GitHub Actions workflow checks for dependencies with incompatible or unapproved license
types.

The dependency license metadata consumed by the "Licensed" tool is cached in the project repository, in a dedicated file
for each dependency.

The `check-cache` job of the workflow checks whether that cache is in sync with the project's current dependencies. It
does this by using the "Licensed" tool to update the cache and then a `git diff` command to check whether that resulted
in any changes (which would indicate it is out of sync).

Out of sync states could result from any of three distinct conditions:

- Missing metadata file
- Incorrect metadata file contents
- Superfluous metadata file

An incorrectly configured `git diff` command previously caused the last of these to be missed.

My first take at this system was simply using `git diff --exit-code` alone. That detects the last two, but misses the
first. I added the `git add --intent-to-add .` command to detect added files, but didn't realize that it caused the last
to be missed.

Superfluous files in the dependency license metadata cache won't actually interfere with its intended functionality, but
it is still important to avoid an accumulation of unused files.

The new commands will catch all three of the possible out of sync conditions by staging all changes that result from
the metadata cache update to the repository and then comparing those against the `HEAD` commit.

I considered an alternative approach which works just as well as the chosen one:

```
git add .
git diff --exit-code HEAD
```

However, I feel that the `--cached` flag makes the `git diff` command more self-explanatory.
2022-05-02 22:40:37 -07:00
331ed91e9a Update reference URLs in "Check Go Dependencies" workflow
- Use correct `actions/setup-go` reference for version in use
- Update redirecting GitHub docs URL to new location
- Configure GitHub docs URL to allow localization where available
2022-05-02 22:40:23 -07:00
ec33b1311a Add submission # 1352
https://github.com/arduino/library-registry/pull/1352
2022-05-02 19:47:57 +00:00
36965ea52a Add submission # 1349
https://github.com/arduino/library-registry/pull/1349
2022-05-02 07:59:23 +00:00
330f938fdc Add submission # 1348
https://github.com/arduino/library-registry/pull/1348
2022-05-01 20:09:10 +00:00
bbf6d0e767 Add submission # 1347
https://github.com/arduino/library-registry/pull/1347
2022-05-01 18:15:19 +00:00
8ef6a200ae Add submission # 1346
https://github.com/arduino/library-registry/pull/1346
2022-05-01 15:55:40 +00:00
749f766351 Add submission # 1344
https://github.com/arduino/library-registry/pull/1344
2022-05-01 04:46:26 +00:00
fb56abbcf7 Add submission # 1343
https://github.com/arduino/library-registry/pull/1343
2022-05-01 01:54:42 +00:00
730e6fbf5b Remove "Aspen SIM800" 2022-04-30 14:31:49 -07:00
5b9e34a09c Add submission # 1340
https://github.com/arduino/library-registry/pull/1340
2022-04-30 11:10:13 +00:00
ab8ef8909a Add submission # 1339
https://github.com/arduino/library-registry/pull/1339
2022-04-30 05:55:08 +00:00
cfb2cc52d3 Add submission # 1338
https://github.com/arduino/library-registry/pull/1338
2022-04-30 05:20:24 +00:00
682bceadb5 Add submission # 1337
https://github.com/arduino/library-registry/pull/1337
2022-04-30 02:24:23 +00:00
b5c4755bb1 Add submission # 1335
https://github.com/arduino/library-registry/pull/1335
2022-04-28 07:09:18 +00:00
bae250bb69 Add submission # 1334
https://github.com/arduino/library-registry/pull/1334
2022-04-27 15:02:18 +00:00
9de425db1d Add submission # 1332
https://github.com/arduino/library-registry/pull/1332
2022-04-27 11:07:10 +00:00
b70e5d37a7 Add submission # 1331
https://github.com/arduino/library-registry/pull/1331
2022-04-27 09:17:48 +00:00
0c3caa8afe Add submission # 1330
https://github.com/arduino/library-registry/pull/1330
2022-04-26 14:11:09 +00:00
0c2b17fb97 Add submission # 1328
https://github.com/arduino/library-registry/pull/1328
2022-04-25 09:53:46 +00:00
a3f59513ee Add submission # 1327
https://github.com/arduino/library-registry/pull/1327
2022-04-25 06:08:59 +00:00
611db9aba5 Merge pull request #1326 from arduino/dependabot/pip/production/pytest-7.1.2
Bump pytest from 7.1.1 to 7.1.2
2022-04-24 20:56:17 -07:00
393aa5d223 Bump pytest from 7.1.1 to 7.1.2
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.1.1 to 7.1.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.1.1...7.1.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 02:24:02 +00:00
b982b90578 Add submission # 1325
https://github.com/arduino/library-registry/pull/1325
2022-04-24 21:37:11 +00:00
4c69bbb37f Add submission # 1324
https://github.com/arduino/library-registry/pull/1324
2022-04-24 14:37:48 +00:00
902a1bb127 Add submission # 1323
https://github.com/arduino/library-registry/pull/1323
2022-04-24 11:30:31 +00:00
7c19e6769d Add submission # 1322
https://github.com/arduino/library-registry/pull/1322
2022-04-24 06:11:47 +00:00
9e99d70338 Add submission # 1321
https://github.com/arduino/library-registry/pull/1321
2022-04-23 15:44:30 +00:00
41db22b5ae Add submission # 1319
https://github.com/arduino/library-registry/pull/1319
2022-04-23 09:59:43 +00:00
c753a8d958 Add submission # 1318
https://github.com/arduino/library-registry/pull/1318
2022-04-22 13:24:23 +00:00
bb26be1b85 Add submission # 1316
https://github.com/arduino/library-registry/pull/1316
2022-04-21 15:21:22 +00:00
622810344d Add submission # 1314
https://github.com/arduino/library-registry/pull/1314
2022-04-21 10:27:01 +00:00
73ff316a16 Add submission # 1313
https://github.com/arduino/library-registry/pull/1313
2022-04-21 09:11:28 +00:00
3c1f715eb6 Add submission # 1312
https://github.com/arduino/library-registry/pull/1312
2022-04-20 19:51:51 +00:00
f714531251 Add submission # 1311
https://github.com/arduino/library-registry/pull/1311
2022-04-20 11:10:13 +00:00
8e5b7062ef Add submission # 1310
https://github.com/arduino/library-registry/pull/1310
2022-04-18 13:59:54 +00:00
6f6a5918a1 Add submission # 1307
https://github.com/arduino/library-registry/pull/1307
2022-04-18 03:08:01 +00:00
e880417821 Add submission # 1306
https://github.com/arduino/library-registry/pull/1306
2022-04-15 15:20:51 +00:00
19e97fc157 Add submission # 1305
https://github.com/arduino/library-registry/pull/1305
2022-04-15 04:22:03 +00:00
9de6c7d26a Add submission # 1304
https://github.com/arduino/library-registry/pull/1304
2022-04-14 22:10:24 +00:00
04660ff85e Add submission # 1303
https://github.com/arduino/library-registry/pull/1303
2022-04-14 17:58:10 +00:00
4afa290c4d Merge pull request #1269 from per1234/remove-ArreyExt
Remove "ArreyExt"
2022-04-14 18:12:06 +02:00
24f9a77842 Merge pull request #1300 from per1234/remove-DFRobot_A111
Remove https://github.com/DFRobot/DFRobot_A111
2022-04-14 16:13:14 +02:00
526b50657d Merge pull request #1298 from per1234/update-CAN_BUS_Shield
Update name and URL of "CAN_BUS_Shield"
2022-04-14 16:10:34 +02:00
8e99ee3c42 Add submission # 1302
https://github.com/arduino/library-registry/pull/1302
2022-04-14 03:31:32 +00:00
1aaa7098a0 Add submission # 1301
https://github.com/arduino/library-registry/pull/1301
2022-04-13 14:29:58 +00:00
95ab689de0 Remove https://github.com/DFRobot/DFRobot_A111
This library has been renamed as "DFRobot_RS01" and moved to https://github.com/DFRobot/DFRobot_RS01.

There is an existing registration for "DFRobot_RS01" so the library will now be available for installation from Library Manager via that name..
2022-04-12 00:24:56 -07:00
bd589a5fa3 Update URL of "CAN_BUS_Shield" 2022-04-11 22:47:56 -07:00
5fc5c0275c Update name of "CAN_BUS_Shield" 2022-04-11 22:46:36 -07:00