public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] suggesting an improvement to portage
@ 2004-03-11 13:41 Pablo De Napoli
  2004-03-11 13:54 ` Scott Taylor
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo De Napoli @ 2004-03-11 13:41 UTC (permalink / raw
  To: gentoo-portage-dev

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 912 bytes --]


Hi,

I want to suggest a little inprovement to portage: suppose that I've
created my own ebuild for a package in PORTDIR_OVERLAY
and suppose that no ebuild for this package is included in the 
Gentoo portage (in PORTDIR)
Then for sure, the sources are not available in the Gentoo mirrors
and portage should go directly to the original site (the
SRC_URI from the ebuild)  for fetching the source, since it is
a waste of time try to access all the mirrors in GENTOO_MIRRORS
when we know in advance that the sources are not there.
There are two possible ways to implement this:

- an emerge option like --skip-gentoo-mirrors

or 

- that emerge checks in the PORTDIR if there is a package with the
same name and version

Pablo De Napoli
 

__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com

--
gentoo-portage-dev@gentoo.org mailing list


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

* Re: [gentoo-portage-dev] suggesting an improvement to portage
  2004-03-11 13:41 [gentoo-portage-dev] suggesting an improvement to portage Pablo De Napoli
@ 2004-03-11 13:54 ` Scott Taylor
  2004-03-11 14:10   ` Paul de Vrieze
  0 siblings, 1 reply; 3+ messages in thread
From: Scott Taylor @ 2004-03-11 13:54 UTC (permalink / raw
  To: gentoo-portage-dev

RESTRICT="nomirror" can be added to your ebuild to do just that.

however, i would find use for a make.conf option where i could list
mirrors (or nfs mounts, etc) that would always be checked before gentoo
mirrors, sourceforge mirrors, ignoring the "nomirror" option...


On Thu, 2004-03-11 at 06:41, Pablo De Napoli wrote:
> Hi,
> 
> I want to suggest a little inprovement to portage: suppose that I've
> created my own ebuild for a package in PORTDIR_OVERLAY
> and suppose that no ebuild for this package is included in the 
> Gentoo portage (in PORTDIR)
> Then for sure, the sources are not available in the Gentoo mirrors
> and portage should go directly to the original site (the
> SRC_URI from the ebuild)  for fetching the source, since it is
> a waste of time try to access all the mirrors in GENTOO_MIRRORS
> when we know in advance that the sources are not there.
> There are two possible ways to implement this:
> 
> - an emerge option like --skip-gentoo-mirrors
> 
> or 
> 
> - that emerge checks in the PORTDIR if there is a package with the
> same name and version
> 
> Pablo De Napoli
>  
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Search - Find what youre looking for faster
> http://search.yahoo.com
> 
> --
> gentoo-portage-dev@gentoo.org mailing list
--
Scott Taylor - <security@303underground.com> 

If you look like your driver's license photo -- see a doctor.
If you look like your passport photo -- it's too late for a doctor.

    


--
gentoo-portage-dev@gentoo.org mailing list


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

* Re: [gentoo-portage-dev] suggesting an improvement to portage
  2004-03-11 13:54 ` Scott Taylor
@ 2004-03-11 14:10   ` Paul de Vrieze
  0 siblings, 0 replies; 3+ messages in thread
From: Paul de Vrieze @ 2004-03-11 14:10 UTC (permalink / raw
  To: gentoo-portage-dev

[-- Attachment #1: Type: text/plain, Size: 673 bytes --]

On Thursday 11 March 2004 14:54, Scott Taylor wrote:
> RESTRICT="nomirror" can be added to your ebuild to do just that.
>
> however, i would find use for a make.conf option where i could list
> mirrors (or nfs mounts, etc) that would always be checked before gentoo
> mirrors, sourceforge mirrors, ignoring the "nomirror" option...

Such a list allready exists in the /etc/portage/mirrors file (man 5 portage). 
However an option to skip the mirrors from the command line might be an 
option, but I find that the time costs are only minimal in any case.

Paul

-- 
Paul de Vrieze
Gentoo Developer
Mail: pauldv@gentoo.org
Homepage: http://www.devrieze.net

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2004-03-11 14:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-11 13:41 [gentoo-portage-dev] suggesting an improvement to portage Pablo De Napoli
2004-03-11 13:54 ` Scott Taylor
2004-03-11 14:10   ` Paul de Vrieze

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