I use github.com private repos to manage my analysis code but so far I haven't been able to make them work with SAS EG 8.3's git integration. Does anyone have any hints?
Here's what I did.
1. Add a Git Profile.
Name: github
Username: mbg-unsw
Email: XXXX
Password: <github personal access token>
2. Clone a Repository
Repository: <URL of github private repo>
Folder location: <path of newly created empty local folder>
Profile: github
I hit the "Clone" button and immediately get the error alert dialog:
Cannot clone repository
The system cannot find the file specified
Do you have any hotfixes/updates applied to Eguide 8.3? Starting with Enterprise Guide 8.3 Update 3, there were a lot of improvements made to how Enterprise Guide works with Git. Now Eguide integrates 'out-of-process' with Git through Git.exe. This means that Git.exe needs to be installed on the PC along with Eguide. You should also verify that git.exe is in the search PATH (environment variable) on your PC to ensure Eguide can find the executable. The upside is that Eguide works with any known configuration that the actual Git client supports.
https://go.documentation.sas.com/doc/en/egcdc/8.3/egdoccdc/egamoag/p1s57pt8pbhnton1i0mo84qzb9sq.htm
This type of problem is best progressed with SAS Tech Support as there are probably few users on the community who have encountered it. Do public repos work OK?
Do you have any hotfixes/updates applied to Eguide 8.3? Starting with Enterprise Guide 8.3 Update 3, there were a lot of improvements made to how Enterprise Guide works with Git. Now Eguide integrates 'out-of-process' with Git through Git.exe. This means that Git.exe needs to be installed on the PC along with Eguide. You should also verify that git.exe is in the search PATH (environment variable) on your PC to ensure Eguide can find the executable. The upside is that Eguide works with any known configuration that the actual Git client supports.
https://go.documentation.sas.com/doc/en/egcdc/8.3/egdoccdc/egamoag/p1s57pt8pbhnton1i0mo84qzb9sq.htm
Yes, I'm running 8.3 update 5 (the latest).
Thank you for the tip about having git.exe on the Windows search PATH. I added it and now access works as expected!
I didn't know that SAS EG no longer has a bundled git environment. In fact, I'd explicitly configured Git for Windows *not* to update the Windows PATH, to avoid possible conflicts between parallel installed versions...
I also would have expected a more informative error message.
I'm sure there are many people who'd like to use git integration but don't know where to start. Some better documentation/tutorials would be a great help here -- it's a let down compared to what SAS usually offers.
Many thanks @jebjur !
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.