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

4777 Commits

Author SHA1 Message Date
beb45f13df Consolidate list of requirements in FAQ
It is essential to clearly communicate the Library Manager requirements to the submitters. Previously, these requirements
were scattered throughout the FAQ. Consolidating them into unified lists, then referencing that information from the
other parts of the documentation makes it easier for the user to learn what are the requirements and easier for the
documentation to be maintained.
2021-04-09 08:01:37 -07:00
616c3b5110 Update FAQ content to reflect new submission and support procedures 2021-04-09 08:01:37 -07:00
d5ca56191f Improve formatting of FAQ
- Add page title
- Bring into Prettier compliance
- Minor manual formatting to improve readability
2021-04-09 08:01:37 -07:00
9e9cabee69 Import Library Manager FAQ
An FAQ hosted in the `arduino/Arduino` repository's wiki:
https://github.com/arduino/Arduino/wiki/Library-Manager-FAQ
has long served as the canonical guide for the traditional process for submitting libraries to the Library Manager index.

Now that the submission process and support for the process has been moved from `arduino/Arduino` to this dedicated
repository, it makes sense to also host the FAQ content here.

This commit imports the exact unmodified content of the FAQ from
819425389e
2021-04-09 01:41:39 -07:00
f0f7dd1eb5 Merge pull request #4 from per1234/dependabot
Configure Dependabot to check for outdated actions used in workflows
2021-04-09 00:48:39 -07:00
27b93a2f1a Merge pull request #3 from arduino/rename-repo
Update documentation to reflect repository name change
2021-04-09 00:47:25 -07:00
cb3d8004fc Configure Dependabot to check for outdated actions used in workflows
Dependabot will periodically check the versions of all actions used in the repository's workflows. If any are found to
be outdated, it will submit a pull request to update them.
NOTE: Dependabot's PRs will sometimes try to pin to the patch version of the action (e.g., updating `uses: foo/bar@v1`
to `uses: foo/bar@v2.3.4`). When the action author has provided a major version ref, use that instead
(e.g., `uses: foo/bar@v2`). Dependabot will automatically close its PR once the workflow has been updated.
More information:
https://docs.github.com/en/github/administering-a-repository/keeping-your-actions-up-to-date-with-dependabot
2021-04-08 21:47:01 -07:00
4f2d7a7e2a Update documentation to reflect repository name change
The repository was renamed from `arduino/library-manager-list` to `arduino/library-registry`.
2021-04-08 21:09:01 -07:00
c2fd5e2d0f Merge pull request #1 from per1234/development
Set up automated Library Manager submission system
2021-04-08 20:45:49 -07:00
7947b23061 Change license to Creative Commons Zero v1.0 Universal
Now that the parser tool code has been removed from the repository, the previous license is no longer appropriate.
2021-03-31 09:17:49 -07:00
3a5826a784 Simplify license check CI system
Now that the parser tool is moved out of the repository, it makes less sense to use the taskfile-based approach for the
CI infrastructure. In order to make the repository more contributor-friendly, the license checking system is now
confined to a single workflow file.
2021-03-31 09:17:25 -07:00
d38ccc82a0 Simplify documentation and configuration file CI system
Now that the parser tool is moved out of the repository, it makes less sense to use the taskfile-based approach for the
CI infrastructure. In order to make the repository more contributor-friendly, the documentation and configuration
checking system is now confined to the .github subfolder.
2021-03-31 09:16:20 -07:00
7d32d9911e Simplify code spell CI system
Now that the parser tool is moved out of the repository, it makes less sense to use the taskfile-based approach for the
CI infrastructure. In order to make the repository more contributor-friendly, the spell checking system is now reduced to
a single workflow file.
2021-03-31 09:16:20 -07:00
05b25397b3 Remove .editorconfig from repository
Although it is convenient and best practices to have this file in place, it is not absolutely necessary, so it must go
bye-bye.
2021-03-31 09:16:20 -07:00
b0eccfe5b6 Move submission parser tool to dedicated repository 2021-03-31 09:16:20 -07:00
cb6c0a2bb5 Use curl to get PR diff
This approach allows the diff to be written directly to a file, rather than needing to sanitize the contents of the
output from the octokit/request-action before writing it to the file via the shell.
2021-02-01 21:44:35 -08:00
da261b4a79 Correct readme URL in bot comments 2021-02-01 02:30:33 -08:00
a7ef80e1a4 Get PR diff from GitHub API
This avoids the need to checkout the PR head ref.
2021-02-01 02:30:33 -08:00
f5928a6800 Host index source file in repository
The index source file contains the normalized URL and the metadata that can't be derived from the library releases
("types" data and locked name) for each of the libraries in the Library Manager index. It's most appropriate to store it
in the same repository as the submission list.
2021-01-20 22:06:43 -08:00
1cdeda201c Remove untested triggers from the "Manage PRs" workflow
I had intended to test these out but didn't get around to it. The workflow_dispatch might be convenient, but it's not at
all essential since the same thing can be accomplished by commenting on the PR.
2021-01-20 00:51:40 -08:00
b871bfcb5a Get PR diff in dedicated job
This isolates the PR branch checkout from the request parsing process.
2021-01-20 00:51:40 -08:00
7071c247b0 Export index entry as workflow artifact
Rather that committing directly to the index source file repository, save the index entry to a workflow artifact, which
will be consumed by the system that updates the index source file.
2021-01-20 00:51:35 -08:00
0ca9ab8ee7 Add check for submission URL being a Git repository
With the current submission system, it's common for people to provide the tag/release URL rather than the repository
URL. I think it likely the same sort of thing will occur with the new system. Previously, a very naive check was done
for the path component of the URL to have two levels. It turns out that the Gitlab repository URLs have more levels than
that. The superior approach is to use `git ls-remote` to verify that the URL is a Git repository.
2021-01-20 00:51:03 -08:00
3fc5f76339 Don't use index source file for URL duplication check
It's possible to accomplish the same thing in a more simple and secure manner by using the submission list.
2021-01-20 00:51:03 -08:00
050ac29d24 Automate the Library Manager submission process
Submissions of libraries to the Arduino Library Manager index can be done by submitting a pull request adding repositor
URLs to the list. The submissions are checked for compliance wih the requirements for addition to the index and as soon
as they are passing the pull request is merged and the entries are pushed to the index source file.
2021-01-19 00:05:38 -08:00
8a67c16fad Add list of Library Manager library URLs
This is the full list of repositories for the libraries of the Arduino Library Manager index.
2021-01-18 23:32:48 -08:00
6d2f53d27e Create branch 2021-01-13 11:45:39 -08:00