Entropy/Spritz:
- avoid to install binary packages when a queue is running Entropy/TODO: - updated TODO Entropy/Equo: - added moo option, can't tell you anything on the feature git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2282 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
TODO list
|
||||
- server-side: write a ncurses interface to manage entropy database + spm interface + GLSA
|
||||
- community repos: add repository handling on dependencies to avoid library breakages
|
||||
- External trigger: rewrite support and use bash
|
||||
- EAPI=3 make client/server using SSL, make the repository server to listen on both
|
||||
- split entropy.py into entropy package
|
||||
- make.profile support (saving profile information into the db)
|
||||
- database backup tools
|
||||
|
||||
@@ -312,6 +312,19 @@ elif (options[0] == "--info"):
|
||||
text_rescue.getinfo()
|
||||
sys.exit(0)
|
||||
|
||||
def do_moo():
|
||||
t = """ _____________
|
||||
< Entromoooo! >
|
||||
-------------
|
||||
\ ^__^
|
||||
\ (oo)\_______
|
||||
(__)\ )\/\\
|
||||
||----w |
|
||||
|| ||
|
||||
"""
|
||||
sys.stdout.write(t)
|
||||
sys.stdout.flush()
|
||||
|
||||
def readerrorstatus():
|
||||
try:
|
||||
f = open(etpConst['errorstatus'],"r")
|
||||
@@ -378,6 +391,9 @@ try:
|
||||
import text_repositories
|
||||
rc = text_repositories.repositories(options)
|
||||
|
||||
elif options[0] == "moo":
|
||||
do_moo()
|
||||
|
||||
elif options[0] in ["install","remove","world","deptest","libtest"]:
|
||||
import text_ui
|
||||
rc = text_ui.package(options)
|
||||
|
||||
@@ -53,6 +53,8 @@ class SpritzController(Controller):
|
||||
|
||||
|
||||
def __init__( self ):
|
||||
|
||||
self.isBusy = False
|
||||
self.etpbase = EntropyPackages(EquoConnection)
|
||||
# Create and ui object contains the widgets.
|
||||
ui = UI( const.GLADE_FILE , 'main', 'entropy' )
|
||||
@@ -583,6 +585,9 @@ class SpritzController(Controller):
|
||||
|
||||
def on_installPackageItem_activate(self, widget = None, fn = None):
|
||||
|
||||
if self.isBusy:
|
||||
return
|
||||
|
||||
if not fn:
|
||||
mypattern = '*'+etpConst['packagesext']
|
||||
fn = FileChooser(pattern = mypattern)
|
||||
@@ -1508,9 +1513,11 @@ class SpritzApplication(SpritzController,SpritzGUI):
|
||||
self.repoView.populate()
|
||||
|
||||
def setBusy(self):
|
||||
self.isBusy = True
|
||||
busyCursor(self.ui.main)
|
||||
|
||||
def unsetBusy(self):
|
||||
self.isBusy = False
|
||||
normalCursor(self.ui.main)
|
||||
|
||||
def addPackages(self):
|
||||
|
||||
Reference in New Issue
Block a user