Generate a human-readable report from a (delta) df

Posted by martinz on 24-Jan-2017 08:44

Hi all,

Does anyone know about a tool to generate a human-readable report from a (delta) df? We'd like to be able to provide a document that lists changes to our databases in a more readable format. Off course it's possible to write such a thing ourselves, but if it allready exists...

- Martin

All Replies

Posted by Valeriy Bashkatov on 25-Jan-2017 06:45

Hi,

I have not seen such a report, which would be generated based on df.

But there are two variants, which generates a report based on the connected database.

1.

proora.com/.../html-help.html

2.

www.oehive.org/.../htmldict

May be based on them, you can create your own variant for DF (delta).

I hope this helps.

Regards,

Valeriy

Posted by cverbiest on 25-Jan-2017 11:01

Very basic but useful delete all lines that start with 2 spaces and delete all empty lines.

On linux you can do this with following one-liner

sed -e '/^  /d' -e '/^ *$/d' < delta.df

Posted by martinz on 26-Jan-2017 01:59

Hi,

Very useful indeed. May already be enough.

Posted by Riverside Software on 26-Jan-2017 03:11

Useless answer if you don't have some Java knowledge, but this class ( github.com/.../DumpFileReleaseDescriptor.java ) has been used to generate a text file which then could be automatically imported in Atlassian Confluence to display a recap of all changes in DF files.

Much more complex than Carl's solution however :-)

This thread is closed