Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 44585 Details for
Bug 72265
Enhancement emerge script to support all packages in select group
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Inicial patch to permit this feature
emerge.patch (text/plain), 2.38 KB, created by
INODE64 Sistemas
on 2004-11-23 10:14:20 UTC
(
hide
)
Description:
Inicial patch to permit this feature
Filename:
MIME Type:
Creator:
INODE64 Sistemas
Created:
2004-11-23 10:14:20 UTC
Size:
2.38 KB
patch
obsolete
>--- emerge.old 2004-11-18 04:20:11.000000000 +0100 >+++ emerge 2004-11-21 12:57:21.128854032 +0100 >@@ -142,7 +142,7 @@ > "clean", "config", "depclean", > "info", "inject", "metadata", > "prune", "regen", "rsync", "search", >-"sync", "system", "unmerge", "world", >+"sync", "system", "unmerge", "world", "all", > ] > options=[ > "--ask", >@@ -230,7 +230,7 @@ > print > x="--sync" > if myaction: >- if myaction not in ["system", "world"]: >+ if myaction not in ["system", "world", "all"]: > myaction="--"+myaction > print > print red("!!!")+green(" Multiple actions requested... Please choose one only.") >@@ -242,7 +242,7 @@ > print "!!! Error:",x,"is an invalid option." > sys.exit(1) > elif (not myaction) and (x in actions): >- if x not in ["system", "world"]: >+ if x not in ["system", "world", "all"]: > #print red("*** Deprecated use of action '"+x+"'") > if x=="rsync": > # "emerge rsync" >@@ -282,8 +282,8 @@ > > """ > >-if (myaction in ["world", "system"]) and myfiles: >- print "emerge: please specify a package class (\"world\" or \"system\") or individual packages, but not both." >+if (myaction in ["world", "system", "all"]) and myfiles: >+ print "emerge: please specify a package class (\"world\", \"system\" or \"all\") or individual packages, but not both." > sys.exit(1) > > for x in myfiles: >@@ -581,7 +581,7 @@ > pass > elif (not myaction) and (not myfiles): > pass >- elif ("--pretend" in myopts) and (myaction in ["world","system","clean","prune","unmerge"]): >+ elif ("--pretend" in myopts) and (myaction in ["all","world","system","clean","prune","unmerge"]): > pass > else: > if "--debug" in myopts: >@@ -623,7 +623,7 @@ > add.extend(["deep"]) > if "--selective" in myopts: > add.extend(["selective"]) >-if myaction in ["world","system"]: >+if myaction in ["world","system","all"]: > add.extend(["selective"]) > elif myaction in ["depclean"]: > add.extend(["empty"]) >@@ -801,6 +801,8 @@ > > #build our package digraph > def getlist(mode): >+ if mode=="all": >+ mylines=portage.vardbapi(portage.root).cp_all() > if mode=="system": > mylines=portage.settings.packages > elif mode=="world": >@@ -2897,7 +2899,7 @@ > sys.exit(0) > > mydepgraph=depgraph(myaction,myopts) >- if myaction in ["system","world"]: >+ if myaction in ["system","world","all"]: > print "Calculating",myaction,"dependencies ", > sys.stdout.flush() > if not mydepgraph.xcreate(myaction):
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 72265
: 44585