Re: [gentoo-portage-dev] emerge-webrsync patch

2006-02-02 Thread Johannes Fahrenkrug
Brian Harring wrote: On Thu, Feb 02, 2006 at 01:30:58PM +0100, Johannes Fahrenkrug wrote: Brian Harring wrote: On Thu, Feb 02, 2006 at 08:16:14AM +0100, Johannes Fahrenkrug wrote: Brian, I just want to make sure this is still on your agenda :) InSVN, and in the

Re: [gentoo-portage-dev] emerge-webrsync patch

2006-02-02 Thread Brian Harring
On Thu, Feb 02, 2006 at 01:30:58PM +0100, Johannes Fahrenkrug wrote: > Brian Harring wrote: > > >On Thu, Feb 02, 2006 at 08:16:14AM +0100, Johannes Fahrenkrug wrote: > > > > > >>Brian, > >> > >>I just want to make sure this is still on your agenda :) > >> > >> > > > >InSVN, and in the tree...

Re: [gentoo-portage-dev] emerge-webrsync patch

2006-02-02 Thread Johannes Fahrenkrug
Brian Harring wrote: On Thu, Feb 02, 2006 at 08:16:14AM +0100, Johannes Fahrenkrug wrote: Brian, I just want to make sure this is still on your agenda :) InSVN, and in the tree... :) Great! Thanks :) I was just wondering: Will I be mentioned anywhere? - Johannes. -- gentoo-porta

Re: [gentoo-portage-dev] emerge-webrsync patch

2006-02-02 Thread Brian Harring
On Thu, Feb 02, 2006 at 08:16:14AM +0100, Johannes Fahrenkrug wrote: > Brian, > > I just want to make sure this is still on your agenda :) InSVN, and in the tree... :) ~harring pgpcmhNYyu2R8.pgp Description: PGP signature

Re: [gentoo-portage-dev] emerge-webrsync patch

2006-02-01 Thread Johannes Fahrenkrug
Brian, I just want to make sure this is still on your agenda :) - Johannes. Brian Harring wrote: On Mon, Jan 23, 2006 at 12:39:06PM +0100, Johannes Fahrenkrug wrote: Brian, did you have a chance to look at this yet? Will be integrating the changes sometime this week (spaced it tbh)

Re: [gentoo-portage-dev] emerge-webrsync patch

2006-01-23 Thread Johannes Fahrenkrug
Great! Thank you :) I'll be watching the GWN closely :) - Johannes. Brian Harring wrote: On Mon, Jan 23, 2006 at 12:39:06PM +0100, Johannes Fahrenkrug wrote: Brian, did you have a chance to look at this yet? Will be integrating the changes sometime this week (spaced it tbh) :) ~har

Re: [gentoo-portage-dev] emerge-webrsync patch

2006-01-23 Thread Brian Harring
On Mon, Jan 23, 2006 at 12:39:06PM +0100, Johannes Fahrenkrug wrote: > Brian, > > did you have a chance to look at this yet? Will be integrating the changes sometime this week (spaced it tbh) :) ~harring pgp3p83VZAsPc.pgp Description: PGP signature

Re: [gentoo-portage-dev] emerge-webrsync patch

2006-01-23 Thread Johannes Fahrenkrug
Brian, did you have a chance to look at this yet? - Johannes. Johannes Fahrenkrug wrote: Brian Harring wrote: On Wed, Jan 11, 2006 at 10:15:00AM +0100, Johannes Fahrenkrug wrote: if [[ -n $PORTAGE_NICENESS ]] && ! [[ -z $WE_ARE_NICED ]]; then Haven't looked at the patch yet, but a

Re: [gentoo-portage-dev] emerge-webrsync patch

2006-01-12 Thread Johannes Fahrenkrug
Brian Harring wrote: On Wed, Jan 11, 2006 at 10:15:00AM +0100, Johannes Fahrenkrug wrote: if [[ -n $PORTAGE_NICENESS ]] && ! [[ -z $WE_ARE_NICED ]]; then Haven't looked at the patch yet, but a bit of bash fu for ya- [[ -n $VAR ]] == ! [[ -z $VAR ]] -z is zero length or unset, -n is

Re: [gentoo-portage-dev] emerge-webrsync patch

2006-01-11 Thread Brian Harring
On Wed, Jan 11, 2006 at 10:15:00AM +0100, Johannes Fahrenkrug wrote: > if [[ -n $PORTAGE_NICENESS ]] && ! [[ -z $WE_ARE_NICED ]]; then Haven't looked at the patch yet, but a bit of bash fu for ya- [[ -n $VAR ]] == ! [[ -z $VAR ]] -z is zero length or unset, -n is length >= 1 (thus must be set).

Re: [gentoo-portage-dev] emerge-webrsync patch

2006-01-11 Thread Johannes Fahrenkrug
Brian Harring wrote: Looks good; game to do the same for emerge-webrsync, and add in support for tarsync if it's available? Done. Please look at the patches, I hope this is what you had in mind. I basically copied it from emerge-delta-webrsync. Users will feed you cookies for the faster em

Re: [gentoo-portage-dev] emerge-webrsync patch

2006-01-09 Thread Brian Harring
On Wed, Jan 04, 2006 at 09:32:47AM +0100, Johannes Fahrenkrug wrote: > Ok, here's the patch for emerge-delta-webrync to use PORTAGE_NICENESS. > Brian, I hope this is what you had in mind. > I didn't alter the emerge-webrsync patch again, I think it's OK the way > I altered it in the last patch I p

Re: [gentoo-portage-dev] emerge-webrsync patch

2006-01-04 Thread Johannes Fahrenkrug
Ok, here's the patch for emerge-delta-webrync to use PORTAGE_NICENESS. Brian, I hope this is what you had in mind. I didn't alter the emerge-webrsync patch again, I think it's OK the way I altered it in the last patch I posted, but I attached it again anyway. - Johannes. --- /usr/bin/emerge-del

Re: [gentoo-portage-dev] emerge-webrsync patch

2005-12-30 Thread Johannes Fahrenkrug
Brian Harring wrote: Are you suggesting that I should rather leave this up to you since you were planning on changing these things anyway? Nah, I'm suggesting you do it since I don't have the time right now :) Brian, OK, I'll take care of it. I also won't have time until next week.

Re: [gentoo-portage-dev] emerge-webrsync patch

2005-12-29 Thread Brian Harring
On Thu, Dec 29, 2005 at 03:51:03PM +0100, Johannes Fahrenkrug wrote: > Brian Harring wrote: > > > > >I'd also raid the tarsync call- this is something I was intending on > >doing but have't yet. > > > > > I don't have a very deep knowledge of all the portage internals. > Are you suggesting

Re: [gentoo-portage-dev] emerge-webrsync patch

2005-12-29 Thread Johannes Fahrenkrug
Brian Harring wrote: I'd also raid the tarsync call- this is something I was intending on doing but have't yet. I don't have a very deep knowledge of all the portage internals. Are you suggesting that I should rather leave this up to you since you were planning on changing these things

Re: [gentoo-portage-dev] emerge-webrsync patch

2005-12-28 Thread Paul Varner
On Wed, 2005-12-28 at 17:38 +0100, Johannes Fahrenkrug wrote: > Good point. Is this patch better? Or should it rather be _exactly_ as it > is in revdep-rebuild? I personally would do it the same way as revdep-rebuild since that causes the entire script and anything it calls to be run at the value

Re: [gentoo-portage-dev] emerge-webrsync patch

2005-12-28 Thread Brian Harring
On Wed, Dec 28, 2005 at 05:38:02PM +0100, Johannes Fahrenkrug wrote: > Paul Varner wrote: > > > > >Instead of hardcoding the nice value, use PORTAGE_NICENESS. Here is how > >it is done in revdep-rebuild > > > ># Obey PORTAGE_NICENESS > >PORTAGE_NICENESS=$(portageq envvar PORTAGE_NICENESS) > >[ !

Re: [gentoo-portage-dev] emerge-webrsync patch

2005-12-28 Thread Johannes Fahrenkrug
Paul Varner wrote: Instead of hardcoding the nice value, use PORTAGE_NICENESS. Here is how it is done in revdep-rebuild # Obey PORTAGE_NICENESS PORTAGE_NICENESS=$(portageq envvar PORTAGE_NICENESS) [ ! -z "$PORTAGE_NICENESS" ] && renice $PORTAGE_NICENESS $$ > /dev/null Good point. Is this

Re: [gentoo-portage-dev] emerge-webrsync patch

2005-12-28 Thread Paul Varner
On Wed, 2005-12-28 at 13:04 +0100, Johannes Fahrenkrug wrote: > I put a "nice -n 19" in front of the tar, rsync and emerge metadata > commands because normally calling emerge-webrsync renders my box > unusable for 15 to 20 minutes. You still notice a difference when using > "nice" but everything

[gentoo-portage-dev] emerge-webrsync patch

2005-12-28 Thread Johannes Fahrenkrug
Hi, I'm new to this list put I have been using Gentoo for several years. Thank you for all the hard work you put into this beautiful distribution. Since I'm behind a quite restrictive proxy at work, I have to frequently use emerge-webrsync. I looked at the script today and thought that 2 things