Re: [gentoo-portage-dev] [RFC] eslurp helper

2017-03-27 Thread Ulrich Mueller
> On Sun, 26 Mar 2017, Michał Górny wrote:

> I'm thinking of creating a new helper in Portage. The draft name is
> eslurp. It would be used like:

>   eslurp [--dist|--binpkg] ...

+1

The name will need some bikeshedding, though. :)
I suggest "edrop" or "einsert".

> i.e. it would have two modes:

> 1. --dist would place all listed files in DISTDIR (respecting any
> possible future DISTDIR split),

> 2. --binpkg would place all listed packages in PKGDIR (respecting
> subdirectories, updating index).

> If neither of the options were specified, it would guess the
> directory type by the filename suffix.

I wonder how that could possibly work. Distfiles have no specific
suffix, and binpkgs have a .tbz2 suffix which however can occur for
distfiles too.

Ulrich


pgpxAExMXnxXE.pgp
Description: PGP signature


[gentoo-portage-dev] [RFC] eslurp helper

2017-03-26 Thread Michał Górny
Hi,

I'm thinking of creating a new helper in Portage. The draft name is
eslurp. It would be used like:

  eslurp [--dist|--binpkg] ...

i.e. it would have two modes:

1. --dist would place all listed files in DISTDIR (respecting any
possible future DISTDIR split),

2. --binpkg would place all listed packages in PKGDIR (respecting
subdirectories, updating index).

If neither of the options were specified, it would guess the directory
type by the filename suffix.

What do you think?

-- 
Best regards,
Michał Górny


signature.asc
Description: This is a digitally signed message part