First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 159695
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gunnar Wrobel <wrobel@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: uzytkownik <uzytkownik2@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 159695 depends on: Show dependency tree
Show dependency graph
Bug 159695 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-01-02 02:16 0000
I'd like to edit layman. ie. I have overlay1, overlay2 & overlay 3 and make
from it overlay1, overlay3 & overlay2 without need od modification of files.

------- Comment #1 From Jakub Moc 2007-01-02 02:53:27 0000 -------
Reopen once you've clarified what are you requesting, the above is about as
clear as mud; sorry.

------- Comment #2 From uzytkownik 2007-01-02 03:10:05 0000 -------
I have, for example such overlays:
- java-experimental
- java-gcj
- gnome-experimental
- break-my-gentoo
I'd like to have break-my-gentoo before gnome-experimental in PORTDIR_OVERLAY.
- java-experimental
- java-gcj
- break-my-gentoo
- gnome-experimental
And editing by adding/deleting when you have more then few overlays is
terrible...

------- Comment #3 From Jakub Moc 2007-01-02 03:13:29 0000 -------
And the point of having one overlay before another would be exactly what?

------- Comment #4 From uzytkownik 2007-01-02 03:16:53 0000 -------
That the ebuild in one overlay is 'broken'. For example gcj overlays provides
eclipse ebuild. Other ebuilds are broken when you build it with gcj.
Portage choose newest ebuild (in terms of version noumber). When it find few
with the same noumber it choose from the last overlay.

------- Comment #5 From Gunnar Wrobel 2007-01-04 03:01:30 0000 -------
This is possible by building your own list of overlays. 

Look at the global list for layman, copy the entries you need and provide each
<overlay>...</overlay> entry with a "priority" argument (<overlay
name="java-experimental" priority=10>...</overlay>). The lowest priorities will
get sorted to the top of the list in make.conf. Overlays without a priority
will have a default value of "50".

This in combination with the possibility to use "package.mask" should allow you
to solve conflicts between overlays.

The "priority" feature in layman has not been used so far and I never
documented it. So I'll leave this bug open as a reminder for myself to add the
necessary comments in the documentation.

------- Comment #6 From uzytkownik 2007-01-04 04:14:58 0000 -------
I'd be very glad if you add as well:
- Changing piority during adding
layman -a <repository> [-p <priority>]
- Changing piority locally
layman -p <prioity> <repository>

Regards

------- Comment #7 From Gunnar Wrobel 2007-01-04 04:27:04 0000 -------
Hm, that is indeed a useful suggestion. Much better than creating a manual
overlay list. I'll add that in the next release. Thanks!

------- Comment #8 From uzytkownik 2007-01-04 05:33:08 0000 -------
I ask about something like that...

------- Comment #9 From Gunnar Wrobel 2007-01-10 08:23:22 0000 -------
The -p switch has been added for this in layman-1.0.10

First Last Prev Next    No search results available      Search page      Enter new bug