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.
>
>