Libraries From GitHub

So I've managed to get several libraries from GitHub running but sometimes there's an issue with the way they are "packaged". I'm not using the repo setup so I'm downloading them as zip files. That's fine, but they often use the "...-Master.zip" naming convention both in the zip file name, and even the library folder name, within the zip. I've been manually renaming them to get rid of that convention, but I'd rather just use the "Import Lib..." feature from within the IDE (1.0.5). Unfortunately the "-" isn't allowed by the IDE so I have to unzip & rename them and then restart the IDE... what a PITA!

Why are they naming them this way?

Is there a better way, maybe a switch in the preference file?

c

Are you using Sketch / Import Library / Add Library?

Well I would but it doesn't like the "-" in the folder name. That's why I have to do it manually w/rename of folder

Are you using Download ZIP from Github?

Yes.

In that case...

chuckt62:
Why are they naming them this way?

You will have to ask the folks at Github. They're the ones naming the ZIP file and the top directory.

Is there a better way, maybe a switch in the preference file?

Are you asking if the Arduino IDE will automatically "clean" the directory name?

No, I was hoping there was a way to get it to support the dash in the libraries folder name.

...Or find out why they're named that way.

chuckt62:
...Or find out why they're named that way.

The name of the selected branch is appended to repository name to form the ZIP filename and the name of the root directory. For the master branch (the default branch) I have no Earthly idea why the Github folks would do something so stupid. It's one of the reasons I went back to Google Code.

chuckt62:
No, I was hoping there was a way to get it to support the dash in the libraries folder name.

I know there is no simple way to get the IDE to support dashes (like a preferences setting). Having it strip off the dash-master seems like a good idea to me. Whether or not you agree with me, this is the place to make your suggestion...

[quote author=Coding Badly link=topic=202446.msg1492039#msg1492039 date=1386052421]...Having it strip off the dash-master seems like a good idea to me. Whether or not you agree with me, this is the place to make your suggestion...
https://github.com/arduino/Arduino/issues[/quote]

Oh, I agree completely. I'll post up in the "issues" forum. I just wanted to make sure I wasn't overlooking something.

[quote author=Coding Badly link=topic=202446.msg1492032#msg1492032 date=1386052151]
... It's one of the reasons I went back to Google Code.[/quote]

I need to poke around there also.

Thanks for the help,
c