2 messages in com.perforce.perforce-user[p4] history-field in Jobspec
FromSent OnAttachments
Oyen, Ralf05 Jan 2001 05:10 
Gareth Rees14 Jan 2001 14:38 
Subject:[p4] history-field in Jobspec
From:Oyen, Ralf (Ralf@tui.de)
Date:01/05/2001 05:10:40 AM
List:com.perforce.perforce-user

Hi,

I defined/changed the jobspec Fields: 101...105 as is 106 Severity select 1 required 107 Priority select 1 required 108 History text 0 once .... and some other fields

The user can change the description to have always an up to date information etc.

My idea is to use the history field (which is read only for the user) for a history of each change to the job fille out by a deamon. A deamon recognizes a change (maybe using p4 logger) A simple test on the commandline was: I create a new job 'job3' than save its data: 'p4 job -o job3 > job3_old.txt' after a change of a user the deamon makes 'p4 job -o job3 > job3_new.txt' and runs diff job3_old.txt job3_new.txt > job3_diff.txt (not a 'p4 diff') (not a nice output, can be beautified later) and append this to job3_new.txt in the history field and puts this back to perforce with p4 job -f -i job3_new.txt and saves this to job3_old.txt.

Currently there is a problem with 'p4 job -f' would'nt work correctly with read-only fields.

I read all info about the integration-project from ravenbrook and i think they are on a good way.

But this is a small thing we would need now. Has anyone done such a thing or has any ideas?

regards, Ralf