OBEX on GitHub -- How do I get a single object or file?
Dave Hein
Posts: 6,347
The title should be self explanatory. How do I get a single object, or even a single file from the OBEX on GitHub? It appears that I have to clone or download the entire thing just to get one file.
Comments
Github doesn't seem to have any way of downloading a single directory through the web interface. There's some trick involving accessing the repository through SVN, but if you're going to use a terminal, you might as well just use git and clone the whole thing.
There seem to be third-party online services that will download single directories from Github for you.
I really hope Parallax or somebody else makes a HTML frontend for the new git OBEX soon. Git is great, but having one centralized repository stifles development because you can't just freely edit your own objects anymore; you have to wait to get your pull request approved. But splitting it into a separate repository for each object would be way too cluttered unless somebody wrote a custom web frontend to do it that could also act like the old OBEX for people who don't want to be bothered with git.
If someone can't figure that out, I'm not sure that they'd have any use for the downloaded files.
Following the link to Community/P1/All per the text directions to get legacy Obex files,
https://github.com/parallaxinc/propeller/tree/master/libraries/community/p1/All
Say I am interested in the 3 IO pin Hitachi LCD driver:
https://github.com/parallaxinc/propeller/tree/master/libraries/community/p1/All/3 IO Pin Hitatchi compatible LCD driver
Okay, so how do I download this object? Clicking on any of the four files just opens them in the browser, which is not helpful. There is no big green button. There does not, in fact, as far as I can tell, seem to be any way to download all the files for this object, but only this object, at all.
Yes. We're presently debating the merits of downloading a current zip of the whole thing from Github vs. downloading an zip of a scraped copy of the old OBEX. I think we're all agreed on the fact that it's much too hard to download just a single object.
https://obex.zemon.name
Searching seems to be the last unsolved issue