diff --git a/TODO b/TODO index 0db8c2a81..62cd4afd9 100644 --- a/TODO +++ b/TODO @@ -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 diff --git a/client/equo.py b/client/equo.py index 8ccccd109..14bf7e501 100644 --- a/client/equo.py +++ b/client/equo.py @@ -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) diff --git a/spritz/src/spritz.py b/spritz/src/spritz.py index 76d2051e7..8d7324531 100644 --- a/spritz/src/spritz.py +++ b/spritz/src/spritz.py @@ -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):