Indeed, I previously created my repo with a readme file.
Original Message:
Sent: Fri December 15, 2023 01:51 AM
From: Karl Blackler
Subject: PAW - GIT Repository issue
Hi All,
My steps are very similar to Bilal's.
With 1-3 are the same, however, I had an issue when the repository had no files in it, but I found if you create the repository with the default readme file it worked. Not sure if this is still the case.
For Step 4, I use git@github.com:UserName/Repository
Cheers
------------------------------
Karl Blackler
Original Message:
Sent: Thu December 14, 2023 04:47 AM
From: Bilal KACEL
Subject: PAW - GIT Repository issue
Hi guys,
For me, it works fine right now with the new release 2.0.92 SC.
I followed the same procedure as @Bob Gill. Some new enhancements between his video and the current PAW version.
1. Github: Create a Repository
2. Git tool: Generate a new SSH key and add it to the ssh-agent
a) Install Git on your local machine
b) Use Git Bash to generate the ssh keys (Public and Private)
3. Github: Create a new SSH keys by adding your Public SSH key (local ssh file FileName.pub under the folder .ssh)
4. IBM PA:
a) Right click on an instance > Add objects to repository
b) Authentication tab:
URL: git@github.ibm.com:GitHubUserName/RepositoryName.git
To retrieve it, go to your repository > 'Code' button > Under 'Clone' choose 'SSH' and copy the URL
Public key: your local Public key
Private key: your local Private key
Passphrase: optional
c) Select the objects to push into your repository
d) Select/create a branch
Regards,
------------------------------
Bilal KACEL
Original Message:
Sent: Wed December 13, 2023 04:30 AM
From: Edward Stuart
Subject: PAW - GIT Repository issue
i found this video by @Bob Gill very useful to get Git integration working:
https://www.youtube.com/watch?v=NmCO-YlgG7A
Note there is a comment on the video that mentions your issue:
"After I add my git link, priv amd pub key i get "TM1 Git failed to connect to remote. Reason: Authentication failed." any guesses how this could be fixed?"
"Oh btw im trying it out with an azure devops repo, the link should be just the usual clone link right? or does this only work with github"
with the response:
"The URL can be a bit finicky. I got that same error message when I had the wrong URL entered in the workspace UI. For GitHub it's something like git@github.com:account/repository For Azure DevOps, it's likely a different reference. It's probably something like devops@azure.microsoft.com:account/repository If you open a ticket with IBM Support, they might be able to find the right format for devops. If you could reply with it here, I imagine other folks will be trying that too."
------------------------------
Edward Stuart
Original Message:
Sent: Tue December 12, 2023 12:54 PM
From: Ardian Alikaj
Subject: PAW - GIT Repository issue
Hello,
We are trying to use the new PAW feature to add TM1 objects to GIT Repository, and for some reason, we cannot make it work.
We have generated the SSH Public Key / Private Key, and also saved the SSH Key to GitHub, but when we enter the Repo URL / SSH Keys in PAW, we receive an error:
TM1 Git failed to connect to remote. Reason: Failed to authenticate SSH session: Callback returned error.
Not sure if anyone else has experienced this error
Thank you
------------------------------
Ardian Alikaj
------------------------------