× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Richard Schoen wrote:

2.) Command might be:
SVNSYNC
File(DEVLIB/QCLSRC)
IFSProjectFolder(/devlib/qclsrc)
Include(*ALL/*CHANGED)
ChangeInt(*TODAY-mm/dd/yyyy)

I really like the idea of having a command to do this. I've been rolling around the idea of something like this (without getting very far) for a while. Having a i5/OS command line svn client would be a huge leap for the ability of shops to start using svn, because it would help the more green-screen oriented to be comfortable with the process. Maybe it could even be integrated with PDM!

So I guess SVNSYNC would do something like:
a) svn (checkout||update) svn://<server>/<IFSProjectFolder> <IFSProjectFolder>
... since the directory must be a valid working directory for the commit to happen

b) for each [changed] member
CPYTOSTMF <file>,<member> -> <IFSProjectFolder>
end

c) svn commit <IFSProjectFolder>


<Then whatever RPG/Java code runs>

3.) CPYTOSTMF would be easier than reading the source with RPG. Less
programing :-)

Can CPYTOSTMF strip the date area and sequence numbers automatically? I think that stripping these out will be necessary to avoid clutter when viewing the revision history of a source member.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.