[KPhotoAlbum] Breaking changes in file layout

Johannes Zarl-Zierl johannes at zarl-zierl.at
Mon Apr 6 23:30:57 BST 2020


Am Montag, 6. April 2020, 15:51:51 CEST schrieb Tobias Leupold:
> > Yeah, of course it's no problem to calculate an MD5 or SHA-1 hash from a
> > path. I only thought this would give us a long hash, and the checksum used
> > here is quite short. Well, of, course, the 8 or whatever leftmost chars of
> > the hex representation of a MD5 hash should be do the job as well and
> > would
> > also be short.

Either way, this would add yet another quoting mechanism to the code-base. My 
initial proposal was for it to be MD5 because we're already using it.
Keep in mind that every piece of external tooling (e.g. kpa-backup.sh) needs 
to implement this as well.

I have to admit, though, that the short unique names do have a certain charm.

Johannes







More information about the Kphotoalbum mailing list