Re: [gentoo-user] repoman the optimist

2020-04-06 Thread Neil Bothwick
On Sun, 5 Apr 2020 20:57:28 -0700, Ian Zimmerman wrote:

> I am preparing some home made ebuilds and I run "repoman manifest" as
> part of the process.  repoman downloads the upstream tarball for the
> package from the SRC_URI location, but only after trying the distfiles
> directory on all servers in my PORTAGE_MIRRORS.  This software is not
> packaged by gentoo, so this always fails and it amounts to a useless
> delay for me, and perhaps an annoyance for the servers.  How can I
> disable it and make repoman go straight to the upstream location?

You could put RESTRICT=mirror in the ebuild, or possibly in package.env


-- 
Neil Bothwick

If Yoda so strong in force is, why words in right order he cannot put?


pgpxWilwOmKga.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] repoman the optimist

2020-04-06 Thread Alessandro Barbieri
Using RESTRICT="primaryuri" inside the ebuilds (unfortunately doesn't work
as an environment variable). Beware that's planned to be deprecated.
Someone suggested setting an empty mirror string as an environment variable
but I had no success.

Il Lun 6 Apr 2020, 05:57 Ian Zimmerman  ha scritto:

> I am preparing some home made ebuilds and I run "repoman manifest" as
> part of the process.  repoman downloads the upstream tarball for the
> package from the SRC_URI location, but only after trying the distfiles
> directory on all servers in my PORTAGE_MIRRORS.  This software is not
> packaged by gentoo, so this always fails and it amounts to a useless
> delay for me, and perhaps an annoyance for the servers.  How can I
> disable it and make repoman go straight to the upstream location?
>
> --
> Ian
>
>