Commit Graph

4725 Commits

Author SHA1 Message Date
lxnay 9e750c86f9 Entropy/FtpInterface:
- raise FtpError on setCWD()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2158 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-18 12:38:15 +00:00
lxnay 52afbfb38a Entropy/Database Interface:
- fix a possible issue with atomMatch()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2157 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-18 12:31:37 +00:00
lxnay 32012d192f Entropy:
- update TODO
Entropy/Spritz:
- fix attribute call


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2155 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-16 19:13:56 +00:00
lxnay 623bc34bc6 Entropy/EAPI3 Repository Services:
- implement database setup lock file, to make client wait a little bit before giving up and switching to EAPI2


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2152 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-16 11:11:56 +00:00
lxnay 394e9b2e7f Entropy/EquoInterface:
- avoid flooding in calculate_available_packages()

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2147 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-15 18:15:51 +00:00
lxnay ccd400aa59 Entropy/Database Interface:
- fix a bug in atomMatch returning wrong data when no match is found
- make possible to bypass cache on atomMatch()
Entropy/EquoInterface:
- make atomMatch() TypeError safe on querying db's atomMatch


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2142 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-13 20:34:53 +00:00
lxnay 91319d6930 Entropy/SocketHostInterface:
- trying to make python to not leak memory

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2141 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-13 20:14:59 +00:00
lxnay 40427fec0c Entropy/FtpInterface:
- raise new exception FtpError on login issues
Entropy/exceptionTools:
- add FtpError exception class
Entropy/SocketHostInterface:
- spawn every command call in a different process to avoid Python to eat memory like cookies (and get fat like a pig)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2140 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-13 19:48:55 +00:00
lxnay 583e8db155 tagging entropy 0.15.22
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2139 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-13 15:46:18 +00:00
lxnay b54cd32a3a Entropy/Socket Interface:
- add garbage collection thread which calls gc.collect() every hour


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2137 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-12 18:53:00 +00:00
lxnay 87d842e0bf Entropy/dumpTools:
- fix unserialize_string()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2136 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-12 18:31:25 +00:00
lxnay d111171ad5 Entropy/Socket Interface:
- add support to zlib compression (old gzip method kept for backward compatibility)
Entropy/Repository Client Interface:
- move to zlib, which is much more reliable


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2135 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-12 18:28:39 +00:00
lxnay 8878f7b729 Entropy/dumpTools:
- add functions to serialize/unserialize from/to strings


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2134 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-12 18:27:42 +00:00
lxnay 214b159879 Entropy/Equo:
- add a way to disable downgrades triggered by injected packages (added from SPM) owning revision 9999


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2133 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-12 14:48:35 +00:00
lxnay c590fae88d Entropy/TriggerInterface:
- when running an external trigger handle its exceptions and be sure that the file is writeable and its path exists


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2131 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-11 19:05:26 +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 2356eed516 Entropy/Repository Client Socket Interface:
- also call settimeout()

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2125 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-11 11:35:15 +00:00
lxnay 43ec10c0b0 Entropy/Socket Interface:
- improve connection and transmission reliability


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2123 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-11 11:24:51 +00:00
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