Using Github
-
This post is deleted!
-
@Rudy-Trujillo
git
is compile for the Omega. You can installgit
by running:opkg update opkg install git
-
This post is deleted!
-
@Rudy-Trujillo I have tried this and have tried this too and got a bit further.
As well as installing git, you need to install git-http:
- opkg install git-http
Having done this, I get past the error you got (before doing so I got the same Unable to find remote helper for 'https'
However, I now get these messages that indicate a username and password are required and I don't know what they are:
- root@Omega-0A97:~/gittest# git clone http://github.com/OnionT/gpio-test
Cloning into 'gpio-test'...
warning: templates not found /usr/share/git-core/templates
Username for 'https://github.com':
Password for 'https://github.com':
remote: Repository not found.
fatal: Authentication failed for 'https://github.com/OnionT/gpio-test/'
root@Omega-0A97:~/gittest#
After a bit of research (I am not an expert at GIT) I found that for anonymous clone one should use the git: protocol rather than https: protocol.
However this still gives some problems as evidenced by:
- root@Omega-0A97:~/gittest# git clone git://github.com/OnionT/gpio-test
Cloning into 'gpio-test'...
warning: templates not found /usr/share/git-core/templates
fatal: remote error:
Repository not found.
root@Omega-0A97:~/gittest#
So while a bit further on, still not there - probably need some input from the Omega people or some one more familiar with GIT than I am
-
This post is deleted!
-
This post is deleted!
-
@Rudy-Trujillo It should be
OnionIoT
instead ofOnionT
-
This post is deleted!
-
@Rudy-Trujillo I think the username and password would be for a user registered on the main repository to ensure that you have authority to recommit any changes you made.
What I think we are looking for is a method to get an anonymous copy of whats in the repository to look at/play with without needing the ability (or risk) of committing back changes.
All I have done so far in accessing stuff from the Onion GIT Hub is to use my browser (on Windows or Linux system) to access directly via https://github.com/OnionIoT to download the relevant .zip file.I would finally ask what precisely you need from the GIT Hub - most of the stuff there is primarily source code (e.g. as in gpio-test you reference) that can only really be cross compiled on a Linux system and is of no real use directly on the Omega.
-
This post is deleted!
-
@Rudy-Trujillo @Boken-Lin Duh A silly typo - thanks for putting us right @Boken-Lin
Working for me now too
-
This is a good website for learning GIT