Page 1 of 1

Source code control....

Posted: Mon Oct 13, 2014 12:12 pm
by bjrichus
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.

Re: Source code control....

Posted: Tue Oct 14, 2014 8:34 am
by Support_Rick
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.

Re: Source code control....

Posted: Wed Oct 15, 2014 8:42 am
by Jonathan
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.