Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Re: Re: Re: Re: Re: Re: Slight rearrangement of Manta SVN tree


Chronological Thread 
  • From: James Bigler < >
  • To:
  • Subject: [Manta] Re: Re: Re: Re: Re: Re: Slight rearrangement of Manta SVN tree
  • Date: Fri, 13 Mar 2009 22:08:25 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=r436dZprFDZOH67t56eiR+/GGeW/rT0l8GNNjOaxE8rUXs+juijZtynl7oLlXYmdGr H/RZXL/H/bF5Dzy7BbEWPhN0u+jnZeRDBmx0plhEISdrdiCxbbPvEZ5wYmYIrflGD1Ld LuPS54BW4pjrczqweDGc8paAzS9QmiXr+FVTA=

I was think about this some more, and you might be able to help out
your svn challenged users by creating an external dependency for
subversion.

http://svnbook.red-bean.com/en/1.5/svn.advanced.externals.html

This way you could create a special branch of Manta:

svn co https://code.sci.utah.edu/svn/Manta/CSAFE Manta

And inside Manta/CSAFE you could create a reference to trunk as src,
so that when they check out the code they get the magic directory
structure you want.

You could also tag the directory, so that the CSAFE version only gets
a new version of Manta when you want it to:

$ svn propedit svn:externals CSAFE
$ svn propget svn:externals calc
/Manta/
 src

James

On Fri, Mar 13, 2009 at 4:03 PM, J. Davison de St. Germain
< >
 wrote:
> Mostly aesthetics... :(  But it is the right thing to do... ;) I can change
> our docs to tell people to check out to a 'src' dir.
>
>  - Dav
>
> Abe Stephens wrote:
>>
>> I use a similar directory structure in my own projects (build/ src/ swig/
>> python/ are all top level directories in the source repository).. but...
>>
>> Is there more than an aesthetic concern with the existing directory
>> structure? Does this fix something that is broken?
>>
>> Abe
>>
>>
>>
>> On Mar 13, 2009, at 3:45 PM, James Bigler wrote:
>>
>>> They have to rename it anyway unless they want an directory called trunk.
>>>
>>> If they aren't proficient with svn they are likely copying the command
>>> from somewhere where you can then paste a script similar to the one I
>>> included below.
>>>
>>> James
>>>
>>> On Fri, Mar 13, 2009 at 3:39 PM, J. Davison de St. Germain
>>> < >
>>>  wrote:
>>>>
>>>> Yes, I know you can do it locally and I do exactly the same thing... but
>>>> those who aren't as proficient with svn don't and thus it becomes a
>>>> problem.
>>>>
>>>>  - Dav
>>>>
>>>> James Bigler wrote:
>>>>>
>>>>> You can make that extra level of directories locally.
>>>>>
>>>>> I do this:
>>>>>
>>>>> mkdir -p manta/trunk
>>>>> cd manta/trunk
>>>>> svn checkout https://code.sci.utah.edu/svn/Manta/trunk src
>>>>> mkdir build
>>>>> cd build
>>>>> ccmake ../src
>>>>>
>>>>> James
>>>>>
>>>>> On Fri, Mar 13, 2009 at 3:25 PM, J. Davison de St. Germain
>>>>> < >
>>>>>  wrote:
>>>>>
>>>>>>
>>>>>> Hi Manta types,
>>>>>>
>>>>>>  I'd like to slightly rearrange the Manta SVN tree to place all files
>>>>>> in
>>>>>> a
>>>>>> 'src' directory.  That way if you do this:
>>>>>>
>>>>>> svn co Manta/src
>>>>>>
>>>>>> You would get:
>>>>>>
>>>>>>  Manta/
>>>>>>   src/
>>>>>>      all the manta files.
>>>>>>
>>>>>> This would allow you to place your binary tree at the same level as
>>>>>> src
>>>>>> and
>>>>>> keep everything separated, and clear:
>>>>>>
>>>>>>  Manta/
>>>>>>   src/
>>>>>>   bin/
>>>>>>
>>>>>> Does anyone have an objection to this?
>>>>>>
>>>>>>  Thanks,
>>>>>>       Davison
>>>>>>
>>>>>> --
>>>>>>
>>>>>> -----------------------------------------------------------------------
>>>>>> - J. Davison de St. Germain         
>>>>>> 
>>>>>>     (801) 581-4078
>>>>>> -
>>>>>> - Chief Software Engineer           http://www.cs.utah.edu/~dav
>>>>>> -
>>>>>> - SCI Institute, SE C-SAFE          University of Utah
>>>>>>  -
>>>>>>
>>>>>> -----------------------------------------------------------------------
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>> --
>>>> -----------------------------------------------------------------------
>>>> - J. Davison de St. Germain         
>>>> 
>>>>     (801) 581-4078 -
>>>> - Chief Software Engineer           http://www.cs.utah.edu/~dav       -
>>>> - SCI Institute, SE C-SAFE          University of Utah                -
>>>> -----------------------------------------------------------------------
>>>>
>>>>
>>
>
> --
> -----------------------------------------------------------------------
> - J. Davison de St. Germain         
> 
>     (801) 581-4078 -
> - Chief Software Engineer           http://www.cs.utah.edu/~dav       -
> - SCI Institute, SE C-SAFE          University of Utah                -
> -----------------------------------------------------------------------
>
>



Archive powered by MHonArc 2.6.16.

Top of page