Hi Jonathan,
Based on your environment variables it looks like you are attempting to use the Ported Tools version of Git delivered by Kyndryl's GSD Platform product PTZ100. While this version of Git works ok it is now functionally stable. The only version of Git receiving ongoing Git maintenance is the version of Git found in GSD Platform product group CDA458 (Rockets z/OS Miniconda). It has Git at 2.26.2-84.
That said, the value you have for PERL5LIB is incorrect is should be /_PRDS/PTZ/git/share/perl/5.24.1
As a guide, here is how I setup by environment variables for Git in Ported Tools (PTZ100), which I no longer use.
[USSENV]
PTZBASE=/_PRDS/PTZ
GITBASE={$PTZBASE}/git
ZGITBASE=/_APPS/zGIT
_BPX_SHAREAS=YES
_BPXK_AUTOCVT=ON
_TAG_REDIR_IN=TXT
_TAG_REDIR_OUT=TXT
_TAG_REDIR_ERR=TXT
_CEE_RUNOPTS=FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)
PATH=/bin:{$GITBASE}/bin:{$PTZBASE}/perl/bin:{$PTZBASE}/bash/bin
PERL5LIB={$GITBASE}/share/perl/5.24.1
LIBPATH={$GITBASE}/curl/lib/
GIT_SHELL={$PTZBASE}/bash/bin/bash
GIT_TEMPLATE_DIR={$ZGITBASE}/.zGIT-templates
GIT_EXEC_PATH={$GITBASE}/libexec/git-core
And here is how I setup my environment for Miniconda (CDA458)
[USSENV]
CDABASE=/_PRDS/CDA
ZGITBASE=/_APPS/zGIT
_BPX_SHAREAS=YES
_BPXK_AUTOCVT=ON
_TAG_REDIR_IN=TXT
_TAG_REDIR_OUT=TXT
_TAG_REDIR_ERR=TXT
_CEE_RUNOPTS=FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)
PATH={$CDABASE}/bin:/bin
PERL5LIB={$CDABASE}/share/perl5
CURL_CA_BUNDLE={$CDABASE}/etc/ssl/cacert.pem
LIBPATH={$CDABASE}/lib/
GIT_SHELL={$CDABASE}/bin/bash
GIT_TEMPLATE_DIR={$ZGITBASE}/.zGIT-templates
GIT_EXEC_PATH={$CDABASE}/libexec/git-core
Also, if your intention is to manage traditional z/OS datasets such as PS, PDS and PDSE, the I highly recommend you request GSD Platform product group ZGT140 (zGit v1.4.0).
------------------------------
Gary Freestone
Systems Programmer
Kyndryl Inc
Mt Helen VIC AU
------------------------------
Original Message:
Sent: 11-29-2023 23:43
From: Jonathan Juler
Subject: zOS git clone https://... fails helper not found git 2.3.5 on z/OS 2.4
I have setup git and cannot clone a repo using either ssh or https. This issue is specifically about https and the error I get which is:
fatal: Unable to find remote helper for 'https'
I have set the environment variables to the correct locations
GIT_EXEC_PATH=/_PRDS/PTZ/git/libexec/git-core
GIT_MAN_PATH=/_PRDS/PTZ/git/man
GIT_SHELL=/_PRDS/PTZ/bash/bin/bash
GIT_TEMPLATE_DIR=/_PRDS/PTZ/git/share/git-core/templates
PERL5LIB=/var/rocket/git/lib/perl5
I followed the recommendations in zOS git clone https://... fails helper not found git 2.14.4 to no avail sadly.
curl and openssl are installed and available via my path.
Any ideas?
Regards,
Jonathan
------------------------------
Jonathan Juler
National Australia Bank Limited
Wantirna VIC AU
------------------------------