On 6/5/07, Mathias Bauer <[EMAIL PROTECTED]> wrote:
Denver Gingerich wrote:
> For example, the following should work:
>
> $ svn commit test.odt
> $ mv test.odt test1.odt
> $ svn up
> [pulls deleted test.odt from repository]
> $ diff test.odt test1.odt && echo match
> match
>
> An SCM user might, for example, keep checksums of all the files they
> commit to verify that no one tampered with their files while the files
> were hosted on the SCM system. If the checksum doesn't match and the
> SCM did not always return an identical binary for a given file and
> revision, then the user wouldn't know whether their file had been
> tampered with or if the SCM had just decided to modify it but it still
> "meant" the same thing.
So perhaps the checksum of the binary files is the wrong tool to detect
file identity? Perhaps the checksum should be created from the
uncompressed streams inside the file? Such functionality could be
implemented as an OOo extension so that users can check file integrity
by comparing the CRC with a stored one. Kind of a "poor man's signing". :-)
Implementing a checksum feature in OOo would be re-implementing a
function that is already provided by many widely-available tools such
as md5sum. In the spirit of Unix simplicity, it would make more sense
to keep this function out of OOo and let the existing tools do what
they do best.
It makes more sense to be able to re-package extracted OOo file
contents to be identical to the original OOo file than to start
implementing more features that shouldn't be part of OOo to begin
with.
Denver
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]