OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Programming => Topic started by: mwizard on July 17, 2014, 07:18:55 pm
-
Martin,
I've read the intro for Git on EDM/2 (Using Git under eComStation, http://www.edm2.com/index.php/Using_Git_under_eComStation).
When I try to check out the same sample listed in the intro, I get a certificate error.
[D:\git\util-wps-bubblepad]git clone https://github.com/OS2World/UTIL-WPS-Bubble
pad.git
Cloning into UTIL-WPS-Bubblepad...
error: error setting certificate verify locations:
CAfile: /@unixroot/etc/pki/tls/certs/ca-bundle.crt
CApath: none
while accessing https://github.com/OS2World/UTIL-WPS-Bubblepad.git/info/refs
fatal: HTTP request failed
I'm sure I'm just missing some other setup requirements. If you or someone could share that information, I would appreciate it.
Secondary question regarding checking in updates... Do we allow just anyone to check in updates or is there a security configuration/procedure that needs to happen with the repository so developers can get update access?
I'm looking forward to working with the repository.
regards,
Mark Vollmer
-
Hi Mark.
Thanks for trying git and the code on the github repo.
1) I think that maybe you are missing some of the requirements to run git. When you install git with RPM/YUM it installs all requirements. I just try it out right now on a VM and installing with "yum install git" it installed everything.
After that I just set up git with:
git config --global user.name "John Doe"
git config --global user.email johndoe@example.com
git config --global core.editor "'C:/os2/e.exe' -multiInst -notabbar -nosession -noPlugin"
After that the clone worked ok.
2) To check-in code back to github I need to register your github user to be able to check-in code to the repo.
If you update one of the projects let me know to give you access to update the code once you think it is ready.
But there is another thing that I liked about GitHub. You can "fork" a project by login in to the web site and selecting the repo you want to fork. It will create another repo for you and you will have full control of it. You can clone it, change it, check-in the code on your forked repo, and also request a "pull" so I can merge it to the "original" repo.
That is a very interesting feature of github that I just learned with "IDLEHLT".
I hope this helps you.
Regards.
-
Martin,
Unfortunately all this didn't work for me. I've confirmed the config settings by git config --list and I have all three settings in my config.
Since you didn't have to perform any other steps than what I performed, I must be holding my mouth wrong or something.
I can try uninstall git and reinstall it. Perhaps the original install didn't go as well as I had thought.
regards,
Mark
-
Maybe you can try reinstalling Git again from rpm/yum-.
yum erase git
Just in case yum update
and Install it again with yum update yum
-
And if you are getting strange errors on the installation it is always good a...
yum install rpm
-
Martin,
From your git install there were a few additional packages that appear to have been installed too. But my install just installed git. I manually requested all the others except for the libcc package in the theory that I've already included it as a warpin install. I'll double check later.
Once all are installed, the clone works as intended.
I haven't updated yum in a while, I'll do that very soon. Perhaps I have an older yum installed.
Thanks very much for your help in all of its forms.
regards,
Mark
-
Hi Mark,
You should do a yum update and/or yum upgrade periodically.
-
Dave,
Thanks. I'll do just that.