This repository was archived by the owner on Oct 1, 2024. It is now read-only.
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
Library Manager uses 'more-info' URL from lowest version of library, should be latest #1515
Open
Description
Edited by @fearthecowboy to add details
The Library Manager is using the first occurrence (version) of a library in the feed for things like the more info
link, it should use the latest version, as if details are updated over time they aren't reflected in the UI at all.
*Example - "Blues Wireless Notecard" v1.0.0 *
{
"name": "Blues Wireless Notecard",
"version": "1.0.0",
"author": "Blues Wireless",
"maintainer": "Blues Wireless \u003c[email protected]\u003e",
"sentence": "An easy to use Notecard Library",
"paragraph": "An easy to use Notecard Library",
"website": "https://github.com/rayozzie/Notecard-Library",
"category": "Communication",
"architectures": [
"*"
],
"types": [
"Contributed"
],
"repository": "https://github.com/blues/note-arduino.git",
"url": "https://downloads.arduino.cc/libraries/github.com/blues/Blues_Wireless_Notecard-1.0.0.zip",
"archiveFileName": "Blues_Wireless_Notecard-1.0.0.zip",
"size": 8788,
"checksum": "SHA-256:79a6364425c2f2e40cbfd580ec3e9dd69e22a1c5ab8f22374a2a44398b51883f"
},
*Example - "Blues Wireless Notecard" v1.3.15 *
notice how the website
has changed,
{
"name": "Blues Wireless Notecard",
"version": "1.3.15",
"author": "Blues Wireless",
"maintainer": "Blues Wireless \u003c[email protected]\u003e",
"sentence": "An easy to use Notecard Library for Arduino.",
"paragraph": "Supports Serial and I2C for communication from a host MCU.",
"website": "https://github.com/blues/note-arduino",
"category": "Communication",
"architectures": [
"*"
],
"types": [
"Contributed"
],
"repository": "https://github.com/blues/note-arduino.git",
"providesIncludes": [
"Notecard.h"
],
"url": "https://downloads.arduino.cc/libraries/github.com/blues/Blues_Wireless_Notecard-1.3.15.zip",
"archiveFileName": "Blues_Wireless_Notecard-1.3.15.zip",
"size": 163257,
"checksum": "SHA-256:5e8290f4786b751cdaf8ee6ab3c7b7e5e623ad72be04e11f1fc8a8aab16d5fe4"
},
Original Comment
I found this line in your code, but I can't tell where you are populating your library items from; specifically the "More Info" URI.
If you can tell me the base URI, then I can put another issue on Arduino and link back here.