Skip to content

Update repositories.txt #4131

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 25, 2024
Merged

Update repositories.txt #4131

merged 1 commit into from
Feb 25, 2024

Conversation

The-Young-Maker
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the topic: submission Add library to the list label Feb 25, 2024
Copy link
Contributor

Arduino Lint has suggestions for possible improvements to https://github.com/The-Young-Maker/OpenMenuOS:

Linting library in OpenMenuOS
WARNING: Incorrect case of library.properties architectures field item(s): ESP32. Architectures are case sensitive.
         See: https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format    
         (Rule LP046)                                                                                              
WARNING: library.properties depends field item(s) Arduino, Adafruit_GFX, Adafruit_ST7735, EEPROM, ESPmDNS, HTTPClient,  
         HTTPUpdate, WiFiClientSecure, WiFiUdp not found in the Library Manager index.                                  
         See: https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format         
         (Rule LP048)                                                                                                   
WARNING: Sketch(es) found outside examples and extras folders:                                    
           OpenMenuOS                                                                             
         See: https://arduino.github.io/arduino-cli/latest/library-specification/#library-examples
         (Rule LD003)                                                                             

Linter results for project: 0 ERRORS, 3 WARNINGS

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

Linting sketch in OpenMenuOS/examples/OpenMenuOS_Simple
WARNING: Sketch file/folder name mismatch. The primary sketch file name must match the folder: OpenMenuOS_Simple.ino
         See: https://arduino.github.io/arduino-cli/latest/sketch-specification/#primary-sketch-file                
         (Rule SS001)                                                                                               

Linter results for project: 0 ERRORS, 1 WARNINGS

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

Linter results for projects: 0 ERRORS, 4 WARNINGS

@github-actions github-actions bot merged commit 7c5fa7d into arduino:main Feb 25, 2024
Copy link
Contributor

Your submission has now been accepted! Thanks for your contribution to the Arduino Library Manager index.

The library(s) will be available for installation via Library Manager within a day's time.

You can check the logs from the Library Manager indexer for your library(s) here:
http://downloads.arduino.cc/libraries/logs/github.com/The-Young-Maker/OpenMenuOS/

github-actions bot pushed a commit that referenced this pull request Feb 25, 2024
@The-Young-Maker
Copy link
Contributor Author

@ArduinoBot

2 similar comments
@The-Young-Maker
Copy link
Contributor Author

@ArduinoBot

@The-Young-Maker
Copy link
Contributor Author

@ArduinoBot

@per1234
Copy link
Contributor

per1234 commented Feb 26, 2024

Hello @The-Young-Maker. The automated system here only operates on open pull requests. Since your submission was already accepted and the pull request merged, the bot won't pay any more attention to this pull request.

But this human is happy to provide assistance. Was there something you needed from the bot?

@The-Young-Maker
Copy link
Contributor Author

It's because I was not sure about if the syatem will fetch the new version automatically or not.

@per1234
Copy link
Contributor

per1234 commented Feb 26, 2024

It will. After the initial addition of the library, the indexer job periodically checks each of the libraries in the index and picks up any new release/tag that meets the requirements listed here:

https://github.com/arduino/library-registry/blob/main/FAQ.md#what-are-the-requirements-for-publishing-new-releases-of-libraries-already-in-the-library-manager-list

This means there is no need to take any additional action to add new releases of your library to Library Manager. They will be added automagically!

It does take a little time for the indexer job to run, and then some additional time after that for the update to propagate through the CDN and the local cache. But it will get there. We give a conservative estimate of availability within one day's time.

You can monitor the indexing of the library releases by checking the library's dedicated indexer logs web page:

http://downloads.arduino.cc/libraries/logs/github.com/The-Young-Maker/OpenMenuOS/

@The-Young-Maker
Copy link
Contributor Author

Thanks for the information!

@The-Young-Maker
Copy link
Contributor Author

It's been one day since I release my version 1.0.2 (I solved a LOT of problem) but still no logs from the indexer and I checked with Arduino-Lint and there is no problem with the library. Do you know why?

@per1234
Copy link
Contributor

per1234 commented Feb 27, 2024

my version 1.0.2

I guess you meant to write "1.0.2-beta".

Problem

The problem is shown here in the "OpenMenuOS" library's dedicated indexer logs web page:

2024/02/27 07:33:14 Checking out tag: 1.0.2-beta
2024/02/27 07:33:14 Release OpenMenuOS:1.0.1-beta already loaded, skipping

Unfortunately, the logs don't communicate about this particular thing very well, but what this tells us is that the version value in the library.properties metadata file was not updated before creating the 1.0.2-beta tag (note that the indexer checked out tag 1.0.2-beta, only to find the release version was 1.0.1-beta).

You can see it here:

https://github.com/The-Young-Maker/OpenMenuOS/blob/1.0.2-beta/library.properties#L2

version=1.0.1-beta

Even though Git tags are the unit of release for the Arduino Library Manager, all versioning is done according to the version field of the library.properties file.

For this reason, the indexer will reject any tag that has the same value in its version field as a release already in the index.

Solution

The solution is to make another release of the library which meets the requirements:

  1. Update the version value in library.properties to the version that will be used for the new release.
  2. Create a new release or tag in the library repository.

The indexer system will pick up that new release and it will be available from Library Manager within a day.

The non-compliant release will still be missing, but since the newer release will be available, that is no problem.

Please let me know if you have any questions or concerns.
Regards, Per

@The-Young-Maker
Copy link
Contributor Author

Thanks, I'll try that. But I had juste a Little question, is it normal that I do not see the

2024/02/27 07:33:14 Checking out tag: 1.0.2-beta 2024/02/27 07:33:14 Release OpenMenuOS:1.0.1-beta already loaded, skipping in the indexer logs??

@The-Young-Maker
Copy link
Contributor Author

The only thind I have is this :

2024/02/26 00:32:55 Checking out tag: 1.0.0-beta
2024/02/26 00:32:56 Arduino Lint has suggestions for possible improvements:
Click to expand Arduino Lint report

2024/02/26 00:32:58 Checking out tag: 1.0.1-beta
2024/02/26 00:32:58 Release OpenMenuOS:1.0.0-beta already loaded, skipping
2024/02/26 00:32:58 Arduino Lint has suggestions for possible improvements:
Click to expand Arduino Lint report```

@per1234
Copy link
Contributor

per1234 commented Feb 27, 2024

Try doing a "hard reload" of the page to see if that will get you the current content.

@The-Young-Maker
Copy link
Contributor Author

Still not there. I even tried in private navigation and same problem.

@per1234
Copy link
Contributor

per1234 commented Feb 27, 2024

Unfortunately I don't know what could cause this. I'm not very knowledgeable about web things.

This is what I see on the page (with or without a "hard reload"):

2024/02/27 13:33:13 Scraping https://github.com/The-Young-Maker/OpenMenuOS.git
2024/02/27 13:33:13 Checking out tag: 1.0.0-beta
2024/02/27 13:33:13 Release OpenMenuOS:1.0.0-beta already loaded, skipping
2024/02/27 13:33:13 [Arduino Lint](https://arduino.github.io/arduino-lint/latest/) has suggestions for possible improvements:
Click to expand Arduino Lint report

2024/02/27 13:33:13 Checking out tag: 1.0.1-beta
2024/02/27 13:33:13 Release OpenMenuOS:1.0.0-beta already loaded, skipping
2024/02/27 13:33:13 [Arduino Lint](https://arduino.github.io/arduino-lint/latest/) has suggestions for possible improvements:
Click to expand Arduino Lint report

2024/02/27 13:33:13 Checking out tag: 1.0.2-beta
2024/02/27 13:33:13 Release OpenMenuOS:1.0.1-beta already loaded, skipping
2024/02/27 13:33:13 [Arduino Lint](https://arduino.github.io/arduino-lint/latest/) has suggestions for possible improvements:
Click to expand Arduino Lint report

We did receive another report of the same problem but they never reported back about whether the content was updated after a "hard reload" of the page:

https://forum.arduino.cc/t/library-update-not-publishing/1226480/3

Note this comment:

I looked on a different PC using a VPN, and it shows the updated page.
Not sure why it is cached on my normal PC

@The-Young-Maker
Copy link
Contributor Author

Not sure what i did but I cleared the cache and I went on a VPN and then disconnected from it and it worked. However, I sent it to my teacher (on his computer) and he had the same problem as me. Definitely a problem with the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: submission Add library to the list
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants