Hi all,
I have been playing around with using SVN to change manage my RPG code. I
have installed SVN on the i5 but decided not to go that route once I found
that SVN on the i5 has a good chance of NOT being supported anymore (i.e.
Mark Phippard isn't in the i5 space anymore).
I then started using WDSC's iSeries Projects to get the source into a place
where SVN could be enacted on it using the eclipse tooling and SVN plugin.
This would have been fine except I DON'T do my development from iSeries
Projects and instead like to work directly with the members on the i5
(faster). The problem comes into play when debugging because the debugger
looks at iSeries Projects first for the source member to bring up before
looking on the server - major bummer.
So my next attempt at change management with SVN is as follows:
1) Setup a netserver allowance for
/QSYS.LIB/LIBTOBACKUP.LIB/SRCPFTOBACKUP.FILE
2) Write a script (thinking .bat file or Java) that logs into that folder
each night and downloads the source to a folder on the PC server (Windows).
3) Execute the SVN commands to sync up that folder with the repository.
Right now I have TortioseSVN loaded on the Windows server and am thinking
there must be some automated things I could do with that to get the source
into SVN at 2am each morning.
Before I dive too far into this I am wondering if anybody else has already
tried it, or if somebody has a better way to get code into SVN?
Actually, the more I think of it, a guy could easily write a Java app that
resides on the iSeries and does ALL of this without involving the Windows
side at all. All that would be needed would be a config file stating which
source physical files should be backed up, the repository location/user/pwd,
and you should be set! BTW, I found this completely Java open source tool:
http://svnkit.com
Thoughts?
Aaron Bartell
http://mowyourlawn.com
As an Amazon Associate we earn from qualifying purchases.