1
0
mirror of https://github.com/arduino/library-registry.git synced 2025-07-09 01:42:00 +03:00
Commit Graph

337 Commits

Author SHA1 Message Date
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
860eb55f0c Update repositories.txt (#254) 2021-07-20 20:58:17 +00:00
77c9535ed0 Merge pull request #251 from dattasaurabh82/patch-3
Update repositories.txt
2021-07-20 10:06:23 -07:00
739a9d4630 Update repositories.txt
There has been some naming changes, So I need to re-implement them. 
request to remove these two libraries for now:   
https://github.com/dattasaurabh82/RV8803TinyMegaCore
https://github.com/dattasaurabh82/tiny-i2c
2021-07-20 23:14:24 +08:00
3c2f864941 Update repositories.txt (#249) 2021-07-20 14:38:38 +00:00
f67d72a764 Merge pull request #231 from per1234/unlink-mention
Avoid linkification of bot user name in comment
2021-07-20 00:56:58 -07:00
5afc1b415a Added RV8803 support for new ATTINYs (#245) 2021-07-20 07:19:19 +00:00
2dc4692df3 Update repositories.txt (#243)
Added new library
2021-07-19 23:49:09 +00:00
e7ae915ae9 Merge pull request #242 from per1234/bump-parser
Bump submission parser version to 1.0.1
2021-07-19 15:14:23 -07:00
68adb1fd4c Update repositories.txt (#237) 2021-07-19 21:41:10 +00:00
9b8632c524 Bump submission parser version to 1.0.1
A new release of `arduino/library-registry-submission-parser` is out with some minor improvements to the error messages
the bot comments to a pull request when problems with a submission are found.
2021-07-19 14:38:40 -07:00
02d74654d5 Avoid linkification of bot user name in comment
In the event the checks on a submission PR fails, the bot comments with instructions for how the checks can be triggered
to run again once the user has resolved the issue. One option is to comment on the PR thread, mentioning ArduinoBot.

GitHub automatically linkifies mentions to the user's profile page, which occurs in these instructions. The ArduinoBot
profile page is not of relevance or interest in this context, so there is no benefit to providing a one click path for
its access. In addition, the link makes the text more difficult to copy. So it's better to prevent its linkification,
which is achieved by wrapping the text in backticks.
2021-07-19 09:54:41 -07:00
f31425ad7e Update repositories.txt (#229) 2021-07-19 15:14:13 +00:00
1e8ef83be6 Update repositories.txt (#227) 2021-07-19 14:50:11 +00:00
28972299ca Update repositories.txt (#226) 2021-07-19 14:03:23 +00:00
e08cc7ddb0 Added Tweakly Library (#225) 2021-07-19 13:32:39 +00:00
cbf1250cbe Merge pull request #224 from per1234/remove-runs-link
Remove workflow runs link from comment trigger reply
2021-07-19 06:14:00 -07:00
6602308773 Remove workflow runs link from comment trigger reply
In the event the cause of a submission check failure is resolved externally, the user can trigger the "Manage PRs"
workflow run by mentioning ArduinoBot in a reply to the PR thread. Unlike a workflow run triggered by a push to the pull
request, GitHub Actions does not provide any visible indication on the PR page of the workflow run in progress. Instead,
we have configured the workflow so that the bot immediately comments on the PR thread so that the user is not left
wondering whether their comment had any effect as the longer process of the submission checks finishes before the
feedback about their result can be provided.

With the idea that some users might like to get a progress indicator in the time between the initial comment and the
final feedback from the workflow run, I added a link to the workflow runs page. However, we received feedback from
testers that encountering the fairly cryptic workflow run logs causes confusion. So we are trying to avoid leading users
toward those logs. Since the link does just that and is not necessary, it's best to simply remove it.
2021-07-19 04:14:22 -07:00
3810958c34 Merge pull request #212 from per1234/no-submission-workflow-fail-new
Only fail "Manage PRs" workflow on unexpected error
2021-07-19 03:58:26 -07:00
24f2b422d3 Merge pull request #217 from justind000/patch-1
Add Microfire Mod-EC, Mod-pH and Mod-ORP libraries
2021-07-18 15:57:21 -07:00
4e6495aea5 Update repositories.txt (#219) 2021-07-18 22:46:12 +00:00
a7879e7f68 Add Microfire Mod-EC, Mod-pH and Mod-ORP libraries
Also deletes older Microfire device libraries that are for now-obsolete devices.
2021-07-18 15:14:47 -07:00
62e5f18a59 Add WireGuard-ESP32 library (#215)
Add WireGuard-ESP32 library
2021-07-18 20:14:57 +00:00
6eec32f37c Add lbussy/mDNSResolver (#214) 2021-07-18 19:10:56 +00:00
e58abeee93 Update repositories.txt (#213)
A new library for the RSBus
2021-07-18 11:19:58 +00:00
6cc8b40534 Only fail "Manage PRs" workflow on unexpected error
The "Manage PRs" GitHub Actions workflow processes pull requests submitted to the repository. It is intended to allow
completely automated submissions of libraries. The feedback mechanism used by the system is comments on the pull request
thread. These comments should provide all the necessary feedback about the process, including whatever is needed to
bring a submission into compliance in the event the automated checks find it to not meet the requirements.

From feedback provided by testers, we learned that they navigated to the workflow run logs provided by GitHub Actions
while trying to learn what the problem was with their submission.

The workflow run logs provide output from the internal workings of the system that is only of interest for developers
troubleshooting a malfunction of the system itself. We never intended to use them as a channel for communicating to the
regular users of the system. Users of the system may find them quite cryptic. Since this is an interface generated by
GitHub Actions, without much capability for customization, it would be quite difficult for us to improve their
readability for the normal user. Those efforts would also require an increase in the complexity of the workflow and make
it more difficult to maintain.

I think there are two possible paths a normal user would be likely to follow to the workflow logs while trying to
understand why their submission was not accepted:

- The check status UI shown at the bottom of the PR comment thread ("Some checks were not successful")
- Workflow run failure email notification ("Manage PRs: Some jobs were not successful: View workflow run")

These pathways are either less enticing or absent when a workflow run is successful.

Previously, there were two possible causes for a run of the "Manage PRs" workflow to fail:

- Submitted library did not meet the Library Manager requirements
- An unexpected error from one of the workflow steps

Since we already are using comments from the bot to communicate about the former, the workflow run failure status
indicators provided by GitHub Actions are superfluous. The latter only occurs under extraordinary and circumstances so
its effect on the user experience is not of concern.

So the way to improve the user experience is to configure the workflow to only fail on unexpected errors, only commenting
and blocking merge in the event of expected errors.
2021-07-18 03:55:17 -07:00
63f61fb563 Update repositories.txt (#210) 2021-07-18 10:00:39 +00:00
8934234514 Update repositories.txt (#209) 2021-07-18 09:52:01 +00:00
40540b8da4 Merge pull request #207 from loginov-rocks/patch-1
Update repository URL for UbxGps library
2021-07-18 02:37:08 -07:00
1a1ad7b940 Update repository URL for UbxGps library
Hello!

I own the UbxGps library and it's been in the registry for a while, but with my previous GitHub username (1oginov).
I changed it to loginov-rocks and just aligning a link to the repository.
Link in the library.properties has already been updated: https://github.com/loginov-rocks/UbxGps/blob/main/library.properties#L8

Thank you!
2021-07-18 10:51:54 +03:00