Conversation
~250M instead of 5GB |
|
Yeah, I had this too first but generally I think for AUR it would be better to use git, but well see. Both should work fine |
453dfdb to
d2e7e81
Compare
|
Added example script, which can be used to tag and sign releases when being in cachyos/linux repository. It uses current head. Input/output looks like this: A help text is also available with ./tag-release --help. |
|
Download seems to bit slower: 100 246.0M 0 246.0M 0 0 6.72M 0 00:36 7.43M Maybe we can just start copying for the default kernels then the tar to all dirs to generate checksums to avoid redownloading. |
1Naim
left a comment
There was a problem hiding this comment.
I think you need to separate patchrel from pkgrel, because of >v1 repo manual pkgrel bump.
We generally should not need this anymore after the latest ISO release. Currrently just kept till the next ISO release :) |
What about toolchain/nvidia rebuilds? |
There we could just do a new tag |
1Naim
left a comment
There was a problem hiding this comment.
LGTM! This might be a minor inconvenience when bumping hardened and lts kernels.
Indeed, yes. We can look how the general maintenance goes like this and then consider adding a extra variable :) |
36b6f06 to
361c85e
Compare
|
Guess we have now the final form. I have changed that we upload the git archive as release, whcih resulted into a 10-15x faster download of the .tar.gz since the fastly cdn from github is used then. This massively improved the download speed. I have added to the tag-release.sh script to automatically push this when tagging. We maybe want to add to the tag-release.sh script following:
|
|
Let's go! Yes, later we may add gpg sign. It's good idea but... will our builder have a problem with that? |
Signed-off-by: Peter Jung <admin@ptr1337.dev>
Signed-off-by: Peter Jung <admin@ptr1337.dev>
Signed-off-by: Peter Jung <admin@ptr1337.dev>
Signed-off-by: Peter Jung <admin@ptr1337.dev>
…ads via CDN (fastly github) Signed-off-by: Peter Jung <admin@ptr1337.dev>
Signed-off-by: Peter Jung <admin@ptr1337.dev>
Signed-off-by: Peter Jung <admin@ptr1337.dev>
Signed-off-by: Peter Jung <admin@ptr1337.dev>
a6672ef to
194e601
Compare
This is a draft to switch the PKGBUILD to use git tags for the patch. The current layout would be:
This would also mean, that when we want to do rebuilds, we need to push a fresh tag. Generally its fine, but we could also introduce an extra variable, which then can be used. Needs to be discussed.
Outside of that the first clone is around 6GB:
We may can improve the upstream git repository, since it contains a lot of stuff. Otherwise we can also switch away from using "git" and pull .tar.xz from the tags.
The download size, specially for AUR users would be dramatically decreased over the time of building.
Our build scripts would need to be adjusted to use "SRCDEST", then we can cache the "linux" source.
Fixes: #691