Commit Graph

2664 Commits

Author SHA1 Message Date
lxnay 4b9c8956a8 Entropy/SocketInterface:
- when processing a command, make sure cmd_data (thus cmd) is valid (must be a dict)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2726 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-06 15:33:43 +00:00
lxnay c1346bea70 Entropy/dumpTools:
- getobjmtime(): fix dump_path generation


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2725 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-06 15:28:49 +00:00
lxnay b44bf5350d Entropy/DistributionUGCInterface:
- add caching infrastructure to avoid running long queries multiple times returning the same result
- set cache expiration to 1 day by default


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2724 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-06 15:03:51 +00:00
lxnay 281de8e097 Entropy/DistributionUGCInterface:
- use SQL_CACHE MySQL feature on biggest queries


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2723 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-06 11:31:40 +00:00
lxnay 9bcee6f1b6 Entropy/TODO:
- update TODO
Entropy/EquoInterface:
- avoid removal of system_mask-ed packages client-wide


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2722 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-05 22:58:46 +00:00
lxnay fa969f42ce Entropy:
- remove the use of list.sort() method in favour of sorted(list)
- implement a per-repository system packages mask, to force clients to install specified packages (like one of the slotted sys-libs/db packages for convenience), consider this an extension to system packages


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2721 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-05 21:37:18 +00:00
lxnay cac4a96482 Entropy/Activator:
- fails on wrong extended arguments


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2720 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-05 21:35:21 +00:00
lxnay 038c0761bd Entropy/Equo:
- fails on wrong extended parameters (like --as instead of --ask)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2719 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-05 21:33:49 +00:00
lxnay a5790ca9df Entropy/Equo:
- fix switchbranch help output


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2718 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-05 21:24:57 +00:00
lxnay 0bcc693bfc Entropy/EquoInterface:
- filterSatisfiedDependencies(): give up if the repo db is broken


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2717 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-04 22:23:35 +00:00
lxnay 6c3fe1e920 Entropy/Equo:
on equo world, always force deep deps
this will workaround sys-libs/db issue


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2716 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-04 22:23:03 +00:00
lxnay eb78c00601 Entropy/entropy-system-daemon:
- add default session ttl


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2715 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-04 22:22:15 +00:00
lxnay 842e4f6b5c Entropy/TODO:
- update TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2714 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-04 22:21:48 +00:00
lxnay 5854dd934c Entropy/rssFeed:
- writeChanges(): add reverse param, to avoid writing elements in the reverse order


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2713 cd1c1023-2f26-0410-ae45-c471fc1f0318
0.24.0 0.24.1
2008-12-04 13:45:42 +00:00
lxnay daddbcff2f Entropy/phpBB3AuthInterface:
- login(): check against username column and not username_clean


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2712 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-04 00:27:48 +00:00
lxnay 4e56e233c8 Entropy/DistributionUGCInterface:
- get_users_score_ranking(): reverse query results order


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2711 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-03 21:53:05 +00:00
lxnay 14990c422e Entropy/DistributionUGCInterface:
- get_users_score_ranking(): make it faster


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2710 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-03 21:44:35 +00:00
lxnay 5ccd3fc22a Entropy/DistributionUGCInterface:
- get_users_score_ranking(): fix the function, was completely broken


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2709 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-03 21:41:44 +00:00
lxnay fb8eb4a60a Entropy/DistributionUGCInterface:
- get_users_score_ranking(): return a tuple providing information about the amount of rows found


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2708 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-03 21:21:11 +00:00
lxnay 80c06f15ea Entropy/DistributionUGCInterface:
- get_users_score_ranking(): add LIMIT support to query


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2707 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-03 20:57:14 +00:00
lxnay 078544ed0d Entropy/libraries test:
- always check /usr/libexec too


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2706 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-28 22:36:54 +00:00
lxnay edbd2ea4d1 Entropy/Reagent:
- libtest: avoid to push garbage on complete

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2705 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-23 18:16:10 +00:00
lxnay 4a493bfc75 Entropy/ServerInterface:
- libraries_test: obviously colour functions can't print tuples

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2704 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-23 16:36:22 +00:00
lxnay b0d45c6ba9 Entropy/PortageInterface:
- add new method query_belongs_multiple to allow multiple files to be matched simultaneously
Entropy/ServerInterface:
- update libraries_test to use the new method above and print more info


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2703 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-23 14:43:46 +00:00
lxnay 04937064b0 Entropy/EquoInterface:
- libraries_test: add /usr/share to the directories to scan


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2702 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-23 12:57:17 +00:00
lxnay 7ace4938ce Entropy/entropyTools:
- uncompressTarBz2: fix typo

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2700 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-21 14:38:33 +00:00
lxnay 5e89bd7ce4 Entropy/entropyTools:
- improve uncompressTarBz2

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2699 cd1c1023-2f26-0410-ae45-c471fc1f0318
0.23.10
2008-11-21 09:10:20 +00:00
lxnay 2ee5b5b1cb Entropy/EntropyDatabaseInterface:
- retrieveKeySlotTag: new handy method
Entropy/EquoInterface:
- get_match_conflicts: automatically ignore matches pointing to the same package


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2698 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-19 12:47:36 +00:00
lxnay 8f585f0204 Entropy/PackageInterface:
- TriggerInterface.triggers moved from set() to list(), thus -= operator is not available


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2697 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-18 16:38:42 +00:00
lxnay 0ea1c6b088 Entropy/PackageInterface:
- __unpack_package(): handle EOFError exceptions raised by spawnFunction and hope that it's been just a fatality


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2696 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-18 13:34:26 +00:00
lxnay 63ce8ae39b Entropy/EquoInterface:
- fix Portage world file update when Entropy packages are kernel tagged

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2695 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-18 13:13:05 +00:00
lxnay 4b4e5579f3 Entropy/TODO:
- update TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2694 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-18 13:01:34 +00:00
lxnay 00123dde1e Entropy/EquoInterface/TriggerInterface:
- remove most of the internal triggers used by gentoo-compat=False, it's not the place to store this stuff


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2693 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-18 13:00:47 +00:00
lxnay 8b16995763 Entropy/Equo/equo.conf:
- remove gentoo-compat option in config file


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2692 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-18 12:49:58 +00:00
lxnay 6d166039bd Entropy/entropyConstants:
- always enable Gentoo-compat, remove ability to disable it


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2691 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-18 12:49:26 +00:00
lxnay 6b4c90f048 Entropy/EquoInterface:
- reorder args & kwargs of the Triggers method
- pass the package action to the TriggerInterface class
Entropy/PackageInterface/TriggerInterface:
- fix an issue causing nvidia drivers opengl interface to be disabled


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2690 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-18 12:14:44 +00:00
lxnay 930f39420a Entropy/Branch switching:
- on Equo, force world updates calculation to use the new branch in any case


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2689 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-15 16:09:25 +00:00
lxnay 6c4dc0cc19 Entropy/phpbb3AuthInterface:
- is_administrator(): check in all available admin groups before returning False


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2688 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-14 21:27:21 +00:00
lxnay d925788abb Entropy/Repository Manager:
- fix branch handling, convert back to str


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2687 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-13 21:08:20 +00:00
lxnay 8520fb471f Entropy/RemoteDbSkelInterface:
- add fetchall2list,fetchall2set,fetchone2set,fetchone2list methods


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2686 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-12 21:47:36 +00:00
lxnay 8880208f95 Entropy/SystemManagerExecutorServerRepositoryInterface:
- open stdout_err in a+ mode instead of aw


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2685 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-12 14:37:12 +00:00
lxnay 579a25437c Entropy/SystemManagerClientInterface:
- disable connection caching


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2684 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-12 14:17:05 +00:00
lxnay 8068a59bdf Entropy/SocketHostInterface:
- process(): fix authenticator instantation 


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2683 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-12 13:52:39 +00:00
lxnay 71ba6c3cd9 Entropy/SocketHostInterface:
- double check that authenticator is loaded before using its methods on process()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2682 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-12 13:44:53 +00:00
lxnay 5ee6873437 Entropy/EntropySocketClientCommands:
- handle Unpickling errors on convert_stream_to_object()
Entropy/SocketHostInterface:
- add optional lock for authenticators
- serialize BasicPamAuthenticator access


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2681 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-12 13:38:11 +00:00
lxnay 17c4ee1e7a Entropy/Spritz:
- InputDialog: if parent is not specified, center widget on the screen
- fine tuning other windows too

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2680 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-12 13:11:56 +00:00
lxnay 9d311cb5bd Entropy/Spritz:
- effectively split the repository manager client


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2679 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-12 12:55:02 +00:00
lxnay 37a1ca8230 Entropy/Spritz:
- make the repository manager client also a stand-alone application


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2678 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-12 12:31:42 +00:00
lxnay d68f036b3e Entropy/EntropyDatabaseInterface:
- improve thread lock code style, use the with statement
Entropy/EquoInterface:
- calculate_world_updates(): filter out tagged packages already satisfied that were erroneously pulled in


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2677 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-12 10:22:09 +00:00
lxnay 4549c16fc4 Entropy/translations:
- update translation template
- update Dutch translation
- sync others


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2676 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-12 10:13:29 +00:00