You are not logged in.
Is there a reason why for example the telegram-desktop package downloads its tdlib dependency using the following source URL:
git+https://github.com/tdlib/td.git#commit=${_td_commit}Instead of using something like:
https://github.com/tdlib/td/archive/${_td_commit}.tar.gzWhich is similar to how the main repo is downloaded? Pulling the entire tdlib repo instead of just the snapshot takes a while and wastes a lot of space, so I'm wondering if there's a good reason for it.
Offline
Spitballing here, but I think e.g. git submodules wouldn't be in the tarball.
Offline
Spitballing here, but I think e.g. git submodules wouldn't be in the tarball.
Could be, generally. Though this particular package builds fine with the tarball.
Last edited by O239 (2026-08-10 18:14:10)
Offline
More spitballing, less traffic when rebuilding the package and on the other hand afaiu the autogenerated tarballs have a limited shelf life (though iirc it's two years) and the checksum might not be stable.
Offline
The git clone allows for easier cherry-picking, the increased initial download increase is offset by smaller per version git pulls.
Offline