Replies: 5 comments 4 replies
-
if this is only intended to solve the problem of integrity checks in the PKGBUILD, then it's probably better to keep the tarball yet |
Beta Was this translation helpful? Give feedback.
-
ClarificationsSo, obviously, the git and tar approaches both do the same thing. But let's get into details, with benchmark numbers
What using only
|
Beta Was this translation helpful? Give feedback.
-
Do both. Just choose what to use on the first download (the slowest one by far) and then update with git. |
Beta Was this translation helpful? Give feedback.
-
new method, for speed🚀 |
Beta Was this translation helpful? Give feedback.
-
We are currently handling linux sources in linux-tkg PKGBUILD through tarballs. We are discussing with contributors on switching to using the git tree instead, similarly to what we're doing for non-pacman distros. This would allow for removing hundreds of lines from the PKGBUILD, and simplify the integrity checks handling by leaving it to git.
My main problem with this from past experience is that it's a large tree, and it takes quite a while to clone (even with shallow cloning) compared to just downloading and extracting the tarball. For people with high-bandwidth internet accesses and unlimited data plans it's not really an issue, but for the others without access to such luxuries it could be frustrating.
What do you think? Feel free to share your point of view and usecase (if it makes sense) so we can take the best decision.
33 votes ·
Beta Was this translation helpful? Give feedback.
All reactions