1 |
On Sun, 13 Sep 2009 22:17:19 +0200 |
2 |
Sebastian Pipping <webmaster@××××××××.org> wrote: |
3 |
> Ciaran McCreesh wrote: |
4 |
> > Not quite. If both an overlay and the main tree provide foo-1.2, |
5 |
> > masking foo-1.2::overlay in Portage would end up masking every |
6 |
> > foo-1.2. |
7 |
> |
8 |
> Why? |
9 |
|
10 |
Because an overlay model has only a single foo-1.2. Think of it like |
11 |
stacks of paper. You've got your main repository: |
12 |
|
13 |
::gentoo foo-1.1 foo-1.2 foo-1.3 |
14 |
|
15 |
and on top of that you put your overlay: |
16 |
|
17 |
::extras foo-1.2 foo-1.4 |
18 |
::gentoo foo-1.1 foo-1.2 foo-1.3 |
19 |
|
20 |
and then looking down from the top, all an overlay model package |
21 |
manager sees is the foo-1.2 from the overlay. There's no |
22 |
foo-1.2::gentoo and foo-1.2::extras, there's just a single foo-1.2 |
23 |
that's made from (gentoo + extras). |
24 |
|
25 |
There's a different way of looking at it that focuses more on the |
26 |
repository level view at [1]. |
27 |
|
28 |
[1]: http://ciaranm.wordpress.com/2009/04/16/distributed-distribution-development-and-why-git-and-or-funtoo-is-not-it/ |
29 |
|
30 |
-- |
31 |
Ciaran McCreesh |