Skip to content

Conversation

@per1234
Copy link
Contributor

@per1234 per1234 commented Apr 30, 2021

The "modify" request type is when the PR does removals as well as additions to the list. The valid reason for doing this
would be changing the URL of a library after the repo is renamed or the library moved to another repo.

This request type requires a manual review and merge, but the new URLs should be automatically processed to save the
reviewer from having to check it and work with the library submitter to resolve any issues that are found.

In this case, the arduino/arduino-lint-action's library-manager input needs to be set to "update" instead of the
previously hardcoded "submit". The correct setting will be provided by the parser, so the workflow only needs to
implement the use of that setting.

This is dependent on arduino/library-registry-submission-parser#26

Demo: per1234#44

@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Apr 30, 2021
@per1234 per1234 requested review from silvanocerza and umbynos April 30, 2021 01:35
@github-actions github-actions bot added other and removed topic: code Related to content of the project itself type: enhancement Proposed improvement labels Apr 30, 2021
@github-actions
Copy link
Contributor

Hi @per1234.
Your pull request has been detected as something other than a Library Manager submission.
A maintainer will need to review it before it can be merged.

If you intended to submit a library, please check the instructions and update your pull request if necessary:
https://github.com/arduino/library-registry/blob/main/README.md#instructions

The "modify" request type is when the PR does removals as well as additions to the list. The valid reason for doing this
would be changing the URL of a library after the repo is renamed or the library moved to another repo.

This request type requires a manual review and merge, but the new URLs should be automatically processed to save the
reviewer from having to check it and work with the library submitter to resolve any issues that are found.

In this case, the `arduino/arduino-lint-action`'s `library-manager` input needs to be set to "update" instead of the
previously hardcoded "submit". The correct setting will be provided by the parser, so the workflow only needs to
implement the use of that setting.
@per1234 per1234 force-pushed the check-modifications branch from c15b093 to 66d13b0 Compare April 30, 2021 16:52
@github-actions
Copy link
Contributor

Hi @per1234.
Your pull request has been detected as something other than a Library Manager submission.
A maintainer will need to review it before it can be merged.

If you intended to submit a library, please check the instructions and update your pull request if necessary:
https://github.com/arduino/library-registry/blob/main/README.md#instructions

@per1234 per1234 merged commit cf62af0 into main Apr 30, 2021
@per1234 per1234 deleted the check-modifications branch April 30, 2021 16:54
@rsora rsora added the topic: other Something other than a library list request label Sep 22, 2021
@per1234 per1234 self-assigned this Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: other Something other than a library list request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants