Commit Graph

7365 Commits

Author SHA1 Message Date
Fabio Erculiani dd7aaaff3c entropy.client: on repository update, during db sync, catch DatabaseError exceptions too 2009-05-14 08:46:00 +02:00
Fabio Erculiani 77fc3e30c8 equo: code style update 2009-05-14 08:43:07 +02:00
Fabio Erculiani 567840dc3b equo: handle SystemError exceptions too 2009-05-14 08:42:11 +02:00
Fabio Erculiani edc03066e7 equo: small code style update 2009-05-14 08:40:34 +02:00
Fabio Erculiani e5d867d98a entropy.client: code style update 2009-05-13 12:12:56 +02:00
Fabio Erculiani 5e0d8ea04a entropy.client: only update Portage world file when install source is user 2009-05-13 12:10:22 +02:00
Fabio Erculiani 96a63525eb entropy.client: make world file and portage db handling more atomic on removal 2009-05-13 12:05:11 +02:00
Fabio Erculiani 88e4612415 entropy.client: Portage world file handling fixes
Portage world file handling was broken, causing portage to wtf all
the time. This commit fixes it for the joy of wolfden (old man).
2009-05-13 11:52:33 +02:00
Fabio Erculiani 5212c9e96d entropy.client.misc.FileUpdates: encode CONFIG_PROTECT path with fs encoding 2009-05-12 19:01:48 +02:00
Fabio Erculiani 7f8e5820f9 Spritz: fix undefined reference 0.92.3 2009-05-12 17:23:31 +02:00
Fabio Erculiani f2cc4e1d91 entropy.client: handle bogus entries on _lookup_library_breakages 2009-05-12 17:23:06 +02:00
Fabio Erculiani 55e96d0050 unit testing: add some misc test scripts 2009-05-12 16:58:47 +02:00
Fabio Erculiani 77f142ce6f equo: make possible to import equo.py as module 2009-05-12 16:57:26 +02:00
Fabio Erculiani 0e8d1c304c entropy.client: fix unreferenced variable, my fault 0.92.2 2009-05-12 16:41:05 +02:00
Fabio Erculiani 668e22889f Merge branch 'master' of git+ssh://fabio@sabayonlinux.org/home/git/projects/entropy 0.92.1 2009-05-12 14:45:27 +02:00
Fabio Erculiani 5ec9677460 entropy.Client: rework calculate_world_updates when using ignore-spm-downgrades
So we have several nasty issues when using ignore-spm-downgrades here.
First of all, calculate_world_updates should get the setting directly from
SystemSettings instead of bugging developer asking for it.
Secondly, calculate_world_updates should return a 4D tuple, also containing
the matches ignored when ignore-spm-downgrades is enabled.
Moreover, Spritz packages.py getPackageItem featured an unused argument,
which has been dropped.

I know this commit is a bitch because we are talking about changing API
and affecting several files at once.
2009-05-12 14:44:52 +02:00
Fabio Erculiani 16305fa677 Merge branch 'master' of git+ssh://fabio@sabayonlinux.org/home/git/projects/entropy 2009-05-12 14:44:17 +02:00
Fabio Erculiani d52ac2a56e Merge branch 'master' of git+ssh://fabio@sabayonlinux.org/home/git/projects/entropy 0.92 2009-05-12 14:20:30 +02:00
Fabio Erculiani 4eefede7c6 entropy.Client: rework calculate_world_updates when using ignore-spm-downgrades
So we have several nasty issues when using ignore-spm-downgrades here.
First of all, calculate_world_updates should get the setting directly from
SystemSettings instead of bugging developer asking for it.
Secondly, calculate_world_updates should return a 4D tuple, also containing
the matches ignored when ignore-spm-downgrades is enabled.
Moreover, Spritz packages.py getPackageItem featured an unused argument,
which has been dropped.

I know this commit is a bitch because we are talking about changing API
and affecting several files at once.
2009-05-12 14:14:02 +02:00
rogerc a9abb9c4a5 update Catalan translation 2009-05-11 19:47:21 +00:00
Fabio Erculiani d164da12b2 Spritz: "sort by votes" option now shows packages in reversed order 2009-05-11 09:11:55 +02:00
Fabio Erculiani 36040c6673 Spritz: when calculating installation queues, make sure to have all the packages loaded in cache 2009-05-11 08:32:25 +02:00
Fabio Erculiani dd89f993fa reagent: I suck, after years of coding, i still make SyntaxErrors 2009-05-10 17:06:40 +02:00
Fabio Erculiani ca8129af60 entropy.server.interfaces: move_packages, make supa-sure that queue
does not contain dupies
2009-05-10 17:04:41 +02:00
Fabio Erculiani c71c8f8e9c reagent: when moving/copying packages across repos, filter out argv dupies 2009-05-10 17:03:35 +02:00
Fabio Erculiani 5aa1f303dd update TODO 2009-05-10 16:34:14 +02:00
Fabio Erculiani a97e726622 entropy.transceivers: implement support for FtpInterface.get_file_md5 in FtpServerHandler
The aim is to make php handlers not always required when there is a FTP
server that supports "SITE MD5" commands (like proftpd with mod_md5).
This commit makes FtpServerHandler able to handle such feature and avoid
using any other external hook. If server support is found, this verification
is enough. If support is broken, FtpServerHandler will try to fallback to
previously supported features, if enabled (use_handlers variable).
Moreover, FtpServerHandler now makes use of entropy.tools.is_valid_md5
instead of just checking if provided strings are long 32 chars.
2009-05-10 16:29:30 +02:00
Fabio Erculiani d18be0cfec entropy.tools: new function is_valid_md5 (self explanatory) 2009-05-10 16:23:56 +02:00
Fabio Erculiani faafaa1b0c entropy.transceivers: FtpInterface add method get_file_md5.
Proftpd server with mod_md5 supports SITE MD5 <filepath> that actually
retrieves the md5 hash of the provided filepath.
This commit add support for it. The aim is trying to use SITE MD5 instead
if available instead of using crappy php hooks that in our world are called
"repository handlers".
0.91.1
2009-05-10 13:46:11 +02:00
Fabio Erculiani 1fa6d35ead update TODO 2009-05-09 21:21:39 +02:00
Fabio Erculiani 632bb073bf client updates daemon: various fixes
Repository sync are now run in parallel to avoid locking the daemon itself.
Output messages have now a timestamp header.
2009-05-09 21:18:58 +02:00
Fabio Erculiani 76d12c12a8 Entropy Notification Applet: inform user when repos are being updated 2009-05-09 21:18:32 +02:00
Fabio Erculiani 8f79c28ee6 Client updates daemon: improve updates status support.
This commit fixes the issues with updates being reported after having
already installed them.
Moreover, to improve the communication to user, a new signal "updating_signal"
is spawned before the repositories sync.
2009-05-09 20:49:37 +02:00
Fabio Erculiani 14aac4fe07 Spritz: when changing sorter, set busy X cursor 2009-05-09 17:51:03 +02:00
Fabio Erculiani 1a26bef112 Spritz: remove commented out code regarding view thread updater 2009-05-09 17:41:34 +02:00
Fabio Erculiani a18108ade3 Spritz: spritz.py, minor code style updates 2009-05-09 17:41:09 +02:00
Fabio Erculiani 89d25b66fa Spritz: when calling idle_add, make sure that the function that will be called returns False 2009-05-09 17:25:46 +02:00
Fabio Erculiani 7eb454b291 Spritz: use idle_add instead of timeout_add gobject method 2009-05-09 17:11:20 +02:00
Fabio Erculiani 635ac22196 Spritz: packages treeview, allow clickable headers and connect to sorters 2009-05-09 16:47:12 +02:00
Fabio Erculiani 981490cd42 Spritz: add more packages view sorters 2009-05-09 14:55:28 +02:00
Fabio Erculiani 24cc62af41 Spritz: EntropyPackage, add voteint property 2009-05-09 14:54:53 +02:00
Fabio Erculiani 9669e7683f entropy.server.interface: when move_packages is done, always run dependencies test 2009-05-09 13:43:10 +02:00
Fabio Erculiani f5d8f12bb2 entropy.server.interfaces: move_packages, fine tune output 2009-05-09 13:27:45 +02:00
Fabio Erculiani 6d68012f67 entropy.qa: _get_deep_dependency_list, always discard -1 in returning set 2009-05-09 13:27:20 +02:00
Fabio Erculiani 70e9eb4f7d entropy.server.interfaces: fine tune output on move_packages 2009-05-09 13:22:59 +02:00
Fabio Erculiani 4e6267b511 update TODO 2009-05-09 12:50:53 +02:00
Fabio Erculiani 0a4333886f entropy.db: rename WriteLock to __write_mutex 2009-05-09 12:49:28 +02:00
Fabio Erculiani 4fa3d968c2 update translations 0.91 2009-05-09 09:08:31 +02:00
Fabio Erculiani e443ae8821 Spritz: beautify view sorter combo box 2009-05-09 09:07:28 +02:00
Fabio Erculiani 269c258e84 update TODO 2009-05-09 00:35:20 +02:00