Diff Directories: Add hash of files respecting the current Ignores setting of files

Are you missing a feature? Request its implementation here.
tatra603
Posts: 90
Joined: Fri Sep 17, 2004 10:53 am
Location: Prague, the Czech Republic, Europe

Diff Directories: Add hash of files respecting the current Ignores setting of files

Post by tatra603 »

Hello, developers,

I have one more feature request to Diff Directories. Current implementation of Diff Files used by Diff Directories greatly enables many Ignore settings (like Node/Type, Namespaces/Prefixes, Order, Nodes by XPath...) like no other tool can. Based on this Ignores Diff Directories produces produces report in HTML (XML, JSON...).

The RFE is following: Would it be possible to produce hash (e. g. SHA-256) for files respecting all Ignore settings and save it into report next to path, datetime...? So not hash of file as is on filesystem (or on filesystem inside ZIP archive), but hash of virtual file after applying all of Ignore settings.

Why? Currently oXygen performs differences between two directories. But let imagine, that configuration (XML, JSON, YAML, text) files are deployed to more (3*3*16 in my case) directories and or ZIP archives (with thousands files inside them). Having such path and hash of files after applying all of Ignoring settings inside report would greatly enable multiple diff in some tool like SQL database (union minus intersect). No other tool can do such fine Ignore settings like oXygen does.
Or now, as I am writing these lines, this should not be task for Diff Directories (Files), but just simple report (path, hash for each file and user, Ignore settings, datetime of report in the report header) of one Directory and or ZIP archive after applying Ignore settings. So no differences would be performed, just simple report with computed hash after applying Ignore settings. Diff then would be a task for user to do diff according his needs. This would greatly speed the task (no diff) and no GUI interpretation should not be necessary.

I know, you must love all my crazy RFEs... ;-) Best regards, Stepan
teo
Posts: 109
Joined: Wed Aug 30, 2017 3:56 pm

Re: Diff Directories: Add hash of files respecting the current Ignores setting of files

Post by teo »

Hi Stepan,

I've registered your request for a more detailed analysis first.
At first glance, it doesn't seem to be anything intrinsically related to Diff directories, but rather a new tool.
Something like 'Semantic Fingerprint Report' or 'Normalized Hash Report'.

Regards,
Teo
Teodor Timplaru
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply