Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137975 - repoman: check use.local.desc for overlays
Summary: repoman: check use.local.desc for overlays
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 136244
  Show dependency tree
 
Reported: 2006-06-25 14:37 UTC by David Shakaryan (RETIRED)
Modified: 2006-07-02 20:47 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 David Shakaryan (RETIRED) gentoo-dev 2006-06-25 14:37:00 UTC
Currently, repoman only checks use.local.desc in the portage tree and not in overlays.

I changed line 529 of repoman (portage-2.1.1_pre-r2) from:
    mylist=portage.grabfile(portdir+"/profiles/use.local.desc")
To:
    mylist=portage.grabfile(portdir_overlay+"/profiles/use.local.desc")

This fixed it, but I was sure it would break checking portage's use.local.desc, but when I tried it with a few small tests, it worked fine. However, I'm sure a better solution would be combining the use.local.desc of both the portage tree and the overlay, but I had no idea how to do this since I don't know Python.

This issue also affects checking licenses and probably other things too.
Comment 1 Zac Medico gentoo-dev 2006-07-02 00:43:53 UTC
This is fixed in svn r3750.
Comment 2 Zac Medico gentoo-dev 2006-07-02 20:47:27 UTC
Support for licenses and arch.list are in svn r3751 and r3752, respectively.  This has been released in 2.1.1_pre2-r2.