GIT and Caché

796 views
Skip to first unread message

Rick Clayton

unread,
Mar 6, 2013, 1:48:09 PM3/6/13
to intersystems...@googlegroups.com
Does anyone out there have a process in place that uses GIT with Caché?  I do The Cube for my Caché coding; Eclipse Juno for Python, R; also do some Iguana 5 and Lua.
I have projects that span all platforms.  My shop is expanding from a few man show to a place where we need to get some code control in place and I would like to use GIT.
Thoughts?  Any share of your experiences would be greatly appreciated.
-- 
Rick Clayton
Senior Computer Specialist Lead
UW Medicine / University of Washington School of Medicine
rcla...@uw.edu

Caché 2010.2.3

Roberto

unread,
Mar 6, 2013, 2:32:18 PM3/6/13
to intersystems...@googlegroups.com
I'm also interested in what people are doing with GIT and Cache.

I've been using GIT with Cache manually - export the XML of the cls / mac to a GIT folder, add to it, then commit to GIT.

I tried hooking %Studio.SourceControl.Base to GIT, but could not decide on the proper work flow, so just decided to do it manually.

Anyone else have input on this, it would be appreciated.

-Roberto

Micky Hulse

unread,
Mar 6, 2013, 3:49:34 PM3/6/13
to intersystems...@googlegroups.com
+1.

I've always wondered how I could test my site locally using Caché,
pull latest from git, make changes, push to git and pull to
test/production servers.

Tony

unread,
Mar 7, 2013, 7:29:09 AM3/7/13
to intersystems...@googlegroups.com
Hello Rick - I have not heard of anyone using GIT with Caché Studio in this newsgroup, but there are people using SVN and it may be better than nothing (see links below).  /Tony

Jason Warner

unread,
Mar 7, 2013, 12:09:50 PM3/7/13
to intersystems...@googlegroups.com
We are using Mercurial with Cache. It is similar to Git in that it is a
DVCS. A typical setup for developers is a STABLE branch and then a DEV
branch. The DEV is cloned from the STABLE and STABLE pushes to a central
server that we use to deploy code to our remote servers.

The way we accomplished the integration was to use the version control
hooks in Studio to export XML files to a directory that is then tracked
in source control. When a file is loaded in Studio, it is loaded from
this directory and then saved in the database. This allows us to make
sure that changes from Mercurial are picked up by Studio when editing
files. All version control is handled through tools outside of Cache (in
our case TortoiseHg).

There are some considerations to take into account when using a DVCS in
Cache. We have found it easiest to maintain a separate namespace on our
dev boxes for each cloned branch. This makes it so that you don't have
to keep clearing and importing code when switching between repos. Also,
we make extensive usage of global mapping. This way, a namespace can
have it own "settings" globals and then we can drop a "data" file in
place and not worry about having to get our setting right again for the
namespace.

We used to use Subversion for our source control, but found that a DVCS
really removed a lot of log jams encountered under Subversion. If you
are looking at Git, you probably know about this though.

Jason

On 3/6/2013 11:48 AM, Rick Clayton wrote:
> Does anyone out there have a process in place that uses GIT with Cach�? I do The Cube for my Cach� coding; Eclipse Juno for Python, R; also do some Iguana 5 and Lua.
> I have projects that span all platforms. My shop is expanding from a few man show to a place where we need to get some code control in place and I would like to use GIT.
> Thoughts? Any share of your experiences would be greatly appreciated.
> --
> Rick Clayton
> Senior Computer Specialist Lead
> UW Medicine / University of Washington School of Medicine
> rcla...@uw.edu
>
> Cach� 2010.2.3
> --
> --
> Cach�, Ensemble, DeepSee
>
> ---
> You received this message because you are subscribed to the Google
> Groups "Cach�, Ensemble, DeepSee" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to intersystems-publi...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Message has been deleted

Rob vl

unread,
May 3, 2013, 6:35:45 PM5/3/13
to intersystems...@googlegroups.com
We (recently) use a nice open source solution: http://www.riemer.eu/opensource-projekte.html
 

sources are stored locally in xml files, manual update and commit to repo is required but that's enough for us. We use SVN on Window with Tortiose.

Alexander Koblov

unread,
May 6, 2013, 9:59:09 AM5/6/13
to intersystems...@googlegroups.com
You might want to look at

https://github.com/intersystems-ru/cache-tort-git

You are (obviously — this is github) free to fork it and change it as you like.

Reply all
Reply to author
Forward
0 new messages