Skip to content

feature: check_integrity

Jean-Baptiste Pasquier requested to merge feature/integrity-check into master

Add a command to check datas integrity within a server. Does not act, only warns when it found existing backlinks that are not related to actual LDPSources or 404 within any model.

./manage.py check_integrity

I plan to test it within our production as a check only, then advise on the need of an "auto-repair-alike" for them.

Edit:

Tested it on a server, works as attended, added an argument to fix faulted resources (those not within the federation) and another one to fix 404 resources.

Edited by Jean-Baptiste Pasquier

Merge request reports