Comparison operations for depts, sites, buildings, floors and rooms
Adds operations:
comparison.compare_depts
comparison.compare_sites
comparison.compare_buildings
comparison.compare_floors
comparison.compare_rooms
Results of which can be dumped with:
-
dump(comparison.depts)
etc, or -
dump_json(comparison.depts,false,2)
for prettified json
Currently detecting many changes as ids haven't been updated in TermTime so it cannot match records.
Warning: in consistencies in TermTime's field names in API have added some complications (different fields needed for comparing data vs updating data)
Update: room ids updated in TermTime, but not buildings yet - building ids now updated
Additional room capacity and capabilities checks spun off until we have a clear picture of what is needed - #17 (closed)
Closes: #11 (closed) and #16 (closed)
Edited by Robin Goodall