|
Paul,
Here's what I've done:
1) Write a script that copies all source in a given library to a matching
IFS directory structure
2) Use that IFS directory structure as your git sandbox.
3) Write a script that copies the opposite way, back to source members.
This way, you can use git as normal in the IFS structure. Clone/pull from
your master repo on the network, run the program to put it into your source
members, and work with it as normal. If you make changes, you can then use
the program to copy it back to the IFS, commit it, and push back to the
master repo.
Git does not do compiles, so you can use the normal IBM compiler commands
(or RDi, or PDM or whatever) it doesn't matter to git.
If you don't want the source after compiling, just delete it. You can
easily re-clone the git repo if you need it again.
For debugging, I would compile with DBGVIEW(*LIST), that way the debugging
source is embedded in the object, so there is no need for the source to be
on the system.
I don't understand why you'd update from 6.1 to 7.1? Why go from an OS
that is 3 releases out of date to one that is 2 releases out of date?!?!
There is absolutely no advantage to running an outdated version of the OS
-- and the more out of date you are, the harder it will be to get current.
-SK
On 7/12/2016 7:39 AM, Paul Bailey wrote:
Hi,--
Has anyone had any success converting a set of source files in libraries
on
an IBM i to a source controlled environment using Git?
If so:
- How did you create the default repository at the start?
- How do you compile the objects on the i? (I understand DDS might be a
problem unless the source member is copied back to the i)
- The source shouldn't be hanging around on the i after compile, so do we
need to clean up source files after every compile?
- When we need to debug the objects on the i, how does the debugger find
the source?
I have os v6.1 and RDi v9.5.x at my disposal, possibly upgrading the os to
v7.1 in the "near future". We currently have all our Git repos on network
storage and (unless otherwise warned) I intend to do the same with this.
We are also looking at commercial products to do all this for us, so any
vendor suggestions could be useful (I already know about Softlanding,
ARCAD, MKS, Rational Team Concert and Aldon), but cost is a major obstacle
for this and most of the additional features are not wanted.
-Paul.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
As an Amazon Associate we earn from qualifying purchases.
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.