Commit Graph

1357 Commits

Author SHA1 Message Date
lxnay d26da26d14 Entropy/Socket Interface:
- handle socket exceptions in handle_end_answer()

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2122 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-11 10:43:37 +00:00
lxnay a1b3ad85ed Entropy/EntropyDatabaseInterface:
- do not touch cache when running Live


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2121 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-11 08:06:55 +00:00
lxnay 3cea9cef64 Entropy/EAPI=3:
- improve client reliability by retrying failed commands 3 times before giving up
- some cleanups


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2118 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-08 15:59:17 +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 725fd7ddda Entropy/EquoInterface:
- we don't need to recaculate available packages after treeupdates


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2116 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-08 12:28:11 +00:00
lxnay fd3abe3c40 Entropy:
- make libraries_test to skip non-files

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2114 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-07 17:19:48 +00:00
lxnay 5f1f13244c Entropy:
- make libraries_test to not skip non-executables

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2113 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-07 16:33:25 +00:00
lxnay 971720f1ef Equo:
- handle dbapi2.OperationalError: I/O issues
Entropy:
- recreate cache after having run treeupdates


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2112 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-06 22:58:22 +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 40f78d159f Entropy:
- fix reading non-ascii characters from equo.conf when filling etpConst['configprotect'] and etpConst['configprotectmask']


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2107 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-04 10:13:32 +00:00
lxnay 440cb22f0e Entropy/Socket Interface:
- some misc improvements


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2106 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-04 08:46:38 +00:00
lxnay 6901f26119 whoops
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2104 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-03 22:01:28 +00:00
lxnay af407b47f0 Entropy/Socket Interface:
- implement temporary loop check


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2103 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-03 21:33:30 +00:00
lxnay 33eb2990fb Entropy/Socket Interface:
- do not hang inside the while loop while receiving data


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2102 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-03 21:27:07 +00:00
lxnay 34a7d5ca0b Entropy/Repository Client Socket Interface:
- make convert_stream_to_object() handling IOError exceptions


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2101 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-03 17:41:55 +00:00
lxnay 09be071a37 Entropy/Spritz:
- some cosmethical updates
Entropy:
- fix a typo


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2099 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-03 17:08:28 +00:00
lxnay d09b55decd Entropy/RepoInterface:
- fix internet connection check


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2096 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-03 09:33:34 +00:00
lxnay b693a49426 Entropy/Socket Interface:
- handle TypeError when parsing args

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2093 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-03 06:54:00 +00:00
lxnay 59d1f75019 Entropy/entropyTools:
- improve writeParameterToFile() by using regexps


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2092 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-03 00:29:13 +00:00
lxnay 41fa452543 Entropy/Spritz/EquoInterface:
- fix some weirdness when reloading configuration


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2089 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-02 23:19:03 +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 71b78d3902 Entropy:
- improve addRepository() and removeRepository() to work live
Entropy/Spritz:
- implement the ability to install external binary packages


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2083 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-02 12:21:07 +00:00
lxnay 36e568f247 Entropy:
- implement a new entropyTools function to write settings to config files: writeParameterToFile()
- some misc updates


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2079 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-02 09:09:38 +00:00
lxnay c57e1a068c Entropy/Treeupdates:
- handle Spm cleanup too, some Portage versions don't remove old (moved) /var/db/pkg entries


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2078 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-01 18:00:05 +00:00
lxnay 74f54bce5c Entropy/UTF-8:
- fix entropyTools.countdown() to work with UTF-8

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2076 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-01 16:40:17 +00:00
lxnay baeffd003d Entropy/Repository Client Socket Interface:
- make the final touches


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2072 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-01 14:30:24 +00:00
lxnay c92baff59f Entropy/Repository Socket Interface:
- some misc fixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2071 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-01 14:23:46 +00:00
lxnay 0d1dda085f Entropy/Repository Socket Interface:
- implement treeupdates support
Entropy/Client Repository Socket Interface:
- implement treeupdates support


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2070 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-01 14:07:10 +00:00
lxnay ef71828ffd Entropy:
- fix bugzilla #430
- fix EquoInterface.unmask_package()
- implement live package masking/unmasking support


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2066 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-01 11:50:53 +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 56ce481646 Entropy/EquoInterface:
- add some helper functions to allow easy masked packages management (unmasking function)
- fix an issue regarding wrong SQL syntax (thanks to Jooooooooooooost)
Entropy/Spritz:
- preliminary implementation of Masked Packages management


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2062 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-31 23:19:29 +00:00
lxnay 76ff3f7025 Entropy/Database Interface:
- improve listAllPackages()
- implement a new function getStrictScopeData()
Entropy/EquoInterface:
- add get_available_packages_cache() to get the cache related to the available packages list
- add get_masked_packages_tree() to retrieve the list of masked dependencies of a package
- make generate_dependency_tree() working correctly when atomInfo is masked


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2057 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-31 09:38:16 +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 e3a119172b Entropy/EAPI3:
- fine tune socket timeout


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2048 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-30 11:24:38 +00:00
lxnay 7c974b9078 Entropy/Permissions:
- set proper permissions to the pid file
- ignore OSError exceptions on run_sync() when trying to setup database file permissions


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2046 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-30 11:08:48 +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 b73dfa03fc Entropy/Database Interface:
- make retrieveLicense() and retrieveLicensedata() more fault tolerant


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2042 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-30 09:55:43 +00:00
lxnay d8b8036e1a Entropy/exceptions:
- add QueueError exception


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2036 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-29 17:04:14 +00:00
lxnay 35ce4ae2f4 Entropy/PackageInterface:
- allow to bomb a package download from the inside by exporting urlFetcher's abort_check_func parameter


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2029 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 16:07:41 +00:00
lxnay 05921c571a Entropy/PackageInterface:
- allow to bomb a package download from the inside by exporting urlFetcher's abort_check_func parameter


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2028 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 15:54:44 +00:00
lxnay bd85b9e606 Entropy/Database Interface:
- improve listAllPackages()
- add isPackageScopeAvailable(), useful to look for reinstallable packages


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2025 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 15:34:43 +00:00
lxnay 36d7e81b15 Entropy:
- make nice level configurable in entropy.conf


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2022 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 11:26:41 +00:00
lxnay da6b27f2d0 Entropy/EntropyDatabaseInterface:
- fix setCacheSize() and setDefaultCacheSize()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2015 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 08:10:38 +00:00
lxnay a65a81fe21 Entropy/EntropyDatabaseInterface:
- fix setCacheSize() and setDefaultCacheSize()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2014 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 08:10:16 +00:00
lxnay 05ca27f55e fix openGenericDatabase() call
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2013 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 08:08:24 +00:00
lxnay f616701f9d Entropy/Socket Interface:
- save exceptions into the log file too


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2012 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 08:06:05 +00:00
lxnay abb2bc6fb9 whoops
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2011 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 07:59:51 +00:00
lxnay a25428d557 Entropy/Repository Service:
- open a database at every new command call to avoid threading exceptions from sqlite3


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2010 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 07:54:42 +00:00
lxnay 7a509729d4 Entropy/Activator:
- fix choice selection when asking to run the queue. if No, break the branches cycle and don't sync databases (if not successfull_mirrors)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2009 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 00:08:55 +00:00