I'm aware that this topic has come up several times in the past; in fact I just made a summary for my team of all the previous discussions.
I also know that Infor has recently added basic versioning to the GUI (View -> Site Manager -> right-click on file and Check-In, Check-Out, Show History, etc.
However the GUI versioning only works for Cloverleaf objects and I'm investigating a version/source control system we can use for our shell scripts, cron files, etc. which are outside our Cloverleaf sites.
The other weakness of Cloverleaf's version control is that there is no command line equivalent. I'd hoped (prayed) that I'd find that underneath the GUI there was a version of cvs, svn (subversion) or git, but alas no - it seems Cloverleaf decided to roll its own VCS with a proprietary database.
(Which is fine, but also means they're reinventing the wheel and means their version control also lacks basic VCS features like being able to compare two prior versions, restore a prior version, allow two people to work on different parts of a file and merge changes, etc.)
We're also very leery about the exclusive checkout aspect of Cloverleaf's GUI-based versioning, as far as someone checking out some files and forgetting to check them all in before going on vacation, or if out sick, etc.
In the Unix world there's CVS (early 90s; venerable), Subversion (early 2000s, an improved CVS), and Git (late 2000s, most modern).
The momentum is obviously behind Git and I
wish we could use it, but unfortunately getting
anything installed on our Cloverleaf server takes an Act of God (risk assessment, justification, etc.) and our server vendor (IBM/AIX) only has a prebuilt package available for CVS (see
http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html)
So unfortunately that means we'll probably have to go with CVS since it's "vendor blessed" and the vendor supplies an installation package. I guess some version control is (much) better than no version control.
My question is, what issues have people encountered using CVS (or for that matter Subversion or Git) with Cloverleaf, and how did you (or did you) resolve them?
Previous threads have mentioned that the GUI rewrites NetConfig in a different/semi-random order, even if no changes were made, so from a source control perspective it appears the file changed even though it really didn't.
(Vaughn Skinner wrote in 2012 at
Migrating Cloverleaf changes to production that he wrote a Perl script to reorder NetConfig before checkin, but I don't think he ever posted the script, and I'm not sure how palatable that would be to my team in any case.)
Another issue that was mentioned is that CVS/svn files and/or directories in Cloverleaf's directories can cause issues with the GUI (see Richard Hart in 2013 at
Revision/Change Control Methods? and Lin Lue in 2006 at
Automating changes from development to production and Bill May in 2005 at
Cloverleaf and Sub Version)
So I'm wondering if anyone is using or tried using cvs/svn/git and experienced problems in the GUI and what the solution was, or any other problems encountered & what the solutions were.
(As a side note, it seems Cloverleaf used to come with a version of CVS called hcicvs, as it was mentioned in a 2006 post at
QDX 5.3 version control error but it was subsequently removed for reasons that weren't clear, perhaps partly due to the plan to add versioning to the GUI.)