Commit Graph

3141 Commits

Author SHA1 Message Date
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
lxnay
726dfcd60f Entropy/EntropySocketClientCommands:
- when socket fails on transmit, return None instead of crashing due to SSLError exceptions
Entropy/SystemSocketClientInterface:
- always ignore socket errors in disconnect(), who cares?


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2674 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-11 15:13:43 +00:00
lxnay
897573611b Entropy/Spritz:
- do not crash on getPackageItem (packages.py) when repository is not available


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2673 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-11 15:12:11 +00:00
lxnay
4fa03997dc Entropy/i18n:
- Italian translation at 100%


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2670 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-11 15:00:08 +00:00
lxnay
698df40fa2 Entropy/translations:
- update Catalan
- sync all


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2669 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-11 14:56:22 +00:00
lxnay
0c7f769254 Entropy/ServerInterface:
- switch_packages_branch(): fix typo, cur_branch can be unset if no packages are switched


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2668 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-11 14:17:17 +00:00
lxnay
1ad9e8bdfa Entropy/rssFeed:
- addItem(): add the ability to specify an arbitrary pubDate


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2667 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-10 22:46:46 +00:00
lxnay
1072777516 Entropy/DistributionUGCInterface:
- insert_flood_control_check(): check if the query returned no elements


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2666 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-10 19:31:56 +00:00
lxnay
87e8a761dd Entropy/phpBB3AuthInterface:
- update_user_id_profile(): new method, allows the update of the user profile
- get_email(): new method, retrieve logged user email
- update_password_hash(): new method, allows the update of the user password
- update_email(): new method, allows the update of the user email
- get_user_birthday(): new method, retrieve user birthday


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2665 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-10 18:28:29 +00:00
lxnay
f65e40b4fe Entropy/EntropyDatabaseInterface:
- removePackage(): remove pdb :-)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2664 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-09 19:37:53 +00:00
lxnay
cec32d320c Entropy/Community Repositories/Server-side Repositories:
- add the ability to arbitrary tag packages
Entropy:
- use entropyTools.create_package_atom_string and entropyTools.create_package_filename to create package atom and filename strings
Entropy/EquoInterface:
- atomMatch, add the ability to match packages by tag from here too


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2663 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-09 19:35:05 +00:00
lxnay
d304069ae9 Entropy/entropyTools:
- create generic functions to ease entropy package atom and filename strings creation


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2662 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-09 19:32:55 +00:00
lxnay
24b53fc0c8 Entropy/TODO:
- update TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2661 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-09 19:31:59 +00:00
lxnay
f6c7cb49e0 Entropy/EquoInterface:
- split extract_pkg_metadata(): cross fingers, needs testing
Entropy/entropyTools:
- add sum_file_sizes function


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2660 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-09 17:38:21 +00:00
lxnay
942df90788 Entropy/socket tx handling:
- handle socket.sslerror exceptions too
Entropy/FtpInterface:
- handle ftplib.error_reply on closeConnection


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2659 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-09 16:21:15 +00:00
lxnay
9d21894af9 Entropy/DistributionUGCInterface:
- add search_iddoc_item method to search available document identifiers
Entropy/RepoInterface:
- implement system make.conf sanity check
- implement automatic /etc/make.profile updates
Entropy/entropyConstants:
- add rootdir prefix to spm configuration files
Entropy/entropy.py:
- general tidy
Entropy/entropyTools:
- add function to determine if a path is sane or not (is_valid_path)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2658 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-09 16:06:20 +00:00
lxnay
eb23e61054 Entropy/DistributionUGCInterface:
- improve handle_pkgkey speed


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2657 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-07 08:56:48 +00:00
lxnay
5e13d2a76d Entropy/DistributionUGCInterface:
- get_total_downloads_count(): return int, not float


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2656 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-07 08:35:35 +00:00
lxnay
6a568bc9ed Entropy/UGC/Equo/Spritz:
- do not show the exception output when spawning UGC.add_downloads()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2655 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-06 17:30:32 +00:00
lxnay
b157373b3f Entropy/DistributionUGCInterface:
- search functions with SQL offset now return a tuple containing found data and available rows


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2653 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-06 16:58:15 +00:00
lxnay
abce4c417e Entropy/UGC/Equo/Spritz:
- do not crash when running add_downloads
- run add_downloads in background


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2652 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-06 16:15:41 +00:00
lxnay
c49855117e Entropy/Notification Applet:
- fix all the known issues related to threading => the applet now works without having to move the pointer over it
Entropy/Spritz:
- fine tune the UGC update function thread timer


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2650 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-05 15:54:34 +00:00
lxnay
efe58d408d Entropy/DistributionUGCInterface:
- _get_ugc_extra_metadata(): if key is already provided, copy to pkgkey dict key
Entropy/SocketHostInterface:
- add command length limit setting, default to 768000 bytes
- fine tune the forked requests timeout, default to 300


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2649 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-05 12:04:58 +00:00
lxnay
e9e54f00e6 Entropy/DistributionUGCInterface:
- search_keyword_items(), search_content_items(), search_username_items(): add user score to query


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2648 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-05 00:48:46 +00:00