RE: [Cooker] Software Manager and rsync?

2001-08-30 Thread Andrej Borsenkow


  Yep, I was about to post the same but forgot. Not as exclusive
choice of
  course but as option.
 
 Right.  Not exclusive!  ftp or at least http works about everywhere
thru
 every firewall.  But rsync?  Yes, at home I use rsync whenever
possible
 - but at work I wouldn't be able to use rsync, thanks to the firewall.
 

1. runsocks rsync ...

needs SOCKS proxy of course

2. export RSYNC_PROXY=your-http-proxy:proxy-port
as long as proxy does not block CONNECT to non-437 ports (which is
paranoid) it works like a charm. How do you think I use rsync? :-)

-andrej




Re: [Cooker] Software Manager and rsync?

2001-08-30 Thread J . A . Magallon


On 20010829 Borsenkow Andrej wrote:
On Wed, 29 Aug 2001, David Odin wrote:

 On Wed, Aug 29, 2001 at 09:00:03AM +0200, Eivind Eriksen wrote:
  With all the resent talk about rsync vs. others:
  Would'nt it be better if Software Manager (MandrakeUpdate) based its list
  updating on rsync? Instead of retreaving the whole (~12MB) file each time,
  it could only fetch the incremental changes.
 
   From what I've heard, rsync isn't that good with compressed data, and the
 hdlist are gzipped.


And I use it every day and rsyncing hdlist takes less then one minute (at
most) with line at about 20KB/s. That is no more than 1MB and *not* 12MB
in any case.


I suppose that rsync uses a listing (just names) to check packages, like good,old
MandrakeUpdate before the mix with rpmdrake.

Could anybody add a check based just on 'ls' (or ftp listing), instead of 12 Mb of
hdlist ?. I found stupid to reload the full listing every night when checking
cooker updates. That is why I use gftp with reverse-date listings...

-- 
J.A. Magallon   #  Let the source be with you...
mailto:[EMAIL PROTECTED]
Mandrake Linux release 8.1 (Cooker) for i586
Linux werewolf 2.4.9-ac3 #1 SMP Tue Aug 28 01:27:23 CEST 2001 i686




RE: [Cooker] Software Manager and rsync?

2001-08-30 Thread Andrej Borsenkow

 On 20010829 Borsenkow Andrej wrote:
 On Wed, 29 Aug 2001, David Odin wrote:
 
  On Wed, Aug 29, 2001 at 09:00:03AM +0200, Eivind Eriksen wrote:
   With all the resent talk about rsync vs. others:
   Would'nt it be better if Software Manager (MandrakeUpdate) based
its
 list
   updating on rsync? Instead of retreaving the whole (~12MB) file
each
 time,
   it could only fetch the incremental changes.
  
From what I've heard, rsync isn't that good with compressed data,
and
 the
  hdlist are gzipped.
 
 
 And I use it every day and rsyncing hdlist takes less then one minute
(at
 most) with line at about 20KB/s. That is no more than 1MB and *not*
12MB
 in any case.
 
 
 I suppose that rsync uses a listing (just names) to check packages,
like
 good,old
 MandrakeUpdate before the mix with rpmdrake.
 

No. It works differently (what has listing to do with downloading a
single file?)

-andrej




RE: [Cooker] Software Manager and rsync?

2001-08-30 Thread Andrej Borsenkow


 
 What about HTTP-AUTH?  I need to authenticate when going online - for
 billing stuff.  In my browser, I'm prompted for username/password.
 

I guess, no. At least nothing in manuals. 

-andrej




Re: [Cooker] Software Manager and rsync?

2001-08-29 Thread David Odin

On Wed, Aug 29, 2001 at 09:00:03AM +0200, Eivind Eriksen wrote:
 With all the resent talk about rsync vs. others:
 Would'nt it be better if Software Manager (MandrakeUpdate) based its list
 updating on rsync? Instead of retreaving the whole (~12MB) file each time,
 it could only fetch the incremental changes.
 
  From what I've heard, rsync isn't that good with compressed data, and the
hdlist are gzipped.

  DindinX

-- 
  [EMAIL PROTECTED]




RE: [Cooker] Software Manager and rsync?

2001-08-29 Thread Borsenkow Andrej

 
 With all the resent talk about rsync vs. others:
 Would'nt it be better if Software Manager (MandrakeUpdate) based its
list
 updating on rsync? Instead of retreaving the whole (~12MB) file each
time,
 it could only fetch the incremental changes.
 

Yep, I was about to post the same but forgot. Not as exclusive choice of
course but as option.

-andrej




Re: [Cooker] Software Manager and rsync?

2001-08-29 Thread Borsenkow Andrej

On Wed, 29 Aug 2001, David Odin wrote:

 On Wed, Aug 29, 2001 at 09:00:03AM +0200, Eivind Eriksen wrote:
  With all the resent talk about rsync vs. others:
  Would'nt it be better if Software Manager (MandrakeUpdate) based its list
  updating on rsync? Instead of retreaving the whole (~12MB) file each time,
  it could only fetch the incremental changes.
 
   From what I've heard, rsync isn't that good with compressed data, and the
 hdlist are gzipped.


And I use it every day and rsyncing hdlist takes less then one minute (at
most) with line at about 20KB/s. That is no more than 1MB and *not* 12MB
in any case.

-andrej




Re: [Cooker] Software Manager and rsync?

2001-08-29 Thread Alexander Skwar

So sprach »Borsenkow Andrej« am 2001-08-29 um 11:12:33 +0400 :
 Yep, I was about to post the same but forgot. Not as exclusive choice of
 course but as option.

Right.  Not exclusive!  ftp or at least http works about everywhere thru
every firewall.  But rsync?  Yes, at home I use rsync whenever possible
- but at work I wouldn't be able to use rsync, thanks to the firewall.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 17 hours 9 minutes




Re: [Cooker] Software Manager and rsync?

2001-08-29 Thread Randy Kramer

David Odin wrote:
   From what I've heard, rsync isn't that good with compressed data, and the
 hdlist are gzipped.

Borsenkow Andrej [EMAIL PROTECTED] wrote (in a different
thread) The most notable case is
hdlists; with lftp you get 15MB every time, with rsycn you get several
KB (well, in order of magnitude :-). 

That would seem to indicate that rsync handles compressed data well
enough.

Randy Kramer