Unix tools and PH Source code
Darren Reely
darren.reely@latticesemi.com
Wed, 05 Mar 2003 09:43:19 -0800
We use Source Code Control System (SCCS) as the library to control our
source. It allows for one user to edit a file and others to still
retrieve the current version. You can list who has what code reserved.
It also supports multiple libraries, which we have one for Powerhouse,
one for our Oracle SQL stuff, and another for our C code.
We do only sequential changes. I once saw a control system that allowed
for same level (parallel) revision changes, but don't know if SCCS can
do this trickery.
We haven't had much need for mass compiles. I wrote some scripts to pull
only the source used, calculated based on what files are in our
executable directory. During Y2K we did mass compiles so I wrote
another script to read the directory where the pulled source files are
placed, create 3 or more (a few exceptions) appropriate command files to
compile the code, and execute them as such: "quiz <compile_quiz.input".
I have no experience writing makefiles to comment.
All of the current versions of our USE files have copies in a special
location so we don't need to pull them every time we compile something.
Of course I have to remember to update that location, but it is a rare
event here. If our group was large I'd be concerned about how we handle
this.
For our group of 2 this works well.
Darren
John MacLerran wrote:
> Dear PowerHouse list.
>
> This is a question for the folks out there who use PowerHouse on a
> unix platform (HP-UX preferable, but this question may apply more
> widely than that). Do you use any of the unix tools for maintaining
> your PH source code? Specifically, what do you use for source-code
> versioning and mass compiles?
> Our unix programmers here use a freeware tool called cvs. Does anyone
> know if the cvs tools work with PH source code? How about make? Could
> I set up a makefile to recompile all the quick screens for a given
> dictionary, for example?
>
> The reason I ask is that we're in the process of planning our
> migration from the HP3000, and I need to find out if the tools that we
> currently have will work or if we need to find other solutions.
>
> Thanks!
>
> ----------------------------------------------------------------------
> John MacLerran
> IT Systems Analyst email: macljohn@isu.edu
> Idaho State University V(208) 282-2954
> http://www.isu.edu/~macljohn F(208) 282-3673
> ----------------------------------------------------------------------
>
>
> = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> Mailing list: powerh-l@lists.swau.edu
> Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
> Unsubscribe: "unsubscribe" in message body to
> powerh-l-request@lists.swau.edu
> http://lists.swau.edu/mailman/listinfo/powerh-l
> This list is closed, thus to post to the list you must be a subscriber.