4 ms·
Absolutely not; there are a myriad of reasons to prefer tarballs over Git: - Offline use - Permission restrictions (Internal git networks) - True-persistent ve
by tjbiddle 11y ago
Absolutely not; there are a myriad of reasons to prefer tarballs over Git:
- Offline use
- Permission restrictions (Internal git networks)
- True-persistent versioning (Can always delete and update a tag), no external tools needed to download
- Can restrict extra garbage that may not be need to be shipped
- Etc.
- scrollaway 11y ago> Offline use Tarballs are just as offline as git repositories... > Permission restrictions (Internal git networks) What? > True-persistent versioning (Can always delete and update a tag) Why is that of concern regarding "tarballs vs git"? If anything it's a win for git. > Can restrict extra garbage that may not be need to be shipped Only valid point you presented, and it's better discussed elsewhere in this thread.
- gizmo686 11y ago>Tarballs are just as offline as git repositories... Tarballs are easier to shoenet into an offline machine. To do this with git repositories, you would either need to deal with transfering a directory structure or, more likely, pack the respository into some sort of tarball.
- voltagex_ 11y ago`git bundle create` will do what you want.
- vacri 11y ago> Why is that of concern regarding "tarballs vs git"? If anything it's a win for git. Git tags (and branches) are mutable. Tarballs technically are, but don't move around as much. Unless someone's being actively malicious, you can be confident that no-one's going to put new code in an old-versioned tarball.
- scrollaway 11y agoThe exact same can be said of git. You're reaching. Git has builtin verification of absolutely everything it holds (tags included) since it uses sha1 for objects and commit messages, and they include the previous state... so a point in a git tree in that way is a hell of a lot more immutable than a tarball.
- vacri 11y agoMy colleagues complain of people moving tags and sometimes branches around, or fucking things up with a bad merge. I haven't heard the same criticisms of tarballs. I'm not a tarball warrior, I'm just going off what I hear people saying.
- scrollaway 11y agoYou haven't heard the same criticisms of tarballs because tarballs aren't used as a version control system. These issues are specific to (fairly bad) VCS usage, not packaging usage.
- grhmc 11y agoYeah, except you can change a tag and it is still verified.