Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 132740 Details for
Bug 133908
collisions in $PKGDIR/All
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
script that moves packages from the "All" directory to separate ${CATEGORY} directories
move-from-all (text/plain), 472 bytes, created by
Zac Medico
on 2007-10-06 15:17:10 UTC
(
hide
)
Description:
script that moves packages from the "All" directory to separate ${CATEGORY} directories
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2007-10-06 15:17:10 UTC
Size:
472 bytes
patch
obsolete
>#!/usr/bin/env python > >import sys, os > >def move_from_all(): > import portage > root = portage.settings["ROOT"] > bintree = portage.db[root]["bintree"] > all_directory = os.path.join(bintree.pkgdir, "All") > if not os.path.exists(all_directory): > return > for cpv in bintree.dbapi.cpv_all(): > p = bintree.getname(cpv) > if os.path.samefile(os.path.dirname(p), all_directory): > bintree._move_from_all(cpv) > os.rmdir(all_directory) > >if __name__ == "__main__": > move_from_all()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 133908
:
87708
| 132740