public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] feature request: emerge --fetchonly
@ 2001-08-17  5:10 Peter Kadau
  2001-08-17  6:33 ` Mikael Hallendal
  2001-08-17 11:06 ` Daniel Robbins
  0 siblings, 2 replies; 5+ messages in thread
From: Peter Kadau @ 2001-08-17  5:10 UTC (permalink / raw
  To: gentoo-dev

hi !

i'd like to fetch in one swoop.
this is extremely nice when you have a dialup-connection.

so calculating the deps and fetch every source needed, is what i mean.
proposal: --fetchonly option to emerge.

i'v browsed through portage.py, especially doebuild, but
unfortunately, couldn't really figure out how to get my hands on
the deps - once i have the list, the rest should be trivial.
(along the lines of

 for mypkg in mydeplist:
      spawn("/usr/bin/ebuild.sh fetch")

 or something like that.)

thanks in advance for any hints
ciao
peter

-----------------------------------------------------------------
Peter Kadau <peterdotkadauatwebdotde>

"Why program by hand in five days what you can
 spend five years of your life automating ?"
-----------------------------------------------------------------
_______________________________________________________________________
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
IhrName@web.de, 8MB Speicher, Verschluesselung - http://freemail.web.de





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] feature request: emerge --fetchonly
  2001-08-17  5:10 Peter Kadau
@ 2001-08-17  6:33 ` Mikael Hallendal
  2001-08-17 11:06 ` Daniel Robbins
  1 sibling, 0 replies; 5+ messages in thread
From: Mikael Hallendal @ 2001-08-17  6:33 UTC (permalink / raw
  To: Gentoo Dev.

Den 17 Aug 2001 13:10:05 +0200 skrev Peter Kadau:
> hi !
> 
> i'd like to fetch in one swoop.
> this is extremely nice when you have a dialup-connection.

This sound like something good for this yes. Another way might be to
first fetch the sources (when doing an emerge) and when everything is
received start compiling. This way a user could disconnect when the
files are on the disk.

Perhaps this is hard to implement and wouldn't fill enough needs, just
brainstorming here :)

Regards,
  Mikael Hallendal

-- 

Mikael Hallendal
Gentoo Linux Developer, Desktop Team Leader
Stockholm, Sweden




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] feature request: emerge --fetchonly
@ 2001-08-17  7:36 Peter Kadau
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Kadau @ 2001-08-17  7:36 UTC (permalink / raw
  To: gentoo-dev

hi !

> > i'd like to fetch in one swoop.
> > this is extremely nice when you have a dialup-connection.
> 
> This sound like something good for this yes. Another way might be to
> first fetch the sources (when doing an emerge) and when everything is
> received start compiling. This way a user could disconnect when the
> files are on the disk.
> 
> Perhaps this is hard to implement and wouldn't fill enough needs, just
> brainstorming here :)

i don't think it's hard to implement (both of them).
actually what you describe would be
the natural approach for dialup,
i.e. connect (not necessarily as root)
     emerge (as root)
     disconnect at will (again, not necessarily as root)

on the other hand the "fetchfirst" approach could be of dialup-independent interest ;)

i just don't understand this depgraph stuff, all i need to know, is:
how do i get the list of the ebuilds that are required ?
in the depgraph methods are a lot of "print" statements and i couldn't see
where this plain list gets stored.
alright, i admit, i'm not aquainted with python yet...

> Regards,
>   Mikael Hallendal

thanks and ciao
peter

-----------------------------------------------------------------
Peter Kadau <peterdotkadauatwebdotde>

"Why program by hand in five days what you can
 spend five years of your life automating ?"
-----------------------------------------------------------------
_______________________________________________________________________
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
IhrName@web.de, 8MB Speicher, Verschluesselung - http://freemail.web.de





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] feature request: emerge --fetchonly
  2001-08-17  5:10 Peter Kadau
  2001-08-17  6:33 ` Mikael Hallendal
@ 2001-08-17 11:06 ` Daniel Robbins
  1 sibling, 0 replies; 5+ messages in thread
From: Daniel Robbins @ 2001-08-17 11:06 UTC (permalink / raw
  To: gentoo-dev

On Fri, Aug 17, 2001 at 01:10:05PM +0200, Peter Kadau wrote:
> hi !
> 
> i'd like to fetch in one swoop.
> this is extremely nice when you have a dialup-connection.
> 
> so calculating the deps and fetch every source needed, is what i mean.
> proposal: --fetchonly option to emerge.

OK; this is a great idea, so I've added it to emerge.  A --fetchonly-enabled
emerge will show up on rsync in 45 minutes (it's on CVS now).  You'll need to
merge or remerge Portage 1.5.4 for it to be installed.

Great idea!

Best Regards,

-- 
Daniel Robbins					<drobbins@gentoo.org>
Chief Architect/President			http://www.gentoo.org 
Gentoo Technologies, Inc.			



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] feature request: emerge --fetchonly
@ 2001-08-18  9:21 Peter Kadau
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Kadau @ 2001-08-18  9:21 UTC (permalink / raw
  To: gentoo-dev

hi !

> > proposal: --fetchonly option to emerge.
> 
> OK; this is a great idea, so I've added it to emerge.  A --fetchonly-enabled
> emerge will show up on rsync in 45 minutes (it's on CVS now).  You'll need to
> merge or remerge Portage 1.5.4 for it to be installed.
> 
> Daniel Robbins					<drobbins@gentoo.org>

wow, thanks, never saw a feature done so quickly :-)
(and i can stop fiddling around in /usr/lib/portage/bin/emerge ;-)

ciao
peter

-----------------------------------------------------------------
Peter Kadau <peterdotkadauatwebdotde>

"Why program by hand in five days what you can
 spend five years of your life automating ?"
-----------------------------------------------------------------
_______________________________________________________________________
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
IhrName@web.de, 8MB Speicher, Verschluesselung - http://freemail.web.de





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-08-18 15:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-18  9:21 [gentoo-dev] feature request: emerge --fetchonly Peter Kadau
  -- strict thread matches above, loose matches on Subject: below --
2001-08-17  7:36 Peter Kadau
2001-08-17  5:10 Peter Kadau
2001-08-17  6:33 ` Mikael Hallendal
2001-08-17 11:06 ` Daniel Robbins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox