Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic SYNERGY (steve huntington)
Decrease font size
Increase font size
Topic Title: automating project update with perl
Topic Summary:
Created On: 12-Aug-2004 14:55
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 12-Aug-2004 14:55
User is offline View Users Profile Print this message


Anthony Kent

Posts: 4
Joined: 12-Aug-2004

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?
Report this to a Moderator Report this to a Moderator
 12-Aug-2004 20:40
User is offline View Users Profile Print this message


Mert Vuraldi

Posts: 22
Joined: 2-Feb-2004

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
Report this to a Moderator Report this to a Moderator
 13-Aug-2004 11:29
User is offline View Users Profile Print this message


Anthony Kent

Posts: 4
Joined: 12-Aug-2004

Thanks for the reponse Mert.

Yes, I hope it will turn out to be that straightforward

We will see.......
Report this to a Moderator Report this to a Moderator
 31-Aug-2004 08:32
User is offline View Users Profile Print this message


Peter Dehaan

Posts: 4
Joined: 25-Nov-2003

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
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic SYNERGY forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 15:34.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.