Conversation

HAMMER SMASHED FILESYSTEM 🇺🇦

@hyeyoo confession:
deacde and a half years ago, i've been a Jenkins (Hudson back then) installation operator and still got the escalated stress response to this :)

1
0
2
@lkundrak did it bother you all to time?
0
0
1
@hyeyoo Oh, the times when git clone time was a significant part of the job runtime... I miss those.

These days it takes half a minute to just start a job on GitHub Actions or CircleCI (haven't tried anything else but I'm sure it's the same crap) so nobody bothers cutting seconds any more.
2
0
2
@hyeyoo (confession: I operated the same Jenkins instance a couple years after @lkundrak left)
0
0
2
@liskin
Except kernel devs - kernel testing is too niche that modern CI services doesn't work well with it 😢
1
0
2
@liskin And linux git repository is huge ;(
2
0
1

HAMMER SMASHED FILESYSTEM 🇺🇦

@hyeyoo @liskin oh hey i know of this dude who likes removing things
cc: @vbabka

2
0
2
@lkundrak @hyeyoo @vbabka You'd need shallow clones for that to be useful at all :-(
0
0
2
@lkundrak @liskin @vbabka
but even removing code adds the repository size lol
0
0
2
@hyeyoo @liskin also beware if your workflow involves repeated cloning from git.kernel.org and not some local repo with incremental fetching only, @monsieuricon won't be happy with you ;)
2
0
2

HAMMER SMASHED FILESYSTEM 🇺🇦

@vbabka @liskin @hyeyoo @monsieuricon also, you'll get bullied if you do the initial clone with git clone instead of fetching the bundles

1
0
3
@liskin @lkundrak @monsieuricon @vbabka
wait this is not generated for all git.kernel.org repos
1
0
1

HAMMER SMASHED FILESYSTEM 🇺🇦

@hyeyoo @liskin @monsieuricon @vbabka the idea is that you get the mainline base from a bundle (even perhaps slightly outdated) and then fetch the rest the usual way -- hopefully a lot less data

1
0
2
@lkundrak @liskin @monsieuricon @vbabka

(confession: I was torturing memory bus by fully cloning via virtio-fs (locally) instead of git.kernel{,testing}.org, before I learned how to do shallow clones and use reference git repositories)
1
0
2

HAMMER SMASHED FILESYSTEM 🇺🇦

@monsieuricon @vbabka @hyeyoo your endeavours and @liskin 's musings made me curious whether there's a way to optimize for shallow clones? Like tell a git repack to do a pack containing only the commits that would be needed for a shallow clone or something. But it doesn't seem to be the case.
(Confession: i'm probably hopelessly outdated when it comes to anything new in git for the last ten years or so)

0
0
2

@hyeyoo @liskin @lkundrak @monsieuricon @vbabka Yes, bundles are a lesser known git feature, but they are cool. They can also be used for efficient offline repo transfers; best thing you can pull from a bundle just like from a repo URL…

0
0
2