Integrate mlcheck into default info.
This commit is contained in:
parent
6580480502
commit
13985085ca
2 changed files with 21 additions and 24 deletions
|
@ -52,8 +52,6 @@ See \fBEXAMPLES\fR for a quick start guide.
|
||||||
.R |
|
.R |
|
||||||
.B \-genid
|
.B \-genid
|
||||||
.R |
|
.R |
|
||||||
.B \-mlcheck
|
|
||||||
.R |
|
|
||||||
.B \-mlsync
|
.B \-mlsync
|
||||||
.R |
|
.R |
|
||||||
.B \-notify
|
.B \-notify
|
||||||
|
@ -81,6 +79,10 @@ With no member specified by neither \fB-mi\fR nor \fB-mn\fR display
|
||||||
overall hackerbase information with organizational bodies memberships
|
overall hackerbase information with organizational bodies memberships
|
||||||
and lists of members of various statuses.
|
and lists of members of various statuses.
|
||||||
|
|
||||||
|
In that case it also checks internal mailinglist membership. All
|
||||||
|
members - including suspended ones - should be subscribed this
|
||||||
|
mailinglist. No other emails should be subscribed to it.
|
||||||
|
|
||||||
When a member is specified, displays its information from the
|
When a member is specified, displays its information from the
|
||||||
database, all identified bank transactions, membership information and
|
database, all identified bank transactions, membership information and
|
||||||
a calendar showing current status of the member during given month.
|
a calendar showing current status of the member during given month.
|
||||||
|
@ -136,12 +138,6 @@ Returns information about used and available member IDs.
|
||||||
.B \-genid
|
.B \-genid
|
||||||
Generates a valid member id that is not used yet.
|
Generates a valid member id that is not used yet.
|
||||||
|
|
||||||
.TP
|
|
||||||
.B \-mlcheck
|
|
||||||
Check internal mailinglist membership. All members - including
|
|
||||||
suspended ones - should be subscribed this mailinglist. No other
|
|
||||||
emails should be subscribed to it.
|
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B \-mlsync
|
.B \-mlsync
|
||||||
Like \fB\-mlcheck\fR but automatically ensuring the subscriptions are
|
Like \fB\-mlcheck\fR but automatically ensuring the subscriptions are
|
||||||
|
|
|
@ -170,8 +170,6 @@
|
||||||
(-fname- file:gnuplot-data))
|
(-fname- file:gnuplot-data))
|
||||||
""
|
""
|
||||||
"Mailman Actions:"
|
"Mailman Actions:"
|
||||||
(-mlcheck () "Check internal ML"
|
|
||||||
(-action- 'mlcheck))
|
|
||||||
(-mlsync () "Synchronize internal ML"
|
(-mlsync () "Synchronize internal ML"
|
||||||
(-action- 'mlsync))
|
(-action- 'mlsync))
|
||||||
""
|
""
|
||||||
|
@ -275,7 +273,23 @@
|
||||||
(newline)
|
(newline)
|
||||||
(if mr
|
(if mr
|
||||||
(print-member-table mr)
|
(print-member-table mr)
|
||||||
(print-members-base-table MB))
|
(let ()
|
||||||
|
(print-members-base-table MB)
|
||||||
|
(newline)
|
||||||
|
(let-values (((missing surplus)
|
||||||
|
(mailman-compare-members internal-ml
|
||||||
|
(mbase-active-emails MB #:suspended #t))))
|
||||||
|
(if (null? (cdr internal-ml))
|
||||||
|
(print "Skipping ML check - not loaded")
|
||||||
|
(if (and (null? missing)
|
||||||
|
(null? surplus))
|
||||||
|
(print "Internal mailing list membership in sync.")
|
||||||
|
(let ()
|
||||||
|
(print "Internal mailing list:")
|
||||||
|
(when (not (null? missing))
|
||||||
|
(print " Missing: " missing))
|
||||||
|
(when (not (null? surplus))
|
||||||
|
(print " Outsiders: " surplus))))))))
|
||||||
(newline))
|
(newline))
|
||||||
((print-stats)
|
((print-stats)
|
||||||
(newline)
|
(newline)
|
||||||
|
@ -342,19 +356,6 @@
|
||||||
(if (-normal-month-)
|
(if (-normal-month-)
|
||||||
(mailman-sync-members internal-ml (mbase-active-emails MB #:suspended #t))
|
(mailman-sync-members internal-ml (mbase-active-emails MB #:suspended #t))
|
||||||
(print "Mailman synchronization disabled with manually specified current month.")))
|
(print "Mailman synchronization disabled with manually specified current month.")))
|
||||||
((mlcheck)
|
|
||||||
(let-values (((missing surplus)
|
|
||||||
(mailman-compare-members internal-ml
|
|
||||||
(mbase-active-emails MB #:suspended #t))))
|
|
||||||
(if (and (null? missing)
|
|
||||||
(null? surplus))
|
|
||||||
(print "Internal mailing list membership in sync.")
|
|
||||||
(let ()
|
|
||||||
(print "Internal mailing list:")
|
|
||||||
(when (not (null? missing))
|
|
||||||
(print " Missing: " missing))
|
|
||||||
(when (not (null? surplus))
|
|
||||||
(print " Outsiders: " surplus))))))
|
|
||||||
((notify)
|
((notify)
|
||||||
(let ((nmembers (members-to-notify MB (-notify-months-))))
|
(let ((nmembers (members-to-notify MB (-notify-months-))))
|
||||||
(newline)
|
(newline)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue