Commit Graph

66 Commits

Author SHA1 Message Date
lxnay
8165dafa9a Entropy:
- move all the code inside the entropy package
- add compat modules outside
Entropy/Transceivers/FtpInterface:
- fix is_file_available to work on more systems


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3146 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-11 00:10:08 +00:00
lxnay
8297695411 Entropy/package:
- move entropyConstants to entropy.const (keep entropyConstants module for backward compat)
- move entropyTools to entropy.tools (keep entropyTools module for backward compat)
- move outputTools to entropy.output (keep outputTools module for backward compat)
- move dumpTools to entropy.dump (keep dumpTools for backward compat)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3140 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-10 19:15:46 +00:00
lxnay
715421089b Entropy/MELTDOWN :-):
- entropy modules is now a python package, kept backward compatibility for now


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3121 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-08 15:24:30 +00:00
lxnay
87a711fe35 Entropy/TextInterface:
- inputBox: implemented support for list input items


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3039 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-17 13:46:33 +00:00
lxnay
357b2fe754 Entropy/outputTools:
- use SystemExit instead of sys.exit()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2857 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-06 18:47:06 +00:00
lxnay
1dc14f2dca Entropy/EquoInterface:
- implement safe mode feature -> EquoInterface.safe_mode status integer, first function to use it is EquoInterface.openClientDatabase()
- openClientDatabase() make possible to start an EquoInterface instance with a corrupted/non-existant installed packages database (safe mode) which can be detected by client interfaces (Equo/Spritz)
Entropy/EntropyDatabaseInterface:
- improve branch support (and speed) for client database (installed packages db)
Entropy/rssFeed:
- make it a generic RSS handling class
Entropy/ServerInterface:
- make changes to rssFeed instances to reflect the change above
Entropy/Repository Manager:
- add support for notice boards handling
Entropy/ServerInterface:
- add support for notice boards handling
Entropy/EquoInterface:
- add support for notice boards


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2521 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-13 17:14:06 +00:00
lxnay
a7a84731c2 Entropy/outputTools:
- my_raw_input: make txt optional


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2485 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-06 18:19:03 +00:00
lxnay
50ccec54f7 Entropy/outputTools:
- do not use raw_input(), which is shit, poll stdin instead


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2477 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-06 13:54:12 +00:00
lxnay
c43a7fd38f Entropy/outputTools:
- inputBox: add support for check and combo boxes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2415 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-09-24 13:16:30 +00:00
lxnay
52a16c2f67 Entropy/outputTools:
- make readtext() plopping proper unicode strings

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2379 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-09-15 16:21:09 +00:00
lxnay
fd8ca2644c Entropy/outputTools:
- improve askQuestion maximum supported responses

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2321 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-01 17:10:42 +00:00
lxnay
d725b06fac Entropy/outputTools:
- handle EOFError on askQuestion
- fine tune readtext()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2292 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 10:56:04 +00:00
lxnay
66a51aa4ff Entropy/outputTools:
- fix typo in readtext()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2244 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-04 18:04:42 +00:00
lxnay
651b3b9efb outputTools:
- implemented generic method inputBox(), in this way we can have reimplement it depending on the frontend
- make readtext handle password submissions (no echo)
Entropy/Repository Manager:
- implement a ready to use input dialog widget in managerTools
- started to implement repository authentication (if enabled)
- reimplemented inputBox method
- added a PasswordEdit widget, a subclass of urwid.Edit for password inputs
Entropy/entropyConstants:
- add ssl_service_port, service_port and service_url information to etpConst['server_repositories'] and updated repository| syntax (backward compat btw)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2239 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-03 23:01:14 +00:00
lxnay
d21d8f6db0 Entropy/RepositoryManager:
- first bunch of code implemented, using urwid library
- application name = Enzyme
Entropy/entropyTools:
- improved parallelTask(), make it use *args and **kwargs
- fixed code accordingly
- some new functions
Entropy/outputTools:
- make shell output function faster by reducing call time


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2179 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-24 13:22:14 +00:00
lxnay
595a830774 Entropy/outputTools:
- we don't need to write 'I cannot understand', it's clear...
Entropy/PortageInterface:
- implement get_world_file() method that returns the world file path
- re-implement Portage world file management during install


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2128 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-11 15:30:56 +00:00
lxnay
3549eb6913 Entropy/outputTools:
- do not flush stdout every now and then
Entropy/Socket Interface:
- handle socket errors and timeouts in CommandProcessor.process()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2117 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-08 15:20:43 +00:00
lxnay
4d50892681 Entropy/TextInterface:
- flush stdout and stderr
Entropy/FtpInterface:
- handle EOFError on closeConnection()
Entropy/Spritz:
- add Daniel Halens to the translation team


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2109 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-04 14:29:32 +00:00
lxnay
e9a8732e94 Entropy/outputTools:
- make xtermTitle() working with UTF-8 on some terminals


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2088 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-02 22:39:36 +00:00
lxnay
a039e73a8b Entropy/outputTools:
- translate some sentences


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2065 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-01 11:49:42 +00:00
lxnay
d5f5632baa Entropy/text output:
- fix piping stdout


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2056 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-31 09:35:07 +00:00
lxnay
17539fccbb Entropy/Equo:
- fix print_menu() to work with unicode data


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2053 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-30 11:51:49 +00:00
lxnay
55b1b963d7 Entropy/i18n:
- fix unicode issues
- update TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2044 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-30 09:57:30 +00:00
lxnay
1f2ebaf41b Entropy/Server:
- move activator to activator.py
- move reagent to reagent.py
- complete i18n support for server-side applications
- update .po files


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1951 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-20 09:09:45 +00:00
lxnay
f82239c989 Entropy/Spritz:
- move i18n support to entropy, syncing with previous translations


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1947 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-19 20:12:14 +00:00
lxnay
9078801564 Equo:
- complete i18n support by reworing --help
(eventually)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1944 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-19 18:59:38 +00:00
lxnay
ce09a78379 fixing some misc stuff
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1577 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-08 14:05:46 +00:00
(no author)
3ec67bf763 move xtermTitle to setTitle so that can ben wrapped
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1347 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-29 23:31:58 +00:00
(no author)
cfb7f52811 - added blacklists for libtest
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1206 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-13 23:16:07 +00:00
(no author)
f36901c0dc fix IOError exception syntax
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1169 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-07 21:34:49 +00:00
(no author)
2201532fd9 more work on libraries_test reliability
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1155 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-06 22:04:08 +00:00
(no author)
5cdb3233e8 flush out stdout and stderr when printing stuff
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1153 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-06 21:50:30 +00:00
(no author)
05377a4399 - updated TODO
- reset cache when an exception is raised
- fixing print output

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1110 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-28 23:34:10 +00:00
(no author)
c2b2beee10 some work on the printing functions
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1108 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-28 10:56:33 +00:00
(no author)
72291948d3 - updated TODO
- updated maskingparser to handle trashing of more caches
- fixed std* piping issues


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1101 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-27 17:58:27 +00:00
(no author)
8c70e93f60 some misc bug fixes
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1098 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-27 10:51:44 +00:00
(no author)
83316915f6 improve upload speed
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1083 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-23 05:44:01 +00:00
(no author)
9b3b212bed - adding parallel_wait() to parallelTask() class to avoid obeying the max number of allowed threads
- parallelizing print calls, MAJOR IMPROVEMENT


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1080 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-23 05:17:19 +00:00
(no author)
c495fe7d6a parallelize and optimize output printing
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1079 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-22 17:50:28 +00:00
(no author)
e4879d65fa - added EquoInterface.calculate_available_packages() that lists packages available in repos but not installed
- added database function retrieveKeySlot which returns (pkgkey,slot) for the selected idpackage using only SQL (faster)
- changed output of EquoInterface.calculate_world_updates(), removed not neeed atom retrieval
- fixed other functions accordingly to the change above
- get all the Spritz Packages radio options working (you need entropy from SVN, packages queueing doesn't work yet)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1021 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-07 19:08:30 +00:00
(no author)
c3c7906e0a - totally rewritten Entropy modules and interface
the biggest commit, ever

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@982 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-03 17:48:57 +00:00
(no author)
599e63aca8 - say goodbye to equoTools, say hello to equoInterface
- adapting code to EquoInterface


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@974 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-02 00:35:02 +00:00
(no author)
db9b8cdbd7 - misc bug fixes
- moving askquestion to EquoInterface (that is gonna be renamed to EntropyInterface when done)

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@973 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-01 14:34:24 +00:00
(no author)
7c168a44ed - EquoInterface implementation improvements
- TextInterface implementation improvements
- uiTools has been shrunk in favour of EquoInterface
major rewrite at 75%

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@972 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-01 11:59:31 +00:00
(no author)
ebe5f3b0aa - some updates to spritz
- started to migrate equoTools code into Equo class


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@969 cd1c1023-2f26-0410-ae45-c471fc1f0318
2007-12-31 00:49:32 +00:00
(no author)
8f9fcc1f9d - rewritten cacheTools in a OO way
- some bug fixes
- spritz repositories sync implemented


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@968 cd1c1023-2f26-0410-ae45-c471fc1f0318
2007-12-30 19:32:24 +00:00
(no author)
8a118b7d8f - make portage_doebuild silent when etpUi['mute'] is set
- fix an issue with /lib/modules in extractPkgData that caused vmware-server to be tagged

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@922 cd1c1023-2f26-0410-ae45-c471fc1f0318
2007-12-20 14:37:23 +00:00
(no author)
1a1b663720 - added gentoo hooks to run pkg_{pre,post}{inst,rm} from ebuilds
- split unpacking action into a standalone step
- reorganized actionQueue dictionary
- bug fixes

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@918 cd1c1023-2f26-0410-ae45-c471fc1f0318
2007-12-20 03:43:26 +00:00
(no author)
46a1cda014 fixed a huge memory leak with portage+python
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@865 cd1c1023-2f26-0410-ae45-c471fc1f0318
2007-12-13 23:27:14 +00:00
(no author)
64040fdb46 code review done
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@861 cd1c1023-2f26-0410-ae45-c471fc1f0318
2007-12-13 19:37:17 +00:00