Part of lp.registry.scripts
|Function||check_teamparticipation_circular||Check circular references.|
|Function||execute_long_query||Execute the given query, reporting as results are fetched.|
|Function||fetch_team_participation_info||Fetch people, teams, memberships and participations.|
|Function||check_teamparticipation_consistency||Check for missing or spurious participations.|
|Function||fix_teamparticipation_consistency||Fix missing or spurious participations.|
There can be no mutual participation between teams.
results, reporting on progress.
|interval||How many results to report progress about.|
|results||An iterable of things.|
|what||A string descriping what the results are.|
The query is logged, then every
interval rows a message is logged with
the total number of rows fetched thus far.
For example, participations for people who are not members, or missing participations for people who are members.
This function does not consult
TeamMembership at all, so it /may/
introduce another participation inconsistency if the records that are the
subject of the given errors have been modified since being checked.
|Parameters||errors||An iterable of |