![]() |
Telelogic SYNERGY (steve huntington) | ![]() |
Topic Title: automating project update with perl Topic Summary: Created On: 12-Aug-2004 14:55 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I would be grateful for any general advice that anyone can offer. I have a document repository on an HPUX server that can be updated with new/revised documents by users from several sites using a web interface. The powers that be want the documents to be stored in Synergy 6.3.
As I don't want to have to check the repository for new documents several times a day I want to automate the job - comparing what's in the Synergy project with what's in the repository and, when necessary, creating/checking in new or revised documents. Since I know perl reasonably well I was intending to create a script to do the job then run it with cron at set times. Has anyone any advice to offer before I set out on the task or writing it? |
|
![]() |
|
![]() |
|
Hi Anthony !
Sounds like a quite simple job (perhaps I missed something..?). Just create a cron job controlled script, that - starts a nogui CMS session - creates task like "Doc-Update <Date>" and set it as default - reconciles the appropriate workareas (though it will create a new version even if just timestamp has changed) - checks in the task So, the very optimistic way its a four liner and another line for the cron job. Regards, Mert |
|
![]() |
|
![]() |
|
Thanks for the reponse Mert.
Yes, I hope it will turn out to be that straightforward ![]() We will see....... |
|
![]() |
|
![]() |
|
Hi Anthony,
One problem I can see with a comman workarea in which people can place updated documents is that someone could loose their changes if multiple people are working on the same files? A more complicated but still elegant solution would be to make the workarea a "shared project" and have people use ActiveCM to check files in and out of the workarea? At least the files are protected while someone is working on it and other can find out who it is. Then the onus is on the people doing the work to update the files into CM. Cheers, Peter |
|
![]() |
Telelogic SYNERGY
» SYNERGY/CM
»
automating project update with perl
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.