Title | Trigger scripts duplicate replicator code |
Status | suspended |
Priority | optional |
Assigned user | Richard Brooksby |
Organization | Ravenbrook |
Description | The example trigger script we provide has its own interface to Perforce, duplicating the "p4" class in the replicator. It would be better to share the code, for maintainability and robustness. |
Analysis | The big question is how we'd find the p4 class. Should it be perhaps installed as a Python library, on the system path, or in "site-python" or the equivalent place? I'm leaving it alone for the moment as we don't have a good answer. RB 2000-12-06 GDR 2001-07-17: We should have a standalone p4.py that people could install and use; contribute to python.org etc etc. The one in code/replicator is not so good for this because it uses our logging, message, catalog stuff and checks for particular Perforce versions. Might want more methods. |
How found | inspection |
Evidence | Noticed myself copying and pasting code when I was writing it. RB 2000-12-06 |
Observed in | 0.4.0 |
Introduced in | 0.4.0 |
Created by | Richard Brooksby |
Created on | 2000-12-07 12:04:52 |
Last modified by | Richard Brooksby |
Last modified on | 2013-03-15 12:19:47 |
History | 2000-12-06 RB Created. 2013-03-15 RB Suspended ancient job in defunct project. |