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
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
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
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
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
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
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
lxnay
de9cb17e9e
Entropy/PackageInterface:
...
- remove add_download() from fetch_file_on_mirrors()
Entropy/Equo/Spritz:
- add add_downloads() (from UGC interface) after the fetch process
Entropy/SocketHostInterface/Repository Daemon:
- add a new command that let client register all the downloaded packages at once
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2646 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-04 22:24:39 +00:00
lxnay
0c1cf96284
Entropy/UGCClientInterface:
...
- add a thread lock to serialize multithreaded requests
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2645 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-04 21:31:28 +00:00
lxnay
3396cab82a
Entropy/SystemSocketClientInterface:
...
- do not reset hostname and hostport on disconnect to make reconnect_socket() working
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2644 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-04 20:47:40 +00:00
lxnay
ee605e35d8
Entropy/SocketHostInterface/CommandProcessor:
...
- load authenticator and service interface only if needed by the command
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2643 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-04 20:18:26 +00:00
lxnay
5378b018ff
Entropy/RepoInterface/EAPI3:
...
- reworked EAPI3 sync through the repository daemon to be smarter and less intensive for the server
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2641 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-04 14:52:24 +00:00
lxnay
42d0a7798e
Entropy/SocketHostInterface/CommandProcessor:
...
- fix garbage collection
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2640 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-04 12:55:05 +00:00
lxnay
c29245ba66
Entropy/SocketHostInterface:
...
- move finish() in RequestHandler to finish_request() and close_request() in HostServer
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2639 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-04 12:53:02 +00:00
lxnay
39cf930722
Entropy/DistributionUGCInterface:
...
- setup an automatic type converter to speed up methods and reduce overhead
Entropy/SocketHostInterface:
- move connection validation to the host server class, to drop bad ones early in the pipe
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2638 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-04 12:36:59 +00:00
lxnay
cc724aae02
Entropy/SocketHostInterface:
...
- handle(): fine tune zombie processes check
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2637 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-03 22:55:47 +00:00
lxnay
6fc7c949ea
Entropy/SocketHostInterface:
...
- reduce the forked requests timeout to 15 (from 300) seconds
- export the setting to etpConst
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2636 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-03 22:48:43 +00:00
lxnay
965fbb2e83
Entropy/DistributionUGCInterface:
...
- optimize some methods
- add new search methods search_pkgkey_items(), search_content_items(), search_username_items(), search_keyword_items()
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2635 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-03 17:31:54 +00:00
lxnay
cced1db900
Entropy/python libs:
...
- goodbye old and dusted python libraries
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2633 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-03 15:34:43 +00:00
lxnay
9c5301a74f
Entropy/TriggerInterface:
...
- write more info about portage exceptions on relevant triggers
Entropy/PortageInterface:
- add two helper methods write_traceback_to_log() and write_to_log()
- fix an issue causing Portage to raise UnsupportedAPIException, doebuild()'s mysettings must contain a valid EAPI string
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2631 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-03 15:26:17 +00:00
lxnay
511a1596ab
Entropy/DistributionUGCInterface:
...
- do_download(): I am a moron
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2630 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-03 08:33:19 +00:00
lxnay
1e54b06fa8
Entropy/DistributionUGCInterface:
...
- do_download(): spawn store_download_data properly
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2629 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-02 22:05:04 +00:00
lxnay
9ae27ce874
Entropy/DistributionUGCInterface:
...
- do_download(): spawn store_download_data properly
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2628 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-02 22:04:21 +00:00
lxnay
8068a4bd10
Entropy/DistributionUGCInterface:
...
- do_download() update iddownload on insert_download()
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2627 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-02 21:52:37 +00:00
lxnay
c39d406520
Entropy/DistributionUGCInterface:
...
- store extra download information on do_download()
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2626 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-02 21:49:04 +00:00
lxnay
51e2d952f9
Entropy/SocketHostInterface:
...
- reduce session TTL by default
- add soft barrier to the simultaneous connections limit, adding random lag
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2625 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-02 20:55:36 +00:00
lxnay
909b26f44c
Entropy/DistributionUGCInterface:
...
- update user score every ugc add/removal
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2624 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-02 13:10:09 +00:00
lxnay
a1a58a6990
Entropy/SocketHostInterface:
...
- in case the authenticator raises an exception during load, close the connection and say goodbye
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2623 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-02 11:35:51 +00:00
lxnay
ea288f58ed
Entropy/SocketHostInterface:
...
- increase fork timeout to 5 minutes
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2621 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-02 11:19:34 +00:00