Library add case insensitive


#1

You asked for it, you got it: library add is now case insensitive!

You can add the HttpClient library with particle library add httpclient and it will correctly capitalize it in project.properties. No need to update the CLI version for this.


#2

There is at least one library that exists twice with different casing, which would be included?

ThingSpeak (the original) https://build.particle.io/libs/576c40f31298658c3a00068e
vs.
thingspeak (the earlier one) https://build.particle.io/libs/546f83bc690d31fa3100073f


#3

That case will be dealt with specially. One library will have to be renamed in the migration. I haven’t made a decision about this yet. Currently the capitalized one is migrated.


#4

That’s a good choice since that’s the one that comes from the creators of ThingSpeak.

Did you already get the conflict flagged by some tools or just happened to know it (as I knew from past experience)?

But that brings me to a semi-related question: What will happen to abandoned libraries?
There are some that won’t work anymore but the contributor doesn’t accept PRs and won’t work on issues or even the repo has gone missing.


#5

The import script flagged it. There are also 2 ADXL345 (typing from memory).

For abandoned libraries let’s first compile a list to see how many there are. Then we can figure out how to deal with them.


#6

I stumble across them from time to time - where should we collect them?

That’s the one I found an issue, but it never even got a response to that