/srv/irclogs.ubuntu.com/2021/04/09/#ubuntu-kernel.txt

apwTimurTabi, can't you just fetch the ref itself from our crack repo ?14:28
TimurTabiWhat do you mean?14:32
TimurTabiI have this complex script that creates an ubuntu_defconfig for any kernel, and one of the first things it does is download those 5-6 patches that were available up to kernel 5.614:33
apwTimurTabi, the readme there tells you how to fetch the literal tip from which the build is made, which has the patches on the top.14:34
TimurTabiSo to avoid rewriting large chunks of that script, I just want to grab those patches.14:34
TimurTabiI want to build a kernel based on *my* kernel tree, not yours.14:34
apwand you could then for format-patch off the top of that.14:34
apwTimurTabi, right you don't have to check it out, just fetch it14:35
TimurTabiYou'll have to show me exactly what you're talking about with a code example.14:35
apwTaking that as an example: https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.11.12/14:36
apwit tells you to fetch this: git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack cod/mainline/v5.11.1214:36
apwgit you `git fetch git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack cod/mainline/v5.11.12` in your tree14:36
apwthen FETCH_HEAD will have those commits on it.14:36
TimurTabiWell, I don't see how that's any better than downloading crack.bundle and using git-bundle on it.14:37
apwperhaps not, though it feels simpler14:39
apwas that branch was made from the bundle, and indeed it is that actual branch which gets built on the testers14:40
TimurTabiOk, well, I'll make a note of your suggestion, and maybe one day I'll try it out.  It would be nice if I didn't have to make patches from a tree and just so that I have to git-am them and then delete them.14:40
apwyou could just `git cherry-pick <bottom>..<top>` them no ?14:41
apwlike `git cherry-pick FETCH_HEAD~6..FETCH_HEAD`14:41
TimurTabiWell, the ~6 is variable14:42
TimurTabiit could be ~7 one day14:42
apwthough you know the base14:42
apwit is by definition the same as the tip14:42
TimurTabiv5.11.12..FETCH_HEAD14:42
TimurTabi?14:42
apwright that.14:42
TimurTabiOk, I'll think about, thanks.14:42

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!