Diffable tool generator

6 views
Skip to first unread message

icefox

unread,
Jul 15, 2010, 2:56:46 PM7/15/10
to Diffable
Hi Joshua,

I've been able to play a little bit with Diffable.
One of the first things which lacks for the time being to Diffable, is
a tool to generate the diffable files from different versions of an
application.

For the time being, Diffable is able to generate diffable files from
web resources which are updated in the application server while
running.

There are few cases, where this happens. Generally, when a new version
of the application is released, we redeploy the whole application and
this is not generally done at runtime.

So we need a tool, which will be able to generate the diff files from
the different versions of the application and we should add an option
in Diffable to take in account this configuration to be able to serve
the new version and the diff with the old ones.

This tool should take in parameter the list of directory of the
different version to compute and generate the diffs and the hashcode
of the different web resources.

We will need a such tool in Jawr to be able to integrate Diffable.
I'll try to see what I can come up with and I'll let you know.

Cheers,
Icefox

Joshua Harrison

unread,
Jul 16, 2010, 12:15:15 AM7/16/10
to Diffable
Ice,

It should be fairly easy to separate out the diffing code into a stand
alone tool and I would be more than happy to help with that.

However, I'd also love more details on your standard use case to see
if we couldn't integrate it into the library. I had originally
thought that by providing a means to designate a resource store
outside of the application path, the library would be able to perform
diffs between deployments of the application. For instance, if the
resource store were at /home/josh/resource_store and the application
were at /usr/bin/apache-tomcat/... then every time the application
was restarted/deployed, as long as the managed resources resided
within the same directory in the application, they could be diffed
against the versions stored in the resource store at /home/josh/
resource_store. Is this not the case?

Thanks for your time!

Joshua

icefox

unread,
Jul 16, 2010, 5:12:29 AM7/16/10
to Diffable
Hi Joshua,

You are totally right.
I've forgot that the diffable folder can be externalized.
With a externalized diffable folder, the tool is not really necessary.

Thanks for your reply.

Cheers,
Icefox
Reply all
Reply to author
Forward
0 new messages