1
0
mirror of https://github.com/arduino/library-registry.git synced 2025-07-07 14:41:10 +03:00
Commit Graph

4616 Commits

Author SHA1 Message Date
neo
d565b59e82 Add Azure RTOS library (#309) 2021-08-02 10:42:18 +00:00
dfe4436c76 Update repositories.txt (#308) 2021-08-02 09:14:43 +00:00
55857eae2f Update repositories.txt (#307) 2021-08-01 08:20:11 +00:00
02dd80f0f6 adding https://github.com/noah1510/unit-system to library list (#306)
* adding https://github.com/noah1510/unit-system to library list

* using a separate repo for arduino file structure
2021-07-31 11:32:58 +00:00
9a745998a1 Update repositories.txt (#305)
Adding library DisplayMenu
2021-07-30 19:05:46 +00:00
37e986588c Merge pull request #293 from per1234/url-update-128-main
Update URL for "RTCMemory"
2021-07-30 07:06:20 -07:00
2b7e254968 Merge pull request #303 from per1234/check-head-sha
Require that PR head matches that of diff when merging
2021-07-30 05:48:32 -07:00
68aa3a4cbb Update repositories.txt (#304) 2021-07-30 06:33:03 +00:00
6a270f76f5 Require that PR head matches that of diff when merging
Due to the limitations imposed by by using both `pull_request_target` and `issue_comment` events to trigger the
"Manage PRs" workflow, the PR diff used for the validation is procured via a GitHub API request.

It is necessary to check that the pull request state matches that of the diff, which is achieved via the `sha` parameter
of the GitHub API request used to merge. This can not be determined from the `github` context provided by GitHub Actions
to the workflow for either of the trigger events, so the pull request metadata is requested from the GitHub API at the
same time as the diff.

This situation requires different handling by the `merge-fail` job. Fortunately, the two failure causes result in
different values from the merge request workflow step's `status` output.
2021-07-29 20:26:21 -07:00
03bdfa7974 Reduce likelihood of spurious merge conflict bot comment
Previously, the "Manage PRs" workflow made a comment suggesting to resolve the merge conflict after any failure to merge
a pull request. This comment is worded in a way that makes it somewhat applicable to other causes, but still might cause
the submitter to waste time unnecessarily trying to figure out how to merge a nonexistent merge conflict when the failure
had a different cause.

The 405 response is not specific to a failure due to merge conflict, but I believe that all failures due to merge
conflict will result in a 405. This means that the check is not perfect, but will make spurious mentions of merge
conflict resolution less likely at least.

A review is requested from a maintainer any time the merge fails, so they will be able to investigate and provide
assistance if necessary.
2021-07-29 20:10:56 -07:00
PB2
f1114ecadb Add MotorController (#302) 2021-07-30 01:41:13 +00:00
2636446064 Add ESP32_C3_TimerInterrupt Library (#300) 2021-07-29 18:58:38 +00:00
d17394253e Update repositories.txt (#299) 2021-07-29 18:55:23 +00:00
efb9f23dab Update repositories.txt (#298) 2021-07-29 18:32:26 +00:00
c6520fdcde Update repositories.txt (#297) 2021-07-29 18:19:25 +00:00
ef7c2c9a59 Update repositories.txt (#296) 2021-07-29 15:38:19 +00:00
566b71460a Update repositories.txt (#295) 2021-07-29 15:17:18 +00:00
e337dac50a Update URL for "RTCMemory"
The repository name has been changed. Even though GitHub provides an automated redirect, it's safest to not rely on it working forever.
2021-07-28 02:04:13 -07:00
e2519657a3 Update repositories.txt (#292) 2021-07-28 07:51:35 +00:00
e2bc9eba52 Add hideakitai/ESP32SPISlave (#291) 2021-07-28 03:10:26 +00:00
cb92cba790 Update repositories.txt (#290) 2021-07-27 16:33:56 +00:00
d401d0fa38 Merge pull request #287 from Gitshaoxiang/main
add m5stack grbl module and update env unit lib
2021-07-27 03:44:57 -07:00
deb59023ab add M5STACK Module GRBL and rename ENV UNIT 2021-07-27 03:04:02 -07:00
13c3ced785 Merge pull request #283 from shubhamtrivedi95/patch-1
Update repositories.txt
2021-07-26 08:42:28 -07:00
be3b27e944 Update repositories.txt 2021-07-26 20:46:59 +05:30
d6867eb52c Merge pull request #278 from per1234/remove-UltraDistSensor
Remove "UltraDistSensor"
2021-07-26 06:21:40 -07:00
227b7d92b2 Merge pull request #282 from per1234/bump-parser
Bump library registry submission parser version used by "Manage PRs" workflow
2021-07-26 06:21:07 -07:00
014305a2cc Bump library registry submission parser
A new 1.1.0 version of `arduino/library-registry-submission-parser` is now available.
2021-07-26 06:16:25 -07:00
f0f6b2373d Merge pull request #281 from per1234/handle-invalid-pr
Handle general problems with pull request
2021-07-26 06:09:46 -07:00
398c8a9a55 Update repositories.txt (#280) 2021-07-26 11:13:18 +00:00
c8bc549a25 Remove "UltraDistSensor"
This library is being removed from Library Manager by Arduino due to security concerns.

Although there are no concerns about the library code itself, the library.properties metadata file contains an unfortunate typo in the `url` field. This causes the "More Info" link provided by the Library Manager to take the user to a misspelling of github.com owned by a typo squatter. The library author has already corrected this error, but there has not been a release of the library in the ~4 years since that time, and no response to an inquiry about the situation made ~3.5 years ago.

This was surely an honest mistake, without any malicious intent on the library author's part, but we need to resolve the situation. We will be happy to add the library back once the library maintainer has done the following:

- Create a new release or tag in the library's repository with the corrected `url` value.
- Delete the `1.0` tag that has the bad URL from the library's repository.
2021-07-26 01:38:14 -07:00
4f49186dcb new entry: add Bluepad32 library to registry (#277)
Add Bluepad32 library for Arduino to registry.
This library adds Bluetooth gamepad support for Arduino boards.
The boards must have a NINA co-processor.
2021-07-24 18:36:55 +00:00
f8385ae72b Handle general problems with pull request
When possible, if problems are detected in a pull request, the bot will attempt to guide the PR author through the
process of making a valid submission, which should be handled in a completely automated fashion on our end.

It has become clear that we need to prevent the removal of the final newline from `repositories.txt`. The existing system
did not accomodate this requirement. Submissions are validated on a per-library basis, and the bot comments based on
identifying which library the problem applies to. But this newline removal is not necessarily related to any specific
item added to the list. So handling for general problems with a submission PR is needed, which is added here.

Because the PR author is more likely to require assistance with resolving this sort of problem, PR review from a
maintainer is requested.
2021-07-24 08:59:00 -07:00
2641b1ed15 Update repositories.txt (#276) 2021-07-24 15:28:37 +00:00
48aa4428e3 Update repositories.txt (#274) 2021-07-24 13:40:49 +00:00
c674fc0225 Add a dedicated "Manage PRs" workflow job for review request
The workflow result might indicate either that the PR author could require assistance from a maintainer or that something
is wrong with the system. In this case, the situation is brought to the attention of the maintainers by requesting a pull
request review from them.

Due to the need to avoid requesting review from a maintainer when they are the PR author (which is not allowed and thus
would result in a spurious workflow failure), the code for requesting this review is not as trivial as might be expected.
Previously, this code was duplicated at multiple places in the workflow, and would become more so as additional code is
added. The workflow is made cleaner by moving that duplicated code to a single dedicated job, which is facilitated by the
recent reworking of the workflow structure.

This is a pure refactoring and should have no effect on the workflow behavior.
2021-07-24 06:14:45 -07:00
ec4a8a8be1 Use a variable to define error message prefix
Whenever the bot needs to communicate to the user about a blocking issue with their pull request that they are able to
resolve, a standardized prefix is added to the situation-specific error message (" **ERROR:**") to draw their
attention to this information. This standardized text occurred multiple times in the workflow, which might lead to it
becoming inconsistent over time, or just more work to improve the text. Use of an environment variable ensures that all
uses of the prefix will be consistent and allows it to be edited once in a single place.
2021-07-24 06:14:45 -07:00
584918e3db Update repositories.txt (#271) 2021-07-24 05:22:53 +00:00
6cc56b39f2 Add PololuOLED library (#270) 2021-07-23 23:43:10 +00:00
20cef9bb92 Update repositories.txt (#269)
Please add https://github.com/MrYsLab/NeoPixelConnect
2021-07-23 23:23:17 +00:00
f9fc1a1d1c Add Battery1865Stats lib (#267) 2021-07-22 21:28:21 +00:00
9e67790746 Update repositories.txt (#266) 2021-07-22 21:06:40 +00:00
f5acadff87 Add EmbUI framework (#265) 2021-07-22 18:26:56 +00:00
a6b855b2f6 Merge pull request #263 from Guswib/patch-1
Update repositories.txt
2021-07-22 07:29:30 -07:00
ae862dc8c9 Update repositories.txt 2021-07-22 15:59:14 +02:00
66e6768d98 add M5STACK 4RELAY ENV-III ATOM-DTU-LoRaWAN/NBIoT lib (#262) 2021-07-22 10:41:41 +00:00
eaa537c6c2 Update repositories.txt (#260) 2021-07-21 13:45:47 +00:00
09a809b5e0 Update repositories.txt (#257) 2021-07-21 11:16:43 +00:00
3773804bc0 Update repositories.txt (#256) 2021-07-21 07:18:44 +00:00
cdc276f970 Update repositories.txt (#255) 2021-07-20 22:22:59 +00:00