Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185142 - app-portage/layman-1.0.99 does not handle -p option correctly
Summary: app-portage/layman-1.0.99 does not handle -p option correctly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gunnar Wrobel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-13 00:50 UTC by René 'Necoro' Neumann
Modified: 2007-09-11 15:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description René 'Necoro' Neumann 2007-07-13 00:50:05 UTC
If I add an overlay with the -p option, it is not handled correctly in most cases.
A layman -lv always shows a priority of "50". And the priority only affects the order of the overlays if it is lower than 50.

Reproducible: Always

Steps to Reproduce:
1.layman -p75 -a $NICE_OVERLAY
2.layman -a $OTHER_OVERLAY
3.layman -a -p25 $OVERLAY_NO_3
4.layman -lv; cat /usr/portage/local/layman/make.conf
Actual Results:  
- $NICE_OVERLAY is said to have priority 50
- $OVERLAY_NO_3 is said to have priority 50
- $NICE_OVERLAY is before $OTHER_OVERLAY in /usr/portage/local/layman/make.conf
- $OVERLAY_NO_3 is before the other two (this is actually wanted, but stated here to show that only p<50 is working)

Expected Results:  
- $NICE_OVERLAY should have priority 75
- $OVERLAY_NO_3 should have priority 25
- $NICE_OVERLAY should be _after_ $OTHER_OVERLAY
Comment 1 René 'Necoro' Neumann 2007-07-13 00:53:21 UTC
forgot to mention:
I used layman-1.0.99 (do not know if other versions are affected too)
Comment 2 René 'Necoro' Neumann 2007-08-22 05:51:32 UTC
*bump* - is there any progress here?
Comment 3 Gunnar Wrobel (RETIRED) gentoo-dev 2007-09-11 15:37:03 UTC
Thanks for the note. layman-1.1 is in the tree and this should be fixed.