I’m the author/maintainer of SmartMatrix Library and the GifDecoder library, and they’re published under my GitHub username “pixelmatix”. I’m new to PlatformIO, and wanted to register my libraries in PlatformIO Library Manager, but found that someone else had already registered username “pixelmatix” and registered my libraries under that name:
I’d like to be able to maintain these libraries in PlatformIO, specifically submitting new releases to the Library Manager. I created a new PlatformIO username, and tried using
pio package publish, but it creates a new registry entry in Library Manager under my new username. Now instead of my library users being able to update to the latest version of my library, the out of date “SmartMatrix” that someone else submitted is still the default there are duplicate entries for “SmartMatrix” in Library Manager, and to get the latest my users will have to specify “embedded-creations/SmartMatrix” instead of just “SmartMatrix”.
How can I resolve the duplicate issue? Ideally I’d like to have access to the “pixelmatix” username, but I can see why you wouldn’t be able to do that. Barring that, I’d like pixelmatix/SmartMatrix and pixelmatix/GifDecoder removed from Library Manager, and embedded-creations/SmartMatrix and embedded-creations/GifDecoder to be left in and become the default for “SmartMatrix” and “GifDecoder”, is that possible?
I don’t see why Library Manager would allow for duplicate entries of the same library, why would that be a good thing? Worst case, you could have every user of a library submit packages for it and clutter up the Library Manager. I suggest that the logic be updated so that if there’s an existing entry - identified by the name and URL (the two items required in library.properties by Arduino Library Manager), that the duplicate entry be blocked. If there’s a question of ownership, the owner can be identified by adding something unique to the git repo. I haven’t thought through this issue fully, so there’s probably some large holes in my idea, but it seems something like this should be put into place. I don’t see Arduino Library Manager having or allowing duplicate libraries to be submitted.