-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make b2sum part of libb2 #17
Comments
There's a confounder here, which is that |
b2sum existing also in GNU core utilities is not a problem. coreutils is a popular set of small programs, but not universally used, often not in embedded solutions for instance. I think it would be a bit unfortunate if canonical b2sum location would be in package of utilities that prospective b2sum users may not be interested in. Second thing you already mentioned yourself: GNU-ized (thankfully not in the license) b2sum should really remain multi-variant tool, but it could be extended to additionally choose appropriate variant in automatic way depending on the name of executable that is used to run it:
Bunch of cheap symlinks and all the variants+sizes are covered, if desired, but I possibly wouldn't go below 64-bit sizes. If you're somewhat concerned about possibility that coreutils' version of If you'd be okay with bringing b2sum to libb2, be it as Once again, I'm not saying to make b2sum being built by default next to libb2, but only if requested. After all it's one of the best possible examples of libb2 usage. EDIT (2018-02-15T22:08Z): Ok, I honestly forgot about BLAKE2bp and BLAKE2sp variants, but they could have their own symlinks too, of course. I also forgot about BLAKE2x, and some could argue that because libb2 doesn't implement it, |
b2sum may be added as an example of library usage, i.e. not built by default unless explicitly asked (e.g.
make b2sum
). This repository should then become the canonical location of b2sum.If you don't like this idea, then please consider putting b2sum in its own repository, most likely BLAKE2/b2sum. Having it in BLAKE2/BLAKE2 may work for BLAKE2 reference material, but doesn't really work for distributions and package maintainers. If you'll decide to create such repo, don't forget about release management for it too (tags, tarballs, etc.).
It will substantially help in greater adoption of this utility.
The text was updated successfully, but these errors were encountered: