Editing Personnel Database/Processing/How To
From PCSAR
Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Current revision | Your text | ||
Line 56: | Line 56: | ||
******* (done) wiki-watch-script-add | ******* (done) wiki-watch-script-add | ||
******* (done) wiki-watch-script-remove | ******* (done) wiki-watch-script-remove | ||
- | ****** | + | ****** create mechanism to dispatch scripts based on email of page that changed |
******* ''consider security of other person editing page | ******* ''consider security of other person editing page | ||
+ | ******* document how mvs handles edit conflicts | ||
******* (done) create tool to determine revision number of page: ~/bin/wiki-page-revision-number-get | ******* (done) create tool to determine revision number of page: ~/bin/wiki-page-revision-number-get | ||
+ | ******* ''consider usage pattern get-latest-revision-number; get-page; verify lastest-revision-number unchanged | ||
******* (done) create tool to determine editor of particular revision of page (not necessarily current revision) | ******* (done) create tool to determine editor of particular revision of page (not necessarily current revision) | ||
******** (done) create tool <code>wiki-page-editors-list</code> that generates list of revision id's and editors | ******** (done) create tool <code>wiki-page-editors-list</code> that generates list of revision id's and editors | ||
******** (done) create script wiki-page-editor that produces editor of latest or specified revision | ******** (done) create script wiki-page-editor that produces editor of latest or specified revision | ||
- | ******* ( | + | ******* '''(next)''' create mechanism to modify page only if its at a specific version |
- | + | ||
- | + | ||
******* validate against whitelist of last editors | ******* validate against whitelist of last editors | ||
- | |||
- | |||
- | |||
****** create mechanism to unwatch pages if email came in and no watch script registered | ****** create mechanism to unwatch pages if email came in and no watch script registered | ||
**** develop watch on memrec category | **** develop watch on memrec category | ||
***** add new pages | ***** add new pages | ||
***** delete removed pages | ***** delete removed pages | ||
- | |||
*** allow Members: page to transclude report from another Members: page | *** allow Members: page to transclude report from another Members: page | ||
*** when [[Activities]] changes, reprocess all Members | *** when [[Activities]] changes, reprocess all Members | ||
Line 92: | Line 88: | ||
=== Process === | === Process === | ||
- | |||
- | |||
- | |||
* <big>'''make sure current ssh-agent authority is extended'''</big> | * <big>'''make sure current ssh-agent authority is extended'''</big> | ||
ssh -AX wuth@localhost | ssh -AX wuth@localhost | ||
Line 103: | Line 96: | ||
* sends personnel list (names only) to [[Members:Protocols/Shell H2S/Global Training|Global Training for validation of H2S Alive course registration.]] | * sends personnel list (names only) to [[Members:Protocols/Shell H2S/Global Training|Global Training for validation of H2S Alive course registration.]] | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
d4h-web-interface.py user:pcsard4hbot@pcsar.ca.d4h.org membersImport | d4h-web-interface.py user:pcsard4hbot@pcsar.ca.d4h.org membersImport | ||
Line 117: | Line 104: | ||
d4h-web-interface.py user:pcsard4hbot@pcsar.ca.d4h.org activitiesAttendanceImport | d4h-web-interface.py user:pcsard4hbot@pcsar.ca.d4h.org activitiesAttendanceImport | ||
- | + | rapid-notify-post | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
** sometimes fails at initial log in and has to be restarted | ** sometimes fails at initial log in and has to be restarted | ||
** takes ~65 minutes to run | ** takes ~65 minutes to run | ||
*** see {{subpage|Rapid Notify}} | *** see {{subpage|Rapid Notify}} | ||
- | |||
* To Do: {{rbw|as used}} | * To Do: {{rbw|as used}} | ||
** additional policy checks | ** additional policy checks |