[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Applications and Projects

From: Brooke Smith <novorivus_at_optusnet.com.au>
Date: 2004-09-14 15:08:24 CEST

Thanks Ben, but no, the repository, working copy and export all need to
be 'flat' with only one App1, App2 (... and AppN).

Given that, what do you think about the (non-svn) 'depends' property I
introduced in my first mail in this thread (from last mail I sent):

"What do you think of the 'depends' property I suggested as a solution,
where a modified "svn export" would use the values to handle exporting
the dependencies also. The depends property would be set on each
project and list the Apps that it depends on. Then when the export is
done, the Apps are exported also. I may be able to use this for
checkouts, though I'll have to do some experimentation to find out what
problems this may raise."

To confirm what I mean, when a Project is exported, the exporting
script would check if a 'depends' property is set on the project and if
so it would issue separate "svn export" commands for each one listed.
This should be able to deliver the export:

App1
App2
Proj1
Proj2

Anyone any thoughts about this?

Thanks and regards,

Brooke

On Monday, Sep 13, 2004, at 22:53 Australia, Ben Collins-Sussman wrote:

> On Mon, 2004-09-13 at 06:07, Brooke Smith wrote:
>> The projects are
>> independent so they would have to have their own empty directories
>> with
>> externals and thus their own App1 and App2. Right? It seems like I
>> would then end up with:
>>
>> mymodule1/
>> mymodule1/README
>> mymodule1/Proj 1/
>> mymodule1/App 1/
>> mymodule1/App 2/
>>
>> mymodule2/
>> mymodule2/README
>> mymodule2/Proj 2/
>> mymodule2/App 1/
>> mymodule2/App 2/
>
> Yes, these are what your *working copies* would look like, assuming you
> ran
>
> svn checkout URL-of-mymodule1
> svn checkout URL-of-mymodule2
>
> But in the repository, the structure would still be something like:
>
> /Proj1
> /Proj2
> /App1
> /App2
> /Modules/mymodule1/
> /Modules/mymodule2/
>
> So the point here is that you can do a checkout of any single project
> or
> application independently -- to work on just one thing, or you can
> checkout an empty 'module' directory and end up with a working copy
> that
> contain a mixture of projects and apps, organized however you want.
>
> Isn't this what you wanted? If it's not, then I'm confused, and don't
> understand what you want.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---
You picked a fine time to leave me Lucele,
four hungry kids and a crop in the field.
-- Kenny Rogers
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 14 15:07:47 2004

This is an archived mail posted to the Subversion Users mailing list.