Re:Elfshaker: Version control system fine-tuned for binaries
by carlmr on Friday November 19, 2021 @08:22AM
(#29276860)
I find the description a bit confusing, is there and example where we can see the usage?
[ Parent
| on HN ]
Re:Elfshaker: Version control system fine-tuned for binaries
by w0m on Friday November 19, 2021 @08:43AM
(#29277017)
My top level being that it's a VCS (like Git) specialized for binaries; with commands baked in to prevent the slowdown that often comes with large git repositories.
Re:Elfshaker: Version control system fine-tuned for binaries
by throw_away on Friday November 19, 2021 @05:40PM
(#29283548)
Specifically, it's for ELF binaries built in such a way that adding a new function or new data does not break however they cache existing functions/data.
I wonder if this concept could be extended to other binary types that git has problems with, were you able to know/control more about the underlying binary format.
Re:Elfshaker: Version control system fine-tuned for binaries
by peterwaller-arm on Friday November 19, 2021 @08:52AM
(#29277084)
One of the authors here, thanks for the feedback. We've tried to improve it here: https://github.com/elfshaker/elfshaker/pull/59
Re:Elfshaker: Version control system fine-tuned for binaries
by mxuribe on Friday November 19, 2021 @08:38AM
(#29276978)
Same here. There is a usage guide, which helped a tiny bit: https://github.com/elfshaker/elfshaker/blob/main/docs/users/...
Honestly, I sort of looked at it for conventional backup strategy...as in, i wonder if it could work as a replacement for tar-zipping up a directory, etc. But, not sure if the use cases is appropriate.
Re:Elfshaker: Version control system fine-tuned for binaries
by peterwaller-arm on Friday November 19, 2021 @08:55AM
(#29277113)
Author here. We'd love this to be a thing, but this is young software, so we don't recommend relying on this as a single way of doing a backup for now. Bear in mind that our main use case is for things that you can reproduce in principle (builds of a commit history, see manyclangs).
Re:Elfshaker: Version control system fine-tuned for binaries
by mxuribe on Friday November 19, 2021 @02:08PM
(#29280995)
> our main use case is for things that you can reproduce in principle (builds of a commit history, see manyclangs)
I appreciate your response, and thanks very much for the clarification of use case; very helpful! Thanks also of course for building this!
Re:Elfshaker: Version control system fine-tuned for binaries
by xdfgh1112 on Friday November 19, 2021 @09:10AM
(#29277269)
For backup you probably want something like Borg to handle deduplication of identical content between backups.
Re:Elfshaker: Version control system fine-tuned for binaries
by peterwaller-arm on Friday November 19, 2021 @09:17AM
(#29277347)
Author here, I agree with xdfgh1112, please take care before using brand new software to store your backups!
Re:Elfshaker: Version control system fine-tuned for binaries
by mxuribe on Friday November 19, 2021 @02:11PM
(#29281026)
Yes, any time that i use something new or different (or both) for something as essential as backups, i take great and deliberate care...and test, test, test...well before standardizing on it. ;-)
Re:Elfshaker: Version control system fine-tuned for binaries
by wyldfire on Friday November 19, 2021 @08:46AM
(#29277041)
There is an associated presentation on manyclangs at LLVM dev meeting. I think they presented yesterday?
Unfortunately it won't be uploaded until later but it will show up on the llvm YouTube channel: