Re: Breaking changes in file layout
Johannes Zarl-Zierl <[email protected]> Tue, 07 Apr 2020 00:30:57 +0200
| Newsgroups | gmane.comp.kde.kimdaba |
|---|---|
| Message-ID | <1725505.3FXILBXHxs@mani> |
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