Ticket #82 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

Support diffing of versioned objects

Reported by: rgrp Owned by: rgrp
Priority: critical Milestone:
Component: vdm Keywords:
Cc: Repository:
Theme:

Description

Should have function/facility to get a diff of a version object between 2 revisions. Function should return a dictionary of fields with diffs.

Details:

  • Do we deal with m2m relationships (and m2one on the many side)?
  • What is diff?
    • For text fields output of python diff command
    • For non-text field guess just simple +/- for what was there before and now

Cost: 4h (don't think this is a huge request)

Change History

comment:1 Changed 5 years ago by dread

Done basic work in vdm in cset:2a51e39be179. Previous work in ckan in cset:2cfa1c47acd2 - maybe not needed.

comment:2 Changed 5 years ago by dread

  • Status changed from new to closed
  • Resolution set to fixed

Follow on work in ckan in ticket:173.

Note: See TracTickets for help on using tickets.