On 03/28/12 10:42, Richard Yao wrote:
> On 03/28/12 10:24, Kent Fredric wrote:
>>>
>>> Just use categories from repos?
>>>
>>> /usr/portage/distfiles/sys-devel/gcc-1.2.tar.bz2
>>> /usr/portage/distfiles/sys-libs/glibc-2.3.tar.bz2
>>> /usr/portage/distfiles/sys-libs/zlib-3.4.tar.bz2
>>> /usr/portage/distfiles/zomg-soft/zomgawesomesoft-5.3.1.tar.xz
>>> (from zomg repo with custom zomg-soft category ;)
>>>
>>> Btw. what would happen if, ie. mc package - well, two different
>>> packages, one from app-misc, one from sci-libs - but lets say they have
>>> a brand new release 5.0 and there's mc-5.0.tar.bz2 for both of them?
>>>
>>
>> Yeah, as admittedly rare as that might be, thats why I didn't suggest
>> grouping by category =)
> 
> This could cause problems for people using crossdev, because it relies
> on overlays to work. If crossdev were to use symlinks, using
> `eclean-dist -df` to remove things that are not needed by the main tree
> could delete the targets of the symlinks. Hard links would work around
> this, but then the distfiles for everything would need to be in the same
> file system and that file system would need to support hard links.
> 
> The general sentiment that I have seen from Gentoo developers on IRC is
> that overlays are bad and that they are meant for things that will
> eventually be merged into the main tree. With that in mind, I am not
> convinced that this is a problem worth fixing. The overlay owner is
> supposed to prepare his things for inclusion into the main tree, so he
> should handle it.
> 

On second thought, I guess this would be okay if you let the overlay
specify its own DISTFILES location within its directory tree to override
the main tree's location. That way crossdev won't be affected.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to