On Mon, 2 Jul 2007, Reid Spencer wrote:>>> it can be created in the repository, making the checkout process a simple, >>> transparent 'svn co'. This is entirely complementary to your idea. >> >> Yes, but that checks everything out, which is badness. > > Not really. He didn't define "./". If "./" is: > http://llvm.org/svn/llvm-project/everything then I don't see a problem > with it.Ok, if it doesn't cause everything to be checked out, I have no problem with it. My svn-fu is weak, if it can work with externals, I'm fine with it! :) -Chris -- http://nondot.org/sabre/ http://llvm.org/
On Mon, 2007-07-02 at 18:44 -0700, Chris Lattner wrote:> On Mon, 2 Jul 2007, Reid Spencer wrote: > >>> it can be created in the repository, making the checkout process a simple, > >>> transparent 'svn co'. This is entirely complementary to your idea. > >> > >> Yes, but that checks everything out, which is badness. > > > > Not really. He didn't define "./". If "./" is: > > http://llvm.org/svn/llvm-project/everything then I don't see a problem > > with it. > > Ok, if it doesn't cause everything to be checked out, I have no problem > with it.I think you missed the point. It *does* cause everything to be checked out, but because its in a directory named "everything" you only get that if you specifically asked for it. This is true of all the other approaches as well, including putting the t/t/b at the top level. Its just a matter of what URL you use to check out. For example: 1. Checkout just llvm: svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm 2. Checkout everything: svn co http://llvm.org/svn/llvm-project/everything> My svn-fu is weak, if it can work with externals, I'm fine with > it! :)The summary of this thread is that: a) doing /trunk/{module}/... is not advised b) we can use externals to simulate an "everything" dir. That is, we create /everything which has subdirs like llvm, hlvm, test-suite, java, stacker, etc. which have external links to all the /{module}/trunk dirs but named {module}. This gives us the best of both worlds. Reid.> > -Chris >
On 2007-07-02, at 21:44, Chris Lattner wrote:> On Mon, 2 Jul 2007, Reid Spencer wrote: > >>>> it can be created in the repository, making the checkout process >>>> a simple, transparent 'svn co'. This is entirely complementary >>>> to your idea. >>> >>> Yes, but that checks everything out, which is badness. >> >> Not really. He didn't define "./". If "./" is: http://llvm.org/svn/ >> llvm-project/everything then I don't see a problem with it. > > Ok, if it doesn't cause everything to be checked out, I have no > problem with it. My svn-fu is weak, if it can work with externals, > I'm fine with it! :)I'm not suggesting an "everything" folder, but a "just what I need" folder. One could imagine finding these folders (and possibly more) somewhere in svn: gcc/ Makefile llvm-gcc/ [svn:external] llvm/ [svn:external] llvm-config/ [svn:external] ncfe/ Makefile llvm-ncfe/ [svn:external] llvm/ [svn:external] llvm-config/ [svn:external] Note that llvm-tv and the web site are appropriately excluded. This could save new developers from needing to do anything but 'svn checkout; configure; make', which could be pretty cool. Assuming Chris' original idea, those with advanced LLVM-fu can still mix and match projects by checking them out manually; the prefabbed svn:external's are just a shortcut. — Gordon -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070702/0f9e1f71/attachment.html>
On Mon, 2 Jul 2007, Gordon Henriksen wrote:>> Ok, if it doesn't cause everything to be checked out, I have no problem >> with it. My svn-fu is weak, if it can work with externals, I'm fine with >> it! :) > > I'm not suggesting an "everything" folder, but a "just what I need" folder. > One could imagine finding these folders (and possibly more) somewhere in svn: > > gcc/ > Makefile > llvm-gcc/ [svn:external] > llvm/ [svn:external] > llvm-config/ [svn:external] > ncfe/ > Makefile > llvm-ncfe/ [svn:external] > llvm/ [svn:external] > llvm-config/ [svn:external] > > Note that llvm-tv and the web site are appropriately excluded. > > This could save new developers from needing to do anything but 'svn checkout; > configure; make', which could be pretty cool. Assuming Chris' original idea, > those with advanced LLVM-fu can still mix and match projects by checking them > out manually; the prefabbed svn:external's are just a shortcut.Unfortunately, this does not compose well. How do I check out the components required to build llvm-gcc and the ncfe? Should we have a project for every permutation? -Chris -- http://nondot.org/sabre/ http://llvm.org/