You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Background
----------
The Arduino Library Manager Registry repository receives thousands of pull requests from a large number of community
contributors. The great majority of these contributors behave in a responsible manner. Unfortunately this repository is
regularly the subject of irresponsible behavior. The small number of people who behave irresponsibly consume a
significant amount of the finite maintenance resources available for maintenance of Arduino's repositories.
Communication is always the first measure taken in these cases. This is done automatically by the "Manage PRs" workflow,
and then by the registry maintainer when it becomes clear that the user has disregarded the comments from the bot.
Unfortunately it is regularly the case that the user simply disregards all communication and continues their pattern of
irresponsible behavior unchecked.
Alternatives
------------
GitHub provides tools for dealing with harmful behavior:
- Report user
- Block user
Reporting a user is the appropriate measure in cases of malicious behavior, and the account is usually banned from the
site relatively quickly after a legitimate report is made. However, the irresponsible behavior in the registry
repository is not overtly malicious and so reporting the user in these cases would not be appropriate or effective.
At first glance, the block feature seems ideal. However, it can only be done at an organization-wide level, and by an
organization administrator. The repository maintainer is not an organization administrator, so this makes the feature
inconvenient to use. There is no sign of these users interacting with other repositories in the `arduino` organization,
and so there is no benefit to blocking them at organization scope. In addition, in order to make it more difficult to
circumvent the access restriction, we need the ability to block requests for libraries owned by an entity who has
established a pattern of irresponsible behavior, regardless of which user submits the request.
So the tools provided by GitHub are not suitable and a bespoke system must be implemented.
Access Levels
-------------
Allow: the user may submit requests for any library, even if registry privileges have been revoked for the owner of the
library's repository. This access level will only be granted to registry maintainers, in order to allow them to make
exceptions for specific libraries owned by an entity whose privileges have been revoked.
Default: the user may submit requests for any library, unless registry privileges have been revoked for the owner of the
library's repository.
Deny: the user may not submit requests. Requests from users with "default" access level for any library repository owned
by the entity (user or organization) are denied.
In cases where a request is declined due to revocation of Library Manager Registry privileges, the "Manage PRs" workflow
will automatically make an explanatory comment, including a link that provides more details about the cause of the
revocation. It will also close the PR in the case where it is not possible for the requester to resolve the problem:
* The requester's Library Manager Registry privileges have been revoked
**-OR-**
* The owners of all library repositories which are the subject of the request have lost Library Manager Registry
privileges.
Thanks for your interest in contributing to the **Arduino Library Manager Registry**!
4
+
5
+
## Support and Discussion
6
+
7
+
If you would like to request assistance or discuss the **Library Manager Registry**, please make a topic on **Arduino Forum**:
8
+
9
+
https://forum.arduino.cc/c/17
10
+
11
+
## Registration and Maintenance
12
+
13
+
---
14
+
15
+
⚠ If you behave irresponsibly in your interactions with this repository, your Library Manager Registry privileges will be revoked.
16
+
17
+
Carefully read and follow the instructions in any comments the bot and human maintainers make on your pull requests. If you are having trouble following the instructions, add a comment that provides a detailed description of the problem you are having and a human maintainer will provide assistance.
18
+
19
+
Although we have set up automation for the most basic tasks, this repository is maintained by humans. So behave in a manner appropriate for interacting with humans, including clearly communicating what you are hoping to accomplish.
20
+
21
+
---
22
+
23
+
If you would like to submit a library, or request registry maintenance for a library already in the registry, please follow the instructions provided in the documentation:
24
+
25
+
[**Click here to see the documentation**](../README.md#table-of-contents)
26
+
27
+
Make sure to read the relevant sections of the FAQ:
28
+
29
+
[**Click here to see the FAQ**](../FAQ.md#table-of-contents)
Copy file name to clipboardExpand all lines: FAQ.md
+2
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,8 @@ Follow the instructions [here](README.md#adding-a-library-to-library-manager).
72
72
73
73
### What are the requirements for a library to be added to Library Manager?
74
74
75
+
-[ ] The library must be something of potential value to the Arduino community.
76
+
-[ ] The submitter must behave in a responsible manner in their interactions with the Library Manager Registry.
75
77
-[ ] The library must be fully compliant with the [Arduino Library Specification](https://arduino.github.io/arduino-cli/latest/library-specification).
76
78
-[ ] The library must have [a library.properties file](https://arduino.github.io/arduino-cli/latest/library-specification/#library-metadata), in compliance with the Arduino Library 1.5 format.
77
79
-[ ] The library.properties file must be located in the root of the repository.
Copy file name to clipboardExpand all lines: README.md
+10
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,16 @@ See the instructions below for detailed instructions on how to do this via the G
33
33
34
34
### Instructions
35
35
36
+
---
37
+
38
+
⚠ If you behave irresponsibly in your interactions with this repository, your Library Manager Registry privileges will be revoked.
39
+
40
+
Carefully read and follow the instructions in any comments the bot and human maintainers make on your pull requests. If you are having trouble following the instructions, add a comment that provides a detailed description of the problem you are having and a human maintainer will provide assistance.
41
+
42
+
Although we have set up automation for the most basic tasks, this repository is maintained by humans. So behave in a manner appropriate for interacting with humans, including clearly communicating what you are hoping to accomplish.
43
+
44
+
---
45
+
36
46
1. You may want to first take a look at
37
47
[the requirements for admission into the Arduino Library Manager index](FAQ.md#submission-requirements). Each submission will be checked for
0 commit comments