You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Eric MacAdie <er...@MacAdie.net> on 2009/05/23 21:17:44 UTC

svn question: Downloading the old stuff

I am looked a bit at the 407 page  svn red book 
(http://svnbook.red-bean.com/), and I might find an answer to this 
question there, but I will ask here anyway. Can I exclude certain parts 
of the souce directory tree from a checkout?

I ran "svn checkout http://svn.apache.org/repos/asf/james/ james" awhile 
back, and it took about two hours to get all the source. The whole tree 
is about 3.1 GB:
[ericm@saigon][2009-05-21_21.30.13]$ pwd
/path/to/james-svn/2009-05-21_21.30.13
[2009-05-23 11:51:13]
[ericm@saigon][2009-05-21_21.30.13]$ perl ~/perl/getSize
The files in this directory add up to 3,395,115,127 bytes
3315542.11621094 KB
3237.83409786224 MB
3.1619473611936 GB
[2009-05-23 12:14:28]

But there is a lot of old stuff in server/tags that I think I do not need:
[ericm@saigon][tags]$ pwd
/path/to/james-svn/james-svn/2009-05-21_21.30.13/server/tags
[2009-05-23 13:55:05]
[ericm@saigon][tags]$ perl ~/perl/getSize
The files in this directory add up to 1,202,976,544 bytes
1174781.78125 KB
1147.24783325195 MB
1.12035921216011 GB
[2009-05-23 13:55:51]
[ericm@saigon][tags]$ ls
build_2_1_1_fcs/  build_2_1_3_fcs/  build_2_2_0_fcs/  build_2_3_1/  
james_0_0/    JAMES-1_2/
build_2_1_2_fcs/  build_2_1_fcs/    build_2_3_0/      deprecated/   
james_1_0/    JAMES-1_2_1/
[2009-05-23 13:56:24]

Is there an svn command that would allow me to get everything except the 
server/tags tree? Having people download 1.1 GB of old stuff just seems 
like a waste.

Eric MacAdie


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: svn question: Downloading the old stuff

Posted by Robert Burrell Donkin <ro...@gmail.com>.
On Tue, May 26, 2009 at 4:43 AM, Eric MacAdie <er...@macadie.net> wrote:
> Robert Burrell Donkin wrote:
>>
>> On Mon, May 25, 2009 at 6:48 AM, Eric MacAdie <er...@macadie.net> wrote:
>>
>> the 3.x stuff is spread out into a number of different locations and
>> that'll only check out IMAP and server
>>
>> unless anyone jumps in with an objection, i'll delete that and create
>> a http://svn.apache.org/repos/asf/james/current that'll check out the
>> latest of everything
>>
>> - robert
>>
>
> That sounds like a good idea to me.

hopefully http://svn.apache.org/repos/asf/james/current/ should do it

- robert

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: svn question: Downloading the old stuff

Posted by Eric MacAdie <er...@MacAdie.net>.
Robert Burrell Donkin wrote:
> On Mon, May 25, 2009 at 6:48 AM, Eric MacAdie <er...@macadie.net> wrote:
>   
>
> the 3.x stuff is spread out into a number of different locations and
> that'll only check out IMAP and server
>
> unless anyone jumps in with an objection, i'll delete that and create
> a http://svn.apache.org/repos/asf/james/current that'll check out the
> latest of everything
>
> - robert
>   
That sounds like a good idea to me.

Eric MacAdie





---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: svn question: Downloading the old stuff

Posted by Robert Burrell Donkin <ro...@gmail.com>.
On Mon, May 25, 2009 at 6:48 AM, Eric MacAdie <er...@macadie.net> wrote:
> Robert Burrell Donkin wrote:
>>
>> once i explain some background, it might make a little more sense to
>> you...
>>
>> apache james is a project: a self-organising community with a single
>> set of committers developing the source and a single PMC with votes
>> that bind apache.
>>
>> apache james server is the flagship product but most development now
>> goes on in the libraries that compose the server. (one of the current
>> debates is how far this process of componentisation should go.) each
>> library is separately versioned and has it's own directory structure
>> in subversion and subsite on the web.
>>
>> as you spotted, the downside of this approach is that it's tough to
>> checkout the latest versions of everything together.
>> http://svn.apache.org/repos/asf/james/protocols/current/ uses
>> externals to do this for IMAP and 3.x. so - if people think it would
>> be useful - i could easily create a 'current' which would checkout
>> trunk for all 3.x components. not sure whether this would be a good
>> idea or not. opinions?
>>
>> this process of componentisation happened mostly in the 3.x
>> codestream. the 2.x code is monolithic (ATM). to checkout the stable
>> server source, use
>> http://svn.apache.org/repos/asf/james/server/branches/v2.3/
>>
>> - robert
>>
>
> I ran "svn checkout http://svn.apache.org/repos/asf/james/protocols" and
> that downloaded 207 MB in about 10 minutes.
>
> I also ran "svn checkout
> http://svn.apache.org/repos/asf/james/server/branches/v2.3", which
> downloaded 30 MB in 2 and a half minutes.
>
> So maybe in the future the docs/wiki could contain your explanation above
> about the structure, and maybe a few svn commands. A lot of the Apache
> projects seem to just give one svn command to download everything, which
> seems to be bad for James.
>
> So for now, is it correct to say that in order to build James from current
> source, people should run:
> svn checkout http://svn.apache.org/repos/asf/james/server/branches/v2.3

yep

> and that to build the new stuff they should run:
> svn checkout http://svn.apache.org/repos/asf/james/protocols

the 3.x stuff is spread out into a number of different locations and
that'll only check out IMAP and server

unless anyone jumps in with an objection, i'll delete that and create
a http://svn.apache.org/repos/asf/james/current that'll check out the
latest of everything

- robert

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: svn question: Downloading the old stuff

Posted by Eric MacAdie <er...@MacAdie.net>.
Robert Burrell Donkin wrote:
> once i explain some background, it might make a little more sense to you...
>
> apache james is a project: a self-organising community with a single
> set of committers developing the source and a single PMC with votes
> that bind apache.
>
> apache james server is the flagship product but most development now
> goes on in the libraries that compose the server. (one of the current
> debates is how far this process of componentisation should go.) each
> library is separately versioned and has it's own directory structure
> in subversion and subsite on the web.
>
> as you spotted, the downside of this approach is that it's tough to
> checkout the latest versions of everything together.
> http://svn.apache.org/repos/asf/james/protocols/current/ uses
> externals to do this for IMAP and 3.x. so - if people think it would
> be useful - i could easily create a 'current' which would checkout
> trunk for all 3.x components. not sure whether this would be a good
> idea or not. opinions?
>
> this process of componentisation happened mostly in the 3.x
> codestream. the 2.x code is monolithic (ATM). to checkout the stable
> server source, use
> http://svn.apache.org/repos/asf/james/server/branches/v2.3/
>
> - robert
>   
I ran "svn checkout http://svn.apache.org/repos/asf/james/protocols" and 
that downloaded 207 MB in about 10 minutes.

I also ran "svn checkout 
http://svn.apache.org/repos/asf/james/server/branches/v2.3", which 
downloaded 30 MB in 2 and a half minutes.

So maybe in the future the docs/wiki could contain your explanation 
above about the structure, and maybe a few svn commands. A lot of the 
Apache projects seem to just give one svn command to download 
everything, which seems to be bad for James.

So for now, is it correct to say that in order to build James from 
current source, people should run:
svn checkout http://svn.apache.org/repos/asf/james/server/branches/v2.3
and that to build the new stuff they should run:
svn checkout http://svn.apache.org/repos/asf/james/protocols

Eric MacAdie



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: svn question: Downloading the old stuff

Posted by Robert Burrell Donkin <ro...@gmail.com>.
On Sat, May 23, 2009 at 8:17 PM, Eric MacAdie <er...@macadie.net> wrote:
> I am looked a bit at the 407 page  svn red book
> (http://svnbook.red-bean.com/), and I might find an answer to this question
> there, but I will ask here anyway. Can I exclude certain parts of the souce
> directory tree from a checkout?

i'm don't know how

> I ran "svn checkout http://svn.apache.org/repos/asf/james/ james" awhile
> back, and it took about two hours to get all the source. The whole tree is
> about 3.1 GB:
> [ericm@saigon][2009-05-21_21.30.13]$ pwd
> /path/to/james-svn/2009-05-21_21.30.13
> [2009-05-23 11:51:13]
> [ericm@saigon][2009-05-21_21.30.13]$ perl ~/perl/getSize
> The files in this directory add up to 3,395,115,127 bytes
> 3315542.11621094 KB
> 3237.83409786224 MB
> 3.1619473611936 GB
> [2009-05-23 12:14:28]

WOW!

i didn't know you could checkout such a big tree without
infrastructure cutting you off

> But there is a lot of old stuff in server/tags that I think I do not need:
> [ericm@saigon][tags]$ pwd
> /path/to/james-svn/james-svn/2009-05-21_21.30.13/server/tags
> [2009-05-23 13:55:05]
> [ericm@saigon][tags]$ perl ~/perl/getSize
> The files in this directory add up to 1,202,976,544 bytes
> 1174781.78125 KB
> 1147.24783325195 MB
> 1.12035921216011 GB
> [2009-05-23 13:55:51]
> [ericm@saigon][tags]$ ls
> build_2_1_1_fcs/  build_2_1_3_fcs/  build_2_2_0_fcs/  build_2_3_1/
>  james_0_0/    JAMES-1_2/
> build_2_1_2_fcs/  build_2_1_fcs/    build_2_3_0/      deprecated/
> james_1_0/    JAMES-1_2_1/
> [2009-05-23 13:56:24]
>
> Is there an svn command that would allow me to get everything except the
> server/tags tree? Having people download 1.1 GB of old stuff just seems like
> a waste.

once i explain some background, it might make a little more sense to you...

apache james is a project: a self-organising community with a single
set of committers developing the source and a single PMC with votes
that bind apache.

apache james server is the flagship product but most development now
goes on in the libraries that compose the server. (one of the current
debates is how far this process of componentisation should go.) each
library is separately versioned and has it's own directory structure
in subversion and subsite on the web.

as you spotted, the downside of this approach is that it's tough to
checkout the latest versions of everything together.
http://svn.apache.org/repos/asf/james/protocols/current/ uses
externals to do this for IMAP and 3.x. so - if people think it would
be useful - i could easily create a 'current' which would checkout
trunk for all 3.x components. not sure whether this would be a good
idea or not. opinions?

this process of componentisation happened mostly in the 3.x
codestream. the 2.x code is monolithic (ATM). to checkout the stable
server source, use
http://svn.apache.org/repos/asf/james/server/branches/v2.3/

- robert

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org