public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] emerge regen
@ 2003-12-31  3:44 Chris Frey
  2004-01-04  9:20 ` Nick Jones
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Frey @ 2003-12-31  3:44 UTC (permalink / raw
  To: gentoo-dev

Hi,

Can anyone point me at documentation describing what the 'regen'
option does on emerge?  The man page is the only place I've found,
and it basically tells me to use rsync.

What I want to do is create a separate portage tree that I can
manually rync into, and copy over .ebuild files as I need them, into the
main /usr/portage tree.

It appears that I can use regen for this purpose after copying
new files in, but I want to make sure it is supposed to do what
I'm hoping it will. :-)

Thanks,
- Chris


--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] emerge regen
  2003-12-31  3:44 [gentoo-dev] emerge regen Chris Frey
@ 2004-01-04  9:20 ` Nick Jones
  2004-01-10  3:34   ` N. Owen Gunden
  0 siblings, 1 reply; 4+ messages in thread
From: Nick Jones @ 2004-01-04  9:20 UTC (permalink / raw
  To: Chris Frey; +Cc: gentoo-dev

> Can anyone point me at documentation describing what the 'regen'
> option does on emerge?  The man page is the only place I've found,
> and it basically tells me to use rsync.
> 
> What I want to do is create a separate portage tree that I can
> manually rync into, and copy over .ebuild files as I need them, into the
> main /usr/portage tree.

emerge regen causes portage to generate all missing cache entries
for any ebuild in the portage tree, as well as regenerate the ones
marked as expired due to an eclass change or the ebuild itself
changing.

It's a forced caching, basically. 'emerge sync' does the same thing
but does it with an extreme difference in speed by using the cache
that's generated on gentoo's servers. A complete regeneration can
take upwards of two hours, depending on the speed of the machine.

I'm not entirely certain what you're doing but the only use for
this function for non-cvs users is for the generation of a metadata
cache. As Gentoo does this itself, it seems unlikely that this
really is going to benefit anything you're trying to accomplish,
unless you have a _very_ large set of ebuilds that you're
incorporating into a private rsync tree.

--NJ


--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] emerge regen
  2004-01-04  9:20 ` Nick Jones
@ 2004-01-10  3:34   ` N. Owen Gunden
  2004-01-10  4:59     ` Georgi Georgiev
  0 siblings, 1 reply; 4+ messages in thread
From: N. Owen Gunden @ 2004-01-10  3:34 UTC (permalink / raw
  To: gentoo-dev

On Sun, Jan 04, 2004 at 03:20:03AM -0600, Nick Jones wrote:
> emerge regen causes portage to generate all missing cache entries
> for any ebuild in the portage tree, as well as regenerate the ones
> marked as expired due to an eclass change or the ebuild itself
> changing.
> 
> It's a forced caching, basically. 'emerge sync' does the same thing
> but does it with an extreme difference in speed by using the cache
> that's generated on gentoo's servers. A complete regeneration can
> take upwards of two hours, depending on the speed of the machine.

Where are these cache entries stored?  If I mount /usr/portage over NFS,
do I get the new cache entries on an emerge sync?

 - O

--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] emerge regen
  2004-01-10  3:34   ` N. Owen Gunden
@ 2004-01-10  4:59     ` Georgi Georgiev
  0 siblings, 0 replies; 4+ messages in thread
From: Georgi Georgiev @ 2004-01-10  4:59 UTC (permalink / raw
  To: gentoo-dev

maillog: 09/01/2004-22:34:40(-0500): N. Owen Gunden types
> On Sun, Jan 04, 2004 at 03:20:03AM -0600, Nick Jones wrote:
> > emerge regen causes portage to generate all missing cache entries
> > for any ebuild in the portage tree, as well as regenerate the ones
> > marked as expired due to an eclass change or the ebuild itself
> > changing.
> > 
> > It's a forced caching, basically. 'emerge sync' does the same thing
> > but does it with an extreme difference in speed by using the cache
> > that's generated on gentoo's servers. A complete regeneration can
> > take upwards of two hours, depending on the speed of the machine.
> 
> Where are these cache entries stored?  If I mount /usr/portage over NFS,
> do I get the new cache entries on an emerge sync?

/var/cache/edb/dep

-- 
/\   Georgi Georgiev   /\ Half the world is composed of people who     /\
\/    chutz@gg3.net    \/ have something to say and can't, and the     \/
/\  +81(90)6266-1163   /\ other half who have nothing to say and keep  /\
\/ ------------------- \/ on saying it.                                \/

--
gentoo-dev@gentoo.org mailing list


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

end of thread, other threads:[~2004-01-10  4:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-31  3:44 [gentoo-dev] emerge regen Chris Frey
2004-01-04  9:20 ` Nick Jones
2004-01-10  3:34   ` N. Owen Gunden
2004-01-10  4:59     ` Georgi Georgiev

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