Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 402099 - portage should honor /etc/portage/repos.conf for overlay priority
Summary: portage should honor /etc/portage/repos.conf for overlay priority
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL: https://forums.gentoo.org/viewtopic-p...
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 402213
  Show dependency tree
 
Reported: 2012-02-03 20:58 UTC by quazgar
Modified: 2012-02-04 23:30 UTC (History)
0 users

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


Attachments
Patch to portage.repository.config (portage_config.patch,785 bytes, patch)
2012-02-03 21:00 UTC, quazgar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description quazgar 2012-02-03 20:58:05 UTC
portage-2.2.0-alpha84 does not use the priorities given in /etc/portage/repos.conf for overlays. The attached patch should fix this.

Reproducible: Always




See also the forum threads https://forums.gentoo.org/viewtopic-p-6745132.html#6745132 and https://forums.gentoo.org/viewtopic-p-6946386.html#6946386

This happens around line 300 in /usr/lib64/portage/pym/portage/repository/config.py (or whereever the file lives), where only a few other properties are taken from repos.conf.

The attached patch looks for a 'priority' option and, if this is successful, uses this value instead of the default priority.
Comment 1 quazgar 2012-02-03 21:00:26 UTC
Created attachment 300881 [details, diff]
Patch to portage.repository.config

Patch to implement the proposed behaviour
Comment 3 quazgar 2012-02-04 11:34:34 UTC
(In reply to comment #2)
> Thanks, this is in git:
> 
> http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=9ad263416ec282d8c6cf007ca84bf716c49c4f69

Thanks!
Comment 4 Zac Medico gentoo-dev 2012-02-04 23:30:36 UTC
This is fixed in 2.1.10.45 and 2.2.0_alpha85.