Author Topic: GitHub Repository - Public OS/2 Source Code - access  (Read 8059 times)

mwizard

  • Guest
GitHub Repository - Public OS/2 Source Code - access
« 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

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4714
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: GitHub Repository - Public OS/2 Source Code - access
« Reply #1 on: July 18, 2014, 04:24:26 am »
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:
Quote
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.
« Last Edit: July 18, 2014, 04:41:11 am by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

mwizard

  • Guest
Re: GitHub Repository - Public OS/2 Source Code - access
« Reply #2 on: July 18, 2014, 07:34:36 pm »
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

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4714
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: GitHub Repository - Public OS/2 Source Code - access
« Reply #3 on: July 18, 2014, 07:46:10 pm »
Maybe you can try reinstalling Git again from rpm/yum-.

Quote
yum erase git

Just in case
Quote
yum update

and Install it again with
Quote
yum update yum

Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4714
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: GitHub Repository - Public OS/2 Source Code - access
« Reply #4 on: July 18, 2014, 07:56:00 pm »
And if you are getting strange errors on the installation it is always good a...
Quote
yum install rpm
Martin Iturbide
OS2World NewsMaster
... just share the dream.

mwizard

  • Guest
Re: GitHub Repository - Public OS/2 Source Code - access
« Reply #5 on: July 18, 2014, 07:56:31 pm »
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

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4788
  • Karma: +99/-1
    • View Profile
Re: GitHub Repository - Public OS/2 Source Code - access
« Reply #6 on: July 19, 2014, 02:15:39 am »
Hi Mark,
You should do a yum update and/or yum upgrade periodically.

mwizard

  • Guest
Re: GitHub Repository - Public OS/2 Source Code - access
« Reply #7 on: July 25, 2014, 02:07:43 am »
Dave,

Thanks.  I'll do just that.