Kernel Development and Cogito
Quoted 9 lines · Gabriel Devenyi
I would like to start working on some kernel-janitor stuff, and I've cloned Linus' tree using Cogito (cg-clone). My issue is that I can't find any documentation on how I would go about working on this tree now, like if I make a change, how do I create a patch that I can send off to kernel-janitors, and LKML, similarly, how would I reset my tree to be exactly like Linus' if I muck something up badly. Is there a document out there describing the usage of Cogito, or can someone outline the basics of using Cogito to dump my changes for distribution? Thanks for your help!
This one is from Cogito itself:
http://www.kernel.org/pub/software/scm/cogito/README
Jeff Garzik wrote a Git "howto" (the system that lives under Cogito):
http://linux.yyz.us/git-howto.html
IIRC Randy Dunlap also wrote something, but I can't find it.
Erik
Signature · 2 lines
Erik Mouw [email protected] [email protected]
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors
Quoted 13 lines · Erik Mouw
Quoted 9 lines · Gabriel Devenyi
I would like to start working on some kernel-janitor stuff, and I've cloned Linus' tree using Cogito (cg-clone). My issue is that I can't find any documentation on how I would go about working on this tree now, like if I make a change, how do I create a patch that I can send off to kernel-janitors, and LKML, similarly, how would I reset my tree to be exactly like Linus' if I muck something up badly. Is there a document out there describing the usage of Cogito, or can someone outline the basics of using Cogito to dump my changes for distribution? Thanks for your help!
This one is from Cogito itself:
Quoted 7 lines
http://www.kernel.org/pub/software/scm/cogito/README
Jeff Garzik wrote a Git "howto" (the system that lives under Cogito):
http://linux.yyz.us/git-howto.html
IIRC Randy Dunlap also wrote something, but I can't find it.
It's old and outdated.
http://www.xenotime.net/linux/doc/git-usage-howto
Signature · 1 line
~Randy
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors
Quoted 3 lines · Erik Mouw
This one is from Cogito itself:
Thanks I've read this, I was hoping for a full set of documentation lurking around. I've fooled around a bit more and determined how to do some more things. Does cogito/git output patches in the prefered LKML format automatically? (-p1 etc)
Quoted 3 lines
Jeff Garzik wrote a Git "howto" (the system that lives under Cogito):
As for git, I'm trying to avoid it a little bit as it scares me a little.
Quoted 4 lines
IIRC Randy Dunlap also wrote something, but I can't find it.
Erik
Signature · 2 lines
Gabriel Devenyi [email protected]
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors
Quoted 9 lines · Gabriel Devenyi
Quoted 3 lines · Erik Mouw
This one is from Cogito itself:
Thanks I've read this, I was hoping for a full set of documentation lurking around. I've fooled around a bit more and determined how to do some more things. Does cogito/git output patches in the prefered LKML format automatically? (-p1 etc)
Try: man git-format-patch-script
Specifically:
git format-patch origin
This will output one file per commit, with the comment, diffstat and patch in it.
Signature · 3 lines
Ryan Anderson AutoWeb Communications, Inc. email: [email protected]
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors
Quoted 6 lines · Gabriel Devenyi
I would like to start working on some kernel-janitor stuff, and I've cloned Linus' tree using Cogito (cg-clone). My issue is that I can't find any documentation on how I would go about working on this tree now, like if I make a change, how do I create a patch that I can send off to kernel-janitors, and LKML, similarly, how would I reset my tree to be exactly like Linus' if I muck something up badly.
Apart from what the others replied, you could also try StGIT if you used Quilt (it's not complicated at all anyway). Basically, you first create a patch (or several) and all the modifications are included into it. You push/pop patches from the top of your tree and also e-mail them. You can always delete a patch if you no longer need it and the changes are removed from your tree.
Signature · 1 line
Catalin
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors