We're lucky that we use Atlassian products such as Jira, Confluence and Bitbucket. We great integration so a Jira ticket can cross-reference with Git branches in Bitbucket. If you have a bug fix you can track every line of code that has been fixed from the Jira ticket.

On 4/06/2021 9:39 pm, Lionel B. Dyck wrote:
I agree with Dave - find a local hosting option and host your own git server. 
There are some options that work on z/OS but you may have more success if you 
can get a spare Linux server (real or virtual) and install the git server 
there. I have just tried several and was unable to successfully find one that 
worked under z/OS as I had several challenges with each.

My solution was to get a virtual Linux server, install SLES (our standard), and 
then download and install the GitLab (go to https://about.gitlab.com/install/ 
and find your flavor of Linux). The setup was easy and we now have a full 
inhouse self-hosted Git server.

Then what you can do is to clone from the internet to your pc and then clone 
that from your pc to your inhouse git server. From there you can use the OMVS 
git client to clone to z/OS.

A few more steps than you probably wanted but it works.

Lionel B. Dyck <><
Website: https://www.lbdsoftware.com
Github: https://github.com/lbdyck

“Worry more about your character than your reputation. Character is what you 
are, reputation merely what others think you are.”   - - - John Wooden

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
David Crayford
Sent: Friday, June 4, 2021 12:21 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: git clone w/o mainframe internet access

You can do this but you're going to have to jump through some hoops.
First you need to upload the repo from a zip file or whatever. Then you will have to 
tag all the files ISO8859-1 using the "chtag -R -tc
ISO8859-1 ." command and hope there are no binary files.

Then you need to convert the repo to a bare repository.

|git clone --mirror path_to_source_repository path_to_bare_repository |

You can then use the bare repository to clone from and push to. If I were you I 
would use a local git hosting tool such as gitbucket on z/OS.
It's just a fat jar which runs fine.  You can then have a nice GUI with wiki 
pages and branch history graphs just like GitHub or Bitbucket.


On 4/06/2021 11:32 am, David Crayford wrote:
You can do this but you're going to have to jump through some hoops.
First you need to upload the repo from a zip file or whatever. Then
you will have to tag all the files ISO8859-1 using the "chtag -R -tc
ISO8859-1 ." command and hope there are no binary files.

Then you need to convert the report the repo to a bare repository.

|git clone --mirror path_to_source_repository path_to_bare_repository
||

You can then use the bare repository to clone from and push to. If I
were I would use a local git hosting tool such as gitBucket. You can
then have a nice GUI with wiki pages and branch history graphs just
like GitHub or Bitbucket.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to