Commit Graph

2699 Commits

Author SHA1 Message Date
Fabio Erculiani 6e37726a99 [entropy.db] remove checkReadOnly() idiocy and handle read-only mode only on commit 2009-07-19 08:17:19 +02:00
Fabio Erculiani 8c46bf805f [entropy.db] add some more docstrings 2009-07-19 08:04:50 +02:00
Fabio Erculiani a77411a736 [entropy.db] reorganize Entropy database arch., add docstrings 2009-07-18 09:39:46 +02:00
Fabio Erculiani 6062a8d5cf [entropy.security] complete docstrings and features (API changes) 2009-07-18 08:35:34 +02:00
Fabio Erculiani bf01576876 [entropy.output] complete docstrings and features 2009-07-18 06:40:26 +02:00
Fabio Erculiani cb93aeffe0 [entropy.client.interfaces.methods] fix root path on branch upgrade/migration methods 2009-07-16 19:26:32 +02:00
Fabio Erculiani 9fbf737a12 [entropy.client.interfaces.methods] fix branch migration/upgrade script hook methods 2009-07-16 19:18:52 +02:00
Fabio Erculiani b494a943b1 [entropy.services.interfaces] print status output when entering do_handle 2009-07-16 19:02:25 +02:00
Fabio Erculiani 5f91bad9b6 [entropy.services.interfaces] add more debugging info when entering the request handler 2009-07-16 19:00:04 +02:00
Fabio Erculiani 23848ef6dc [entropy.server] add server-side support for uploading branch migration scripts 2009-07-16 18:34:42 +02:00
Fabio Erculiani 389a10e999 [entropy.services.test] add test commands module and update service script stub 2009-07-16 18:21:39 +02:00
Fabio Erculiani 3de4690fc3 [entropy.services.test] add Entropy Services test module (for tutorial and testing) 2009-07-16 17:58:18 +02:00
Fabio Erculiani 40b269c124 [entropy.client.services.ugc.commands] improve ugc_do_download_stats reliability 2009-07-16 16:20:04 +02:00
Fabio Erculiani 2727ea30cd [entropy.services.ugc.interfaces] improve transmit method 2009-07-16 16:17:19 +02:00
Fabio Erculiani d4b7140b83 [entropy.client.services.ugc.commands] improve reliability of ugc_do_download_stats 2009-07-16 16:16:31 +02:00
Fabio Erculiani 5aa92e40ee [entropy.services.interfaces] enforce rules on what is read from socket 2009-07-16 16:15:31 +02:00
Fabio Erculiani ffd0c6b4c3 [entropy.tools] add new function split_indexable_into_chunks 2009-07-16 16:14:38 +02:00
Fabio Erculiani 44ffc1d8fc [entropy.services.interfaces] fine tune watch dog 2009-07-16 14:54:17 +02:00
Fabio Erculiani fe4631e46e [entropy.services.interfaces] fix small bug with data_counter triggered by the previous commit 2009-07-16 14:35:28 +02:00
Fabio Erculiani 241190bedd [entropy.services.interfaces] enforce data reception constraints
When receiving data through the ServerHost Request Handler, make sure
that the length of data sent matches matches the lenght information
provided. Do not consider reception done until this is true. To avoid
infinite loop issues, add a watchdog timer which raises an (handled)
ValueError exception.
2009-07-16 13:03:13 +02:00
Fabio Erculiani 25ddf16b50 [entropy.services.interfaces] log instance signature too 2009-07-16 12:31:18 +02:00
Fabio Erculiani 1e16e8d1ff [entropy.services.interfaces] log more info when catching ValueError exceptions 2009-07-16 11:32:01 +02:00
Fabio Erculiani 5945636318 [entropy.services.interfaces] properly store traceback in case of ValueError exceptions 2009-07-16 10:51:52 +02:00
Fabio Erculiani 9c3c47e209 [docs] update API documentation 2009-07-16 09:23:50 +02:00
Fabio Erculiani 098bb818ae [entropy.tools] trivial changes 2009-07-16 09:03:08 +02:00
Fabio Erculiani 1bd7a3ee5f [entropy.qa] make get_missing_rdepends method "protected" 2009-07-16 08:57:05 +02:00
Fabio Erculiani 23987bdce4 [entropy.qa] move resolve_dynamic_library to entropy.tools 2009-07-16 08:55:11 +02:00
Fabio Erculiani 0c249b8d9b [entropy.qa] rename scan_missing_dependencies to test_missing_dependencies 2009-07-16 08:52:32 +02:00
Fabio Erculiani d391ec4bac [entropy.qa] rename libraries_test method to test_shared_objects 2009-07-16 08:49:51 +02:00
Fabio Erculiani 80289324cb [entropy.tools] make get_file_size working for unicode file_path strings too 2009-07-15 23:26:57 +02:00
Fabio Erculiani fc4048464e [entropy.client.interfaces.Client] tweak Client constructor init order again 2009-07-15 23:16:38 +02:00
Fabio Erculiani 5e018b5cb9 [entropy.client.interfaces.methods] no need to run world updates calculation on load_repository_database 2009-07-15 23:11:45 +02:00
Fabio Erculiani 054db055fa [entropy.client.interfaces.Client] fix Entropy Client plugin init issue
When Client class is instantiated, validate_repositories() is called
before the Entropy SystemSettings Client plugin is effectively added.
This can cause world updates calculation method to raise KeyError
exception when referencing SystemSettings client plugin metadata.
2009-07-15 23:04:58 +02:00
Fabio Erculiani def1c87cae [entropy.output] add docstrings (partial) 2009-07-15 20:13:57 +02:00
Fabio Erculiani 698d9de48c [entropy.security] add docstrings (incomplete) 2009-07-15 19:36:26 +02:00
Fabio Erculiani 9994d0dc62 [entropy.qa] add todo 2009-07-15 19:36:02 +02:00
Fabio Erculiani c8df8f2a50 [entropy.qa] complete entropy.qa docstrings 2009-07-14 13:44:33 +02:00
Fabio Erculiani 269b787d95 [entropy.spm] backup ACCEPT_LICENSE Portage setting only when setting it 2009-07-13 19:23:21 +02:00
Fabio Erculiani c13f3d1b29 [entropy.client.interfaces.methods] improve remove_repository
It happened that when a repository got removed through remove_repository
its entry in Client.validRepositories didn't get removed in time
to avoid printing a wrong error message to user.
2009-07-13 14:46:47 +02:00
Fabio Erculiani d4f4684d5f [entropy.output] fix xtermTitle 2009-07-13 13:51:41 +02:00
Fabio Erculiani aaa8f7beba [entropy.output] partially add docstrings to entropy.output 2009-07-13 13:49:45 +02:00
Fabio Erculiani 034fababe4 [entropy.client.interfaces.methods] fix wrong const_debug_write string formatting 2009-07-13 12:08:24 +02:00
Fabio Erculiani c32a0b73f7 [entropy.spm] add more comments on portage.doebuild 2009-07-13 12:06:33 +02:00
Fabio Erculiani bad861736d [entropy.spm] doebuild: fix ebuild check_license's Portage pkg_setup bug
Portage, when used through its API, doesn't seem to source all the ebuild
variables, in our case, the triggering variable was "LICENSE" which was
not set properly when calling portage.doebuild("setup"). The buggy package
is "net-wireless/broadcom-sta" which contain check_license into pkg_setup.
2009-07-13 11:27:37 +02:00
Fabio Erculiani d78a7142f7 [entropy.client.interfaces.trigger] show pkg_setup output when entropy is running in debug mode 2009-07-13 11:10:03 +02:00
Fabio Erculiani 646b7d33e6 [entropy.client.interfaces.package] force accept_license to Spm for config action too. 2009-07-12 21:54:29 +02:00
Fabio Erculiani 4472fef456 [entropy.client.interfaces.fetch] fix wrong plural string 2009-07-12 21:35:12 +02:00
Fabio Erculiani 7791be64ba [entropy.tools] add very important function to detect April 1st day 2009-07-11 09:12:07 +02:00
Fabio Erculiani e5977cc4c9 [entropy.misc] complete API documentation 2009-07-08 09:49:00 +02:00
Fabio Erculiani 2b21a6706b [entropy.misc] create docstrings for RSS class 2009-07-07 19:45:53 +02:00