Skip to content

Conversation

@roncoa
Copy link
Contributor

@roncoa roncoa commented Jan 21, 2025

No description provided.

@github-actions github-actions bot added the topic: submission Add library to the list label Jan 21, 2025
@github-actions
Copy link
Contributor

ERROR: Arduino Lint found errors with https://github.com/roncoa/Encoder:

Linting library in Encoder
ERROR: Library name Encoder is in use by a library in the Library Manager index. Each library must have a unique name   
       value. If your library is already in the index, use the "--library-manager update" flag.                         
       See: https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format           
       (Rule LP017)                                                                                                     
ERROR: library.properties version value v1.0.0 is invalid.                                                   
       See: https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format
       (Rule LP020)                                                                                          
WARNING: library.properties version value v1.0.0 is not compliant with the semver specification.
         See: https://semver.org/                                                               
         (Rule LP021)                                                                           
WARNING: No example sketches found. Please provide examples.                                      
         See: https://arduino.github.io/arduino-cli/latest/library-specification/#library-examples
         (Rule LD004)                                                                             

Linter results for project: 2 ERRORS, 2 WARNINGS

-------------------

@github-actions
Copy link
Contributor

Thanks for your interest in contributing to the Arduino Library Manager index @roncoa
Please resolve the error(s) mentioned in the previous comment.

After resolving the issue, trigger this check again by doing one of the following:

  • Commit the required change to the branch you submitted this pull request from.
  • Comment here, mentioning @ArduinoBot in the comment.

NOTE: It is not necessary to open a new pull request. ❗

More information:
https://github.com/arduino/library-registry/blob/main/README.md#if-the-problem-is-with-the-pull-request

Copy link
Contributor

@per1234 per1234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @roncoa. Thanks for your interest in contributing to the Arduino Library Manager.

I see the bot reported a problem with your submission that will block its acceptance:

ERROR: Library name Encoder is in use by a library in the Library Manager index. Each library must have a unique name   
       value. If your library is already in the index, use the "--library-manager update" flag.                         
       See: https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format           
       (Rule LP017)     

Please fix the problem so we can proceed with your submission.

You will need to do the following things:

  1. Change the value of the name property in the library's library.properties metadata file to any name that hasn't already been claimed by another library. You can search in the Arduino IDE Library Manager to see if a prospective name is available.
  2. Bump the value of the version property in library.properties.
  3. Create a new release or tag in the library repository.
  4. Add a comment here in the pull request thread that mentions @ArduinoBot.

After that, the automated checks will run again. Once those are passing, your library will be automatically added to Library Manager.

If you have any questions or concerns, please let me know.

Regards, Per

@per1234 per1234 added the status: waiting for information More information must be provided before work can proceed label Jan 21, 2025
@KruPraphas
Copy link

Can’t automatically merge
https://github.com/KruPraphas/send2seg

I cannot add the library to the Arduino library registry. I've tried three times already. What went wrong? Please let me know.

@per1234
Copy link
Contributor

per1234 commented Jan 23, 2025

@KruPraphas it is not appropriate to hijack a random pull request thread to request support. If you want support, you can ask over on your own issue:

#5784

Or on Arduino Forum:

https://forum.arduino.cc/c/community/general-discussion/17

I'll be happy to help you in either of those places.

Please be more careful to behave in a responsible manner in your activity in this repository. If you establish a pattern of irresponsible behavior, your Arduino Library Manager Registry privileges will be revoked.

Thanks in advance for your cooperation.

Copy link
Contributor

@per1234 per1234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @roncoa. I see you have fixed the error reported by the bot (roncoa/Encoder@d79fce3). However, Library Manager works exclusively from Git tags, so the bot won't be able to see the fix you made until you create a new release or tag in the library repository.

If you look at the repository contents at the latest tag, you can see that the library still has the non-unique name value at the most recently tagged point in the revision history:

https://github.com/roncoa/Encoder/blob/v1.0.0/library.properties#L1

name=Encoder

❗ Remember to update the version field in the library's library.properties file as needed before making a release/tag.

Once you have done that, simply mention @ArduinoBot in a comment here to trigger it to run the automated checks again. After those are passing, your library will be automatically added to Library Manager.

If you have any questions or concerns, please let me know.

Regards, Per

@per1234 per1234 self-assigned this Jan 25, 2025
Copy link
Contributor

@per1234 per1234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the sake of a tidy repository, I'm going to close this due to lack of activity.

@roncoa if you ever get around to making a new release or tag in the library repository, please submit another pull request to add the library.

I'll continue to monitor this thread, so feel free to let me know if you have any questions or concerns.

@per1234 per1234 closed this Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting for information More information must be provided before work can proceed topic: submission Add library to the list

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants