Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 137975

Summary: repoman: check use.local.desc for overlays
Product: Portage Development Reporter: David Shakaryan (RETIRED) <omp>
Component: RepomanAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: enhancement CC: genstef
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 136244    

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.