{"thread":{"id":"17241","subject":"how to track multiple upstreams in one repository","startedAt":"2009-01-19T02:14:26Z","lastAt":"2009-01-21T16:11:31Z","messageCount":13,"participants":["david@lang.hm","A Large Angry SCM","Bryan Donlan","Ciprian Dorin, Craciun","Julian Phillips","Greg KH","Miklos Vajna"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"101082","messageId":"20090119021426.GA21999@shion.is.fushizen.net","threadId":"17241","inReplyTo":"alpine.DEB.1.10.0901181855400.20741@asgard.lang.hm","subject":"Re: how to track multiple upstreams in one repository","fromName":"Bryan Donlan","fromEmail":"bdonlan@fushizen.net","sentAt":"2009-01-19T02:14:26Z","receivedAt":"2009-01-19T02:14:26Z","isPatch":false,"sender":{"key":"bdonlan@fushizen.net","avatar":null},"body":"On Sun, Jan 18, 2009 at 06:58:06PM -0800, david@lang.hm wrote:\n> for linux I want to track both the linus tree and the -stable tree.  \n> Ideally I want to be able to do a checkout of tags from either tree from  \n> the same directory (along with diffs between items in both trees, etc)\n>\n> I have found documentation on how to clone from each of them, but I  \n> haven't found any simple documentation on how to work with both of them.\n\nAfter cloning from one:\ngit remote add remotename git://...\ngit fetch remotename\n\nYou will now have the other repository fetched into your local\nrepository; tags from both will be replicated to your local tags.\n"},{"id":"101081","messageId":"4973E2F7.2090104@gmail.com","threadId":"17241","inReplyTo":"alpine.DEB.1.10.0901181855400.20741@asgard.lang.hm","subject":"Re: how to track multiple upstreams in one repository","fromName":"A Large Angry SCM","fromEmail":"gitzilla@gmail.com","sentAt":"2009-01-19T02:18:31Z","receivedAt":"2009-01-19T02:18:31Z","isPatch":false,"sender":{"key":"gitzilla@gmail.com","avatar":"https://gravatar.com/avatar/354625c442439908ff3dd99757dee330e29e9df7847472384faf7a00add247fb?d=mp&s=160"},"body":"david@lang.hm wrote:\n> for linux I want to track both the linus tree and the -stable tree. \n> Ideally I want to be able to do a checkout of tags from either tree from \n> the same directory (along with diffs between items in both trees, etc)\n> \n> I have found documentation on how to clone from each of them, but I \n> haven't found any simple documentation on how to work with both of them.\n\nAttached are what I use. It's not pretty but it's works for me; YMMV.\n\n\nexport GIT_COMMITTER_NAME=\"@\"\nexport GIT_AUTHOR_NAME=\"@\"\n\n./fred.sh git://git.kernel.org/pub/scm/git/git.git git/git\n\n./fred.sh git://git.kernel.org/pub/scm/gitk/gitk.git gitk/gitk\n\n./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/sparse.git torvalds/sparse\n\n./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git torvalds/linux-2.6\n\n./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.11.y.git stable/linux-2.6.11.y\n./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.12.y.git stable/linux-2.6.12.y\n./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.13.y.git stable/linux-2.6.13.y\n./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.14.y.git stable/linux-2.6.14.y\n./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.15.y.git stable/linux-2.6.15.y\n./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.16.y.git stable/linux-2.6.16.y\n./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.17.y.git stable/linux-2.6.17.y\n./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.18.y.git stable/linux-2.6.18.y\n./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.19.y.git stable/linux-2.6.19.y\n./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.20.y.git stable/linux-2.6.20.y\n./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.21.y.git stable/linux-2.6.21.y\n./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.22.y.git stable/linux-2.6.22.y\n./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.23.y.git stable/linux-2.6.23.y\n./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.24.y.git stable/linux-2.6.24.y\n./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.25.y.git stable/linux-2.6.25.y\n./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.26.y.git stable/linux-2.6.26.y\n./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.27.y.git stable/linux-2.6.27.y\n./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.28.y.git stable/linux-2.6.28.y\n\n./fred.sh git://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git tglx/history\n\n"},{"id":"101076","messageId":"alpine.DEB.1.10.0901181855400.20741@asgard.lang.hm","threadId":"17241","inReplyTo":null,"subject":"how to track multiple upstreams in one repository","fromName":"","fromEmail":"david@lang.hm","sentAt":"2009-01-19T02:58:06Z","receivedAt":"2009-01-19T02:58:06Z","isPatch":false,"sender":{"key":"david@lang.hm","avatar":null},"body":"for linux I want to track both the linus tree and the -stable tree. \nIdeally I want to be able to do a checkout of tags from either tree from \nthe same directory (along with diffs between items in both trees, etc)\n\nI have found documentation on how to clone from each of them, but I \nhaven't found any simple documentation on how to work with both of them.\n\nDavid Lang\n"},{"id":"101084","messageId":"alpine.DEB.1.10.0901181957070.20741@asgard.lang.hm","threadId":"17241","inReplyTo":"20090119021426.GA21999@shion.is.fushizen.net","subject":"Re: how to track multiple upstreams in one repository","fromName":"","fromEmail":"david@lang.hm","sentAt":"2009-01-19T03:58:17Z","receivedAt":"2009-01-19T03:58:17Z","isPatch":false,"sender":{"key":"david@lang.hm","avatar":null},"body":"On Sun, 18 Jan 2009, Bryan Donlan wrote:\n\n> On Sun, Jan 18, 2009 at 06:58:06PM -0800, david@lang.hm wrote:\n>> for linux I want to track both the linus tree and the -stable tree.\n>> Ideally I want to be able to do a checkout of tags from either tree from\n>> the same directory (along with diffs between items in both trees, etc)\n>>\n>> I have found documentation on how to clone from each of them, but I\n>> haven't found any simple documentation on how to work with both of them.\n>\n> After cloning from one:\n> git remote add remotename git://...\n> git fetch remotename\n>\n> You will now have the other repository fetched into your local\n> repository; tags from both will be replicated to your local tags.\n\nthanks, given the nature of git I figured it was something really simple, \nbut I just wasn't able to find it.\n\nI've forwarded this to the kernel.org webmaster to update the 'how to \nfollow linux development' page\n\nDavid Lang\n"},{"id":"101108","messageId":"8e04b5820901182352n29b3885cj850e6ddae6ca237f@mail.gmail.com","threadId":"17241","inReplyTo":"alpine.DEB.1.10.0901181957070.20741@asgard.lang.hm","subject":"Re: how to track multiple upstreams in one repository","fromName":"Ciprian Dorin, Craciun","fromEmail":"ciprian.craciun@gmail.com","sentAt":"2009-01-19T07:52:16Z","receivedAt":"2009-01-19T07:52:16Z","isPatch":false,"sender":{"key":"ciprian.craciun@gmail.com","avatar":"https://gravatar.com/avatar/9685eb13288a2c28bdde10acdcda9f15d495efad7b12bf49e3525eb7b8acf944?d=mp&s=160"},"body":"On Mon, Jan 19, 2009 at 5:58 AM,  <david@lang.hm> wrote:\n> On Sun, 18 Jan 2009, Bryan Donlan wrote:\n>\n>> On Sun, Jan 18, 2009 at 06:58:06PM -0800, david@lang.hm wrote:\n>>>\n>>> for linux I want to track both the linus tree and the -stable tree.\n>>> Ideally I want to be able to do a checkout of tags from either tree from\n>>> the same directory (along with diffs between items in both trees, etc)\n>>>\n>>> I have found documentation on how to clone from each of them, but I\n>>> haven't found any simple documentation on how to work with both of them.\n>>\n>> After cloning from one:\n>> git remote add remotename git://...\n>> git fetch remotename\n>>\n>> You will now have the other repository fetched into your local\n>> repository; tags from both will be replicated to your local tags.\n>\n> thanks, given the nature of git I figured it was something really simple,\n> but I just wasn't able to find it.\n>\n> I've forwarded this to the kernel.org webmaster to update the 'how to follow\n> linux development' page\n>\n> David Lang\n\n    I use something even simpler, please see the attached .git/config\nfile that I use. It also uses remote branches, and rewrites the refs\nto something like: stable/v2.6.25/master or torvalds/v2.6/master. Also\nin order to fetch them I use git fetch stable/v2.6.25\n\n    Ciprian Craciun.\n"},{"id":"101143","messageId":"alpine.LNX.2.00.0901191627480.4115@reaper.quantumfyre.co.uk","threadId":"17241","inReplyTo":"alpine.DEB.1.10.0901181855400.20741@asgard.lang.hm","subject":"Re: how to track multiple upstreams in one repository","fromName":"Julian Phillips","fromEmail":"julian@quantumfyre.co.uk","sentAt":"2009-01-19T16:29:09Z","receivedAt":"2009-01-19T16:29:09Z","isPatch":false,"sender":{"key":"julian@quantumfyre.co.uk","avatar":"https://avatars.githubusercontent.com/u/948888?v=4"},"body":"On Sun, 18 Jan 2009, david@lang.hm wrote:\n\n> for linux I want to track both the linus tree and the -stable tree. Ideally I \n> want to be able to do a checkout of tags from either tree from the same \n> directory (along with diffs between items in both trees, etc)\n>\n> I have found documentation on how to clone from each of them, but I haven't \n> found any simple documentation on how to work with both of them.\n\nYou could always just use \ngit://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6-stable.git \n?  It already contains both the linus tree and all the stable trees ...\n\n>\n> David Lang\n> --\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n>\n>\n\n-- \nJulian\n\n  ---\nFlattery is like cologne -- to be smelled, but not swallowed.\n \t\t-- Josh Billings\n"},{"id":"101167","messageId":"alpine.LNX.2.00.0901192044060.6108@reaper.quantumfyre.co.uk","threadId":"17241","inReplyTo":"alpine.DEB.1.10.0901191308030.2428@asgard.lang.hm","subject":"Re: how to track multiple upstreams in one repository","fromName":"Julian Phillips","fromEmail":"julian@quantumfyre.co.uk","sentAt":"2009-01-19T20:45:07Z","receivedAt":"2009-01-19T20:45:07Z","isPatch":false,"sender":{"key":"julian@quantumfyre.co.uk","avatar":"https://avatars.githubusercontent.com/u/948888?v=4"},"body":"On Mon, 19 Jan 2009, david@lang.hm wrote:\n\n> On Mon, 19 Jan 2009, Julian Phillips wrote:\n>\n>>  On Sun, 18 Jan 2009, david@lang.hm wrote:\n>> \n>> >  for linux I want to track both the linus tree and the -stable tree. \n>> >  Ideally I want to be able to do a checkout of tags from either tree from \n>> >  the same directory (along with diffs between items in both trees, etc)\n>> > \n>> >  I have found documentation on how to clone from each of them, but I \n>> >  haven't found any simple documentation on how to work with both of them.\n>>\n>>  You could always just use\n>>  git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6-stable.git\n>>  ? It already contains both the linus tree and all the stable trees ...\n>\n> I know it contains the releases, but does it contain the -rc trees?\n\nIt seems to contain everything from the main Linus tree as far as I can \nsee from the gitweb (haven't actually used it for kernel work).\n\n>\n> David Lang\n>\n>\n\n-- \nJulian\n\n  ---\nStock's Observation:\n \tYou no sooner get your head above water but what someone pulls\n \tyour flippers off.\n"},{"id":"101164","messageId":"alpine.DEB.1.10.0901191308030.2428@asgard.lang.hm","threadId":"17241","inReplyTo":"alpine.LNX.2.00.0901191627480.4115@reaper.quantumfyre.co.uk","subject":"Re: how to track multiple upstreams in one repository","fromName":"","fromEmail":"david@lang.hm","sentAt":"2009-01-19T21:08:35Z","receivedAt":"2009-01-19T21:08:35Z","isPatch":false,"sender":{"key":"david@lang.hm","avatar":null},"body":"On Mon, 19 Jan 2009, Julian Phillips wrote:\n\n> On Sun, 18 Jan 2009, david@lang.hm wrote:\n>\n>> for linux I want to track both the linus tree and the -stable tree. Ideally \n>> I want to be able to do a checkout of tags from either tree from the same \n>> directory (along with diffs between items in both trees, etc)\n>> \n>> I have found documentation on how to clone from each of them, but I haven't \n>> found any simple documentation on how to work with both of them.\n>\n> You could always just use \n> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6-stable.git ? \n> It already contains both the linus tree and all the stable trees ...\n\nI know it contains the releases, but does it contain the -rc trees?\n\nDavid Lang\n"},{"id":"101207","messageId":"20090120033402.GC8754@kroah.com","threadId":"17241","inReplyTo":"8e04b5820901182352n29b3885cj850e6ddae6ca237f@mail.gmail.com","subject":"Re: how to track multiple upstreams in one repository","fromName":"Greg KH","fromEmail":"greg@kroah.com","sentAt":"2009-01-20T03:34:02Z","receivedAt":"2009-01-20T03:34:02Z","isPatch":false,"sender":{"key":"greg@kroah.com","avatar":"https://gravatar.com/avatar/5bb5aa0cc2e01c00ec899d11130c07796bc186e465bae57bc34873b13b72c7c8?d=mp&s=160"},"body":"On Mon, Jan 19, 2009 at 09:52:16AM +0200, Ciprian Dorin, Craciun wrote:\n>     I use something even simpler, please see the attached .git/config\n> file that I use. It also uses remote branches, and rewrites the refs\n> to something like: stable/v2.6.25/master or torvalds/v2.6/master. Also\n> in order to fetch them I use git fetch stable/v2.6.25\n\nYou all do know that all of the -stable trees are automatically kept in\none repo on kernel.org, so you don't have to jump through all of these\nhoops, right?\n\nconfused,\n\ngreg k-h\n"},{"id":"101229","messageId":"8e04b5820901192329pf44431coce4423e6a8d43198@mail.gmail.com","threadId":"17241","inReplyTo":"20090120033402.GC8754@kroah.com","subject":"Re: how to track multiple upstreams in one repository","fromName":"Ciprian Dorin, Craciun","fromEmail":"ciprian.craciun@gmail.com","sentAt":"2009-01-20T07:29:13Z","receivedAt":"2009-01-20T07:29:13Z","isPatch":false,"sender":{"key":"ciprian.craciun@gmail.com","avatar":"https://gravatar.com/avatar/9685eb13288a2c28bdde10acdcda9f15d495efad7b12bf49e3525eb7b8acf944?d=mp&s=160"},"body":"On Tue, Jan 20, 2009 at 5:34 AM, Greg KH <greg@kroah.com> wrote:\n> On Mon, Jan 19, 2009 at 09:52:16AM +0200, Ciprian Dorin, Craciun wrote:\n>>     I use something even simpler, please see the attached .git/config\n>> file that I use. It also uses remote branches, and rewrites the refs\n>> to something like: stable/v2.6.25/master or torvalds/v2.6/master. Also\n>> in order to fetch them I use git fetch stable/v2.6.25\n>\n> You all do know that all of the -stable trees are automatically kept in\n> one repo on kernel.org, so you don't have to jump through all of these\n> hoops, right?\n>\n> confused,\n>\n> greg k-h\n\n    :) This is something that escaped me... Could you give me the\nexact git url for this repository? (on kernel.org I'm not able to find\nit, just the current one...)\n\n    Thanks,\n    Ciprian Craciun.\n"},{"id":"101249","messageId":"20090120120319.GR30710@genesis.frugalware.org","threadId":"17241","inReplyTo":"8e04b5820901192329pf44431coce4423e6a8d43198@mail.gmail.com","subject":"Re: how to track multiple upstreams in one repository","fromName":"Miklos Vajna","fromEmail":"vmiklos@frugalware.org","sentAt":"2009-01-20T12:03:19Z","receivedAt":"2009-01-20T12:03:19Z","isPatch":false,"sender":{"key":"vmiklos@frugalware.org","avatar":"https://gravatar.com/avatar/401c1cbbb3a5d13e650c691a2c71d6fd0b80df1a01bc74d9f1972675dd58f2bd?d=mp&s=160"},"body":"On Tue, Jan 20, 2009 at 09:29:13AM +0200, \"Ciprian Dorin, Craciun\" <ciprian.craciun@gmail.com> wrote:\n>     :) This is something that escaped me... Could you give me the\n> exact git url for this repository? (on kernel.org I'm not able to find\n> it, just the current one...)\n\ngit://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6-stable.git\n\nHave you tried this one?\n"},{"id":"101398","messageId":"8e04b5820901210802y1102cfd0q4a3f8812f357c398@mail.gmail.com","threadId":"17241","inReplyTo":"20090120120319.GR30710@genesis.frugalware.org","subject":"Re: how to track multiple upstreams in one repository","fromName":"Ciprian Dorin, Craciun","fromEmail":"ciprian.craciun@gmail.com","sentAt":"2009-01-21T16:02:51Z","receivedAt":"2009-01-21T16:02:51Z","isPatch":false,"sender":{"key":"ciprian.craciun@gmail.com","avatar":"https://gravatar.com/avatar/9685eb13288a2c28bdde10acdcda9f15d495efad7b12bf49e3525eb7b8acf944?d=mp&s=160"},"body":"On Tue, Jan 20, 2009 at 2:03 PM, Miklos Vajna <vmiklos@frugalware.org> wrote:\n> On Tue, Jan 20, 2009 at 09:29:13AM +0200, \"Ciprian Dorin, Craciun\" <ciprian.craciun@gmail.com> wrote:\n>>     :) This is something that escaped me... Could you give me the\n>> exact git url for this repository? (on kernel.org I'm not able to find\n>> it, just the current one...)\n>\n> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6-stable.git\n>\n> Have you tried this one?\n\n    Ok... I'm ashamed... :) :) This is exactly what (we all) were\nlooking for... Sorry.\n\n    Just one curiosity: is this older (I mean if it was created) than\nwhen 2.6.18 or 19 was released? Because at that time I've searched for\nsuch a repository, didn't found it and hacked the config as I've said\npreviously...\n\n    Ciprian Craciun.\n"},{"id":"101400","messageId":"20090121161131.GA22615@kroah.com","threadId":"17241","inReplyTo":"8e04b5820901210802y1102cfd0q4a3f8812f357c398@mail.gmail.com","subject":"Re: how to track multiple upstreams in one repository","fromName":"Greg KH","fromEmail":"greg@kroah.com","sentAt":"2009-01-21T16:11:31Z","receivedAt":"2009-01-21T16:11:31Z","isPatch":false,"sender":{"key":"greg@kroah.com","avatar":"https://gravatar.com/avatar/5bb5aa0cc2e01c00ec899d11130c07796bc186e465bae57bc34873b13b72c7c8?d=mp&s=160"},"body":"On Wed, Jan 21, 2009 at 06:02:51PM +0200, Ciprian Dorin, Craciun wrote:\n> On Tue, Jan 20, 2009 at 2:03 PM, Miklos Vajna <vmiklos@frugalware.org> wrote:\n> > On Tue, Jan 20, 2009 at 09:29:13AM +0200, \"Ciprian Dorin, Craciun\" <ciprian.craciun@gmail.com> wrote:\n> >>     :) This is something that escaped me... Could you give me the\n> >> exact git url for this repository? (on kernel.org I'm not able to find\n> >> it, just the current one...)\n> >\n> > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6-stable.git\n> >\n> > Have you tried this one?\n> \n>     Ok... I'm ashamed... :) :) This is exactly what (we all) were\n> looking for... Sorry.\n> \n>     Just one curiosity: is this older (I mean if it was created) than\n> when 2.6.18 or 19 was released? Because at that time I've searched for\n> such a repository, didn't found it and hacked the config as I've said\n> previously...\n\nProbably not, but I really don't remember when it was created, sorry.\n\nthanks,\n\ngreg k-h\n"}]}