z/OS Tools & Language

Expand all | Collapse all

Git clone without internet

  • 1.  Git clone without internet

    Posted 12-05-2018 21:22

    Our mainframe does not have direct access to the internet. Does anyone have a recommendation on the best way to close a github repository to z/OS with this being the case?



  • 2.  RE: Git clone without internet

    Posted 12-06-2018 03:32

    Hi fswarbrick,

    As an idea you can do followed:
    I.

    1. git clone your_repo from machine with internet
    2. copy via ftp or sftp repo folder to mainframe
    3. you may want to use autotag utility on mainframe in this folder. cd your_repo ; autotag -R -L 12 .

    II. As a second option I think you can setup git server with repo you need on some of your Linux or Windows machines in the LAN which have both access internet and mainframe. After that you will be able git clone from your local network server.

    Thanks,
    Alexander