Source code control....

Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
3 posts Page 1 of 1

bjrichus

Posts: 1
Joined: Sun Jul 20, 2014 9:44 pm

Post by bjrichus » Mon Oct 13, 2014 12:12 pm
I have asked support about this, but the answer there was negative.

Has anyone linked a GoAnywhere installation for things like projects, monitors etc into a source code control system, like Github?

We have a proposal to do with for some systems where there are text files that define the system/programs etc and I can see how it might be done for projects, but if someone has done this already, I'd sure like to know how easy/hard etc it was for you....

Thanks in advance.

Support_Rick

Support Specialist
Posts: 592
Joined: Tue Jul 17, 2012 2:12 pm
Location: Phoenix, AZ

Post by Support_Rick » Tue Oct 14, 2014 8:34 am
Brian,

Inherently, GADirector does not have a Source Control built into the product.

Programs like GitHUB and SVN both have command line interfaces. Since GoAnywhere Director does allow you to execute command line programs, you could easily trigger/run interfacing with that program using those interfacing commands.

Running them across your Projects folder looking for modifications and/or passing a Project Name to the Command line utility could give you what you are looking for.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696

Jonathan

Posts: 18
Joined: Wed Jan 02, 2013 5:27 am
Location: Mapledurham, UK

Post by Jonathan » Wed Oct 15, 2014 8:42 am
Just following on from what Rick said you could have a daily task scheduled that could run the git commands on the projects folder.

I would start out with the normal git status to check for any changes and parse the response to look for anything then run the git add command followed by git commit -m 'Director Commit ${Date}' and git push origin master or whatever your repo / branch is called.

If I have some time over the next few days I will get an example put together.
3 posts Page 1 of 1