08-06-2015 05:14 PM
I'm looking into bringing version control into our production sas environment.
Anyone have experiences with GIT? I am more interested to know if we have GIT plugin the way we have for CVS and SVN.
thanks in advance
10-28-2015 05:34 AM
There isnt any standard SAS Product or Add-in that supports managing DI objects through GIT repository. This feature is currently being discussed and might be a part in some future releases. But as of now - we have to manage it with CVS.
08-30-2017 01:36 AM
Has there has been any progress on official GIT support for SAS DI Studio since two years ago?
I had a look at creating a GIT plugin using JGIT to hook into your plugin interface.
However after reading through your documentation and examining your source code for the SVN/CVS implemetation.
I can see possible problems with the file format for the metadata..
The current persistence/export file format you are using for your source control, looks to be the standard spk export file format.
Which is a compressed binary archive file, holding subfiles(xml, properties, ...) describing the metadata exported.
Merging and version difference analysis is difficult with binary files.
The xml subfiles (e.g. TransportMetadata.xml) held in the spk are also single lined, instead of pretty print formatted.
Sounds like a minor thing, but it makes it really hard to make sense of things with standard diff tools.
Are there any plans by SAS to define new user readable xml export file formats instead of binary blobs for your SAS DI metadata??
Which makes it practical for your users to use standard source control tools on them.
I have seen other vendors like Oracle do so for their metadata tools.
08-30-2017 04:30 AM
"Are there any plans by SAS to define new user readable xml export file formats instead of binary blobs for your SAS DI metadata??"
Your .spk is actually a zip archive containing XML's. Use WinZip or the like and open the .spk and you'll see.
04-12-2016 08:58 PM
The source code for the SVN and CVS plugins are availble here: http://support.sas.com/rnd/gendoc/versioncontrol/43/en/
In theory these can be used to create a plugin for any other version control system (eg git). In practice I don't think it will be something I get to on the project I'm assigned to If you do get to it, please share
Another alternative could be to use a hybrid of both using DIStudio to commit to SVN then scripting a "pull" from SVN into GIT.
12-06-2017 08:49 AM
GIT Plugin for DI-Studio is available now. You can find plugin from "SAS Knowledge Sharing Application (KSA)".
12-07-2017 02:27 AM - last edited on 12-07-2017 04:14 PM by AnnaBrown
You can find it here:
Update: took out internal link.
12-07-2017 09:44 AM
@sweroz, I'm not able to access that link... I tried switching "sww" to "www". I feel like this may have happened before. Is this an internal SAS link?
12-07-2017 09:50 AM
@sweroz: is the KSA something I can get access to as a non-SAS employee? Or is it a specific product that would depend on what my organization has purchased?
12-07-2017 11:33 AM
I just confirmed that yes, this KSA is internal-only. Sorry about that. Also there's still discussion about Git integration internally, but nothing is available as of yet.
12-11-2017 07:48 AM - edited 12-11-2017 11:05 AM
Do we have a plugin in SAS DI studio for Gitlab? Appreciate if you can share the link.