Skip to content

Commit 7ebdf19

Browse files
authored
Merge pull request #10 from arduino/who-can-submit
Document policy re: who can add libraries to Library Manager
2 parents e1d572d + d8f30c0 commit 7ebdf19

File tree

2 files changed

+22
-11
lines changed

2 files changed

+22
-11
lines changed

FAQ.md

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@
88
- [What is the Arduino Library Manager?](#what-is-the-arduino-library-manager)
99
- [How is the Library Manager index generated?](#how-is-the-library-manager-index-generated)
1010
- [Submission](#submission)
11-
- [How can I add my library to Library Manager?](#how-can-i-add-my-library-to-library-manager)
11+
- [How can I add a library to Library Manager?](#how-can-i-add-a-library-to-library-manager)
1212
- [What are the requirements for a library to be added to Library Manager?](#what-are-the-requirements-for-a-library-to-be-added-to-library-manager)
13+
- [Who is allowed to add a library to Library Manager?](#who-is-allowed-to-add-a-library-to-library-manager)
1314
- [Updates](#updates)
1415
- [How can I publish a new release once my library is in the list?](#how-can-i-publish-a-new-release-once-my-library-is-in-the-list)
1516
- [What are the requirements for publishing new releases of libraries already in the Library Manager list?](#what-are-the-requirements-for-publishing-new-releases-of-libraries-already-in-the-library-manager-list)
1617
- [Why aren't releases of my library being picked up by Library Manager?](#why-arent-releases-of-my-library-being-picked-up-by-library-manager)
1718
- [I did something wrong! How can I change or unpublish an already published library?](#i-did-something-wrong-how-can-i-change-or-unpublish-an-already-published-library)
18-
- [How can I change my library's name?](#how-can-i-change-my-librarys-name)
19+
- [How can I change a library's name?](#how-can-i-change-a-librarys-name)
1920
- [Limitations](#limitations)
2021
- [Is my Git repository OK?](#is-my-git-repository-ok)
2122
- [Are Git submodules supported?](#are-git-submodules-supported)
@@ -58,7 +59,9 @@ Every hour, the automated Library Manager indexer system:
5859

5960
## Submission
6061

61-
### How can I add my library to Library Manager?
62+
### How can I add a library to Library Manager?
63+
64+
<a id="how-can-i-add-my-library-to-library-manager"></a>
6265

6366
Follow the instructions [here](README.md#adding-a-library-to-library-manager).
6467

@@ -86,15 +89,21 @@ Arduino Lint is also available as a GitHub Actions action that can be used in th
8689

8790
https://github.com/arduino/arduino-lint-action
8891

92+
### Who is allowed to add a library to Library Manager?
93+
94+
Everyone is welcome to submit libraries for inclusion in Library Manager, regardless of whether you are involved in the library's development.
95+
96+
Note that libraries will need to be compliant with [all requirements](#update-requirements) in order to be accepted. If not, you will need to work with the library maintainer to achieve compliance.
97+
8998
## Updates
9099

91100
### How can I publish a new release once my library is in the list?
92101

93102
1. Make sure the library is compliant with [all requirements](#update-requirements).
94-
1. Update the `version` in your [`library.properties`](https://arduino.github.io/arduino-cli/latest/library-specification/#library-metadata)).
95-
1. Tag your library once more and push the new tag (or create a release if your Git-hosting site offers a way to do it, for example with [GitHub "releases"](https://help.github.com/articles/creating-releases/)).
103+
1. Update the `version` in the library's [`library.properties`](https://arduino.github.io/arduino-cli/latest/library-specification/#library-metadata)).
104+
1. Tag the library's repository once more and push the new tag (or create a release if the library's Git-hosting site offers a way to do it, for example with [GitHub "releases"](https://help.github.com/articles/creating-releases/)).
96105

97-
[Our indexer](#how-is-the-library-manager-index-generated) checks for new releases every hour and will eventually fetch and publish your new release.
106+
[Our indexer](#how-is-the-library-manager-index-generated) checks for new releases every hour and will eventually fetch and publish the new release.
98107

99108
### What are the requirements for publishing new releases of libraries already in the Library Manager list?
100109

@@ -116,15 +125,17 @@ In order to **un**publish a library version, delete its related tag/release.
116125

117126
Once you have done that, open an issue in [the issue tracker of this repository](https://github.com/arduino/library-registry/issues), specifying the URL of the library repository and requesting that the library be updated.
118127

119-
### How can I change my library's name?
128+
### How can I change a library's name?
129+
130+
<a id="how-can-i-change-my-librarys-name"></a>
120131

121132
For the sake of continuity, libraries in the Library Manager list are locked to the name they had at the time they were added to the list. Changing the library name can be disruptive to its users because this is the unique identifier for the library used by the Arduino development software [command line interfaces](https://arduino.github.io/arduino-cli/latest/commands/arduino-cli_lib/), sketch [metadata](https://arduino.github.io/arduino-cli/latest/sketch-specification/#metadata), library [dependencies](https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format), and installation location.
122133

123134
If you wish to change the name it will need to be done manually by request:
124135

125-
1. Change the `name` value in your [library.properties file](https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format) and update the `version`.
136+
1. Change the `name` value in the [library.properties file](https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format) and update the `version`.
126137
1. Create a release or tag.
127-
1. Submit an [issue report](https://github.com/arduino/library-registry/issues) requesting the name be changed and stating the URL of your library's repository.
138+
1. Submit an [issue report](https://github.com/arduino/library-registry/issues) requesting the name be changed and stating the URL of the library's repository.
128139

129140
## Limitations
130141

@@ -145,7 +156,7 @@ However, if you know your way through the code, you can change that URL with ano
145156

146157
### When I install a library that I know depends on another library, will this other library be installed as well?
147158

148-
As of Arduino IDE 1.8.10 and Arduino CLI 0.7.0, you can specify the dependencies of your library in the `depends` field of library.properties. Those libraries can be installed automatically when someone installs your library via Library Manager.
159+
As of Arduino IDE 1.8.10 and Arduino CLI 0.7.0, you can specify the dependencies of a library in the `depends` field of library.properties. Those libraries can be installed automatically when someone installs that library via Library Manager.
149160

150161
For more information, see the [`library.properties` file format documentation](https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format).
151162

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ For more information about Arduino Library Manager and how the index is maintain
2424

2525
## Adding a library to Library Manager
2626

27-
If you would like to have your library available for installation via Library Manager, just submit a
27+
If you would like to make a library available for installation via Library Manager, just submit a
2828
[pull request](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests) that
2929
adds the repository URL to [the list](repositories.txt). You are welcome to add multiple libraries at once.
3030

0 commit comments

Comments
 (0)