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 1: | Line 1: | ||
- | ==How to process the | + | ==How to process the membership database== |
Processing the database requires UNIX scripts, which I ([[Brett Wuth]]) keep | Processing the database requires UNIX scripts, which I ([[Brett Wuth]]) keep | ||
on the PCSAR virtual machine. | on the PCSAR virtual machine. | ||
Line 11: | Line 11: | ||
=== Pending edits === | === Pending edits === | ||
- | Check my | + | Check my marked up copy of the call out list to see any changes |
- | may be necessary. | + | that may be necessary. |
+ | |||
=== Extract and validate === | === Extract and validate === | ||
Line 18: | Line 19: | ||
to do | to do | ||
* validate upon edit rather than wait for process | * validate upon edit rather than wait for process | ||
- | ** | + | ** enable PCSARBot to receive email on watched pages |
*** configure exim to receive e-mail locally | *** configure exim to receive e-mail locally | ||
*** login as PCSARBot | *** login as PCSARBot | ||
Line 26: | Line 27: | ||
**** E-mail me when a page I'm watching is changed | **** E-mail me when a page I'm watching is changed | ||
**** E-mail me also for minor edits of pages | **** E-mail me also for minor edits of pages | ||
- | ** ( | + | *** '''(next)''' amend script to output errors with contextual lines |
+ | ** (done) validate Activities upon edit | ||
*** Add [[Activities]] to PCSARBot's watchlist | *** Add [[Activities]] to PCSARBot's watchlist | ||
*** uses .procmailrc | *** uses .procmailrc | ||
*** uses script ~bot/sar/pc/membership/bin/wiki-membership-activities-validate to update [[Activities/Report/wiki-membership-activities-validate]] | *** uses script ~bot/sar/pc/membership/bin/wiki-membership-activities-validate to update [[Activities/Report/wiki-membership-activities-validate]] | ||
- | + | ** validate each Membership Record upon edit | |
- | ** validate each | + | *** '''(next)''' write script to validate just member passed |
- | *** ( | + | |
**** see ~bot/sar/pc/membership/bin/wiki-membership-member-validate | **** see ~bot/sar/pc/membership/bin/wiki-membership-member-validate | ||
**** Use "{{member|Brett Wuth}}" as experiment | **** Use "{{member|Brett Wuth}}" as experiment | ||
- | *** | + | *** update all memrec pages to include validation report |
- | + | ||
*** develop trigger on memrec changes | *** develop trigger on memrec changes | ||
- | **** | + | **** analyse that mechanism works for watch reset of "Activities" which must trigger multiple processings |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
**** develop watch on memrec category | **** develop watch on memrec category | ||
- | ***** add new | + | ***** add new members |
- | **** | + | **** develop dispatch on changes to individual memrec or Activities |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
{{rbw|as used}} to do: optimize for speed (last run 7min) | {{rbw|as used}} to do: optimize for speed (last run 7min) | ||
Line 92: | Line 56: | ||
=== 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 101: | Line 62: | ||
* prints copies for myself | * prints copies for myself | ||
- | |||
- | + | d4h-web-interface user:pcsard4hbot@pcsar.ca.d4h.org membersImport | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
+ | 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 | ||
Line 158: | Line 102: | ||
=== sync wiki accounts === | === sync wiki accounts === | ||
- | * [http://iweb.castrov.cuug.ab.ca/mediawiki/index.php/Mediawiki#Syncing_user_list sync] the | + | * [http://iweb.castrov.cuug.ab.ca/mediawiki/index.php/Mediawiki#Syncing_user_list sync] the membership list with the wiki user list |
** rename/merge Charlene/Charleen Bruder | ** rename/merge Charlene/Charleen Bruder | ||
** Extract list of users currently with "Member" status | ** Extract list of users currently with "Member" status | ||
*** http://pcsar.dyndns.org:8080/mediawiki/index.php?title=Special:Listusers&limit=500&group=Members | *** http://pcsar.dyndns.org:8080/mediawiki/index.php?title=Special:Listusers&limit=500&group=Members | ||
- | + | === H2S list === | |
- | + | * '''(fixme)''' add to main script | |
- | + | * Send membership list (names only) to [[Members:Protocols/Shell H2S/Global Training|Global Training for validation of H2S Alive course registration.]] | |
- | + | ||
- | + | h2s-training-list-email | |
- | + | ||
- | + | ||
- | * '''( | + | |
- | * | + | |
- | + | ||
- | + | ||
==Non-monthly processing== | ==Non-monthly processing== | ||
Line 226: | Line 164: | ||
--text follows this line-- | --text follows this line-- | ||
Thanks for joining Pincher Creek SAR. Can you please check if I've correctly | Thanks for joining Pincher Creek SAR. Can you please check if I've correctly | ||
- | copied your | + | copied your membership record: |
---cut--- | ---cut--- |