P4DTI issue job000831

TitleNo way to just extend the jobspec
Statusclosed
Priorityessential
Assigned userNick Barnes
OrganizationRavenbrook
DescriptionThe P4DTI overwrites the jobspec with one based on the configuration (replicated_fields, etc). This prevents the use of additional, non-replicated fields in the jobspec. The P4DTI should instead extend the jobspec, by adding the fields which it requires. Optionally, such extension could change the specification of a field if it is not correct for the P4DTI. And administrators should be able to just extend the jobspec, independently of running the replicator, so that they can see the results before committing themselves. See also job000699 (configurable jobspec): being able to add P4DTI-required fields to a user's existing jobspec is an important part of this. And this can be combined with job000830 (check jobspec): first check_jobspec, then fix any problems either manually or with extend_jobspec.
AnalysisAdd code to p4.py to extend the jobspec. Add a script extend_jobspec.py to invoke it.
How foundinspection
EvidenceI just know
Observed in2.0.0
Created byNick Barnes
Created on2003-12-13 15:53:34
Last modified byNick Barnes
Last modified on2003-12-13 15:53:53
History2003-12-13 NB Created.

Fixes

Change Effect Date User Description
68199 closed 2003-12-12 11:57:31 Nick Barnes Add top-level scripts for manipulating the jobspec.