[mythtv] Windows packager using MD5

buzz davidbuzz at gmail.com
Wed Oct 29 02:46:17 UTC 2008

The earlier code was previously just testing size and byte length, and was
getting un-stuck on files that were essentially identical in content except
for the SVN revision number being different.

The files should already be forced to identical mtime/s as it's only really
the SVN number/s inside the file that wanted comparing anyway, so testing on
byte-size was not accurate enough.    Adding the MD5, makes the "test"
accurate, but of course, there's probably a better way of doing it that
doesn't involve "touch", "cat" , shell commands, and MD5 tests, as all I was
really wanting the code to do was compare two numbers ( SVN revisions).

So, is there an easier way to to get an SVN revision number into perl than
running 'svn info' and searching for it in the output?   Anyone know if
there is a SVN::API or some-such perl module?


On Mon, Oct 20, 2008 at 8:58 AM, Nigel Pearson <nigel at ind.tansu.com.au>wrote:

> After a recent change to win32-packager.pl, I often get:
> ...
> effect failed, files NOT identical size,mtime, and MD5: (C:/mythtv/
> mythtv/svn_info.txt => C:/mythtv/mythtv/svn_info.new)
> Doing a touch on both those files gets me past it,
> but I'm wondering if we really need to be so thorough?
> --
> Nigel Pearson, nigel at ind.tansu.com.au|"Now the world has gone to bed.
> Telstra Net. Eng., Sydney, Australia | Darkness won't engulf my head.
> Office: 9202 3900    Fax:  9212 6348 | I can see by infrared.
> Mobile: 0408 664435  Home: 9792 6998 | How I hate the night." -Marvin
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20081029/89ed0591/attachment.htm 

More information about the mythtv-dev mailing list