Skip to main content
Lionel Dyck
Participating Frequently
May 6, 2021 9:26 AM UTC

Self-Hosting a Git server on z/OS

Is anyone hosting a git server on z/OS, either natively or in a container?

If so,  would you be willing to share your insights/hints/tips for doing so?

- which git server?
- started task or container?

Thank you

------------------------------
LionelDyck <><
https://github.com/zigi
https://github.com/lbdyck
------------------------------

    10 replies

    Tatiana Balaburkina
    Rocketeer
    May 6, 2021 10:28 AM UTC
    Is anyone hosting a git server on z/OS, either natively or in a container?

    If so,  would you be willing to share your insights/hints/tips for doing so?

    - which git server?
    - started task or container?

    Thank you

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------
    Hi Lyonel,
    Although you might find Git in server mode working on z/OS, we provide support only for client mode that is stated in Git 2.26.2 for z/OS Release Notes.
    Have a good day!

    ------------------------------
    Tatiana Balaburkina
    Rocket Software
    ------------------------------
    Lionel Dyck
    Participating Frequently
    May 6, 2021 10:40 AM UTC
    Hi Lyonel,
    Although you might find Git in server mode working on z/OS, we provide support only for client mode that is stated in Git 2.26.2 for z/OS Release Notes.
    Have a good day!

    ------------------------------
    Tatiana Balaburkina
    Rocket Software
    ------------------------------
    @Tatiana Balaburkina -  I realize that Rocket only supports the client. I'm hoping that someone here may have an answer for me :)​

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------
    Jorn Thyssen
    Rocketeer
    May 7, 2021 10:32 AM UTC
    Is anyone hosting a git server on z/OS, either natively or in a container?

    If so,  would you be willing to share your insights/hints/tips for doing so?

    - which git server?
    - started task or container?

    Thank you

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------
    Hi Lionel,

    Check with your partner in crime: https://twitter.com/henrikuiper/status/1234080895591645190 :)

    ------------------------------
    Joern Thyssen
    ------------------------------
    Lionel Dyck
    Participating Frequently
    May 7, 2021 10:35 AM UTC
    Hi Lionel,

    Check with your partner in crime: https://twitter.com/henrikuiper/status/1234080895591645190 :)

    ------------------------------
    Joern Thyssen
    ------------------------------
    I shall - wondering if anyone else is  aware of a git server for z/OS.

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------
    Jorn Thyssen
    Rocketeer
    May 10, 2021 8:07 AM UTC
    I shall - wondering if anyone else is  aware of a git server for z/OS.

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------
    BTW, what's the use case?

    ------------------------------
    Joern Thyssen
    Rocket Software
    ------------------------------
    Lionel Dyck
    Participating Frequently
    May 10, 2021 8:09 AM UTC
    BTW, what's the use case?

    ------------------------------
    Joern Thyssen
    Rocket Software
    ------------------------------
    The use cases would be:

    1. Installation does not allow access to github/bitbucket/etc.
    2. Installation prefers to keep data inhouse
    3. Experimentation

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------
    Jorn Thyssen
    Rocketeer
    May 10, 2021 8:20 AM UTC
    The use cases would be:

    1. Installation does not allow access to github/bitbucket/etc.
    2. Installation prefers to keep data inhouse
    3. Experimentation

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------
    Re 1 and 2: All customers I've talked to run github/bitbucket/gitlab hosted internally, but on distributed platform.

    Re 3: For experimentation you can set up the free version of gitlab on a vm image. That's what I do in my environment.

    ------------------------------
    Joern Thyssen
    Rocket Software
    ------------------------------
    Henri Kuiper
    Inspiring
    May 12, 2021 1:51 PM UTC
    Is anyone hosting a git server on z/OS, either natively or in a container?

    If so,  would you be willing to share your insights/hints/tips for doing so?

    - which git server?
    - started task or container?

    Thank you

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------
    On my trusted 2.3 ZDNT I used the steps outlined here to install GitBlit on z/OS : Do you git it?
    Tumblr remove preview
    Do you git it?
    If you've been following me on twitter you might have heard about "zigi": The z/OS ISPF Git Interface, or as we like to call it: "Probably the best source code management utility since the rubber band!". You can read all about it at https://zigi.rocks.
    View this on Tumblr >


    I'm prepping the new '24B' rollout, and keep ya posted on progress..



    ------------------------------
    Henri Kuiper
    Manager of Things
    zdevops
    ------------------------------
    Henri Kuiper
    Inspiring
    May 12, 2021 6:00 PM UTC
    On my trusted 2.3 ZDNT I used the steps outlined here to install GitBlit on z/OS : Do you git it?
    Tumblr remove preview
    Do you git it?
    If you've been following me on twitter you might have heard about "zigi": The z/OS ISPF Git Interface, or as we like to call it: "Probably the best source code management utility since the rubber band!". You can read all about it at https://zigi.rocks.
    View this on Tumblr >


    I'm prepping the new '24B' rollout, and keep ya posted on progress..



    ------------------------------
    Henri Kuiper
    Manager of Things
    zdevops
    ------------------------------

    Ok...

    I've bascially followed the steps at my previous writeup for GitBlit 1.8

    Save a little change in the content of gitblit.sh (but still prefixing the -Dfile.encoding=UTF-8) it ' just ' gave me the same error that the 1.8 yielded (java.lang.NoClassDefFoundError: com.sun.jna.Native) however, as per (my own lol) instructions: Don't worry about it....

    And it all just worked :)



    ------------------------------
    Henri Kuiper
    Manager of Things
    zdevops
    ------------------------------

    New Participant
    Jun 2, 2025 12:05 AM UTC
    Is anyone hosting a git server on z/OS, either natively or in a container?

    If so,  would you be willing to share your insights/hints/tips for doing so?

    - which git server?
    - started task or container?

    Thank you

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------

    Have you considered just pointing the remote to the local filesystem?

    FYI
    https://thehorrors.org.uk/snippets/git-local-filesystem-remotes/



    ------------------------------
    Dylan Perry
    Software Engineer
    DXC Technology Services LLC
    Macquarie Park AU
    ------------------------------