equal
deleted
inserted
replaced
36 |
36 |
37 .. Note:: |
37 .. Note:: |
38 |
38 |
39 * how we built the hook's registry identifier (`__regid__`): you can introduce |
39 * how we built the hook's registry identifier (`__regid__`): you can introduce |
40 'namespaces' by using there python module like naming identifiers. This is |
40 'namespaces' by using there python module like naming identifiers. This is |
41 especially import for hooks where you usually want a new custom hook, not |
41 especially important for hooks where you usually want a new custom hook, not |
42 overriding / specializing an existant one, but the concept may be applied to |
42 overriding / specializing an existant one, but the concept may be applied to |
43 any application objects |
43 any application objects |
44 |
44 |
45 * we catch two events here: "server_startup" and "server_maintenance". The first |
45 * we catch two events here: "server_startup" and "server_maintenance". The first |
46 is called on regular repository startup (eg, as a server), the other for |
46 is called on regular repository startup (eg, as a server), the other for |