Commit Graph

4434 Commits

Author SHA1 Message Date
Fabio Erculiani a4122850c4 [entropy.tools] update API of generate_entropy_delta() and generate_entropy_delta_file_name(), improve reliability of fetching the right file. 2010-12-11 23:01:00 +01:00
Fabio Erculiani 95d0d9139d [entropy.output] always return unicode data (when possible) out of _my_raw_input(), close bug 2006. 2010-12-10 12:43:35 +01:00
Fabio Erculiani af39de27a6 [entropy.security] Security.get_pubkey() catch GPGError in case of issues exporting pubkey, and raise KeyError 2010-12-09 21:38:42 +01:00
Fabio Erculiani 689f5dd95e [entropy.client.interfaces.package] deal with badly encoded file names in cleanup 2010-12-09 21:34:35 +01:00
Fabio Erculiani 2325d2dc82 Release Entropy 0.99.51.11 2010-12-08 16:47:56 +01:00
Fabio Erculiani ae8cc9bfcf [entropy.spm] PortagePlugin: improve speed of get_package_sets(False) as used by entropy.server 2010-12-08 16:47:17 +01:00
Fabio Erculiani 5abfc112f8 Release Entropy 0.99.51.10 2010-12-08 15:44:02 +01:00
Fabio Erculiani b3e6aeb0ea [entropy.dep] improve exploit_package_name, raise AttributeError if input validation fails 2010-12-07 21:04:11 +01:00
Fabio Erculiani f3171344fe [entropy.const] move package delta subdir name to etpConst 2010-12-07 20:14:02 +01:00
Fabio Erculiani 13258fe903 [entropy.tools] add package delta updates support function
Implement generate_entropy_delta and apply_entropy_delta functions
2010-12-04 13:09:18 +01:00
Fabio Erculiani 821eac28c2 [entropy.dep] two new handy function strip_entropy_package_extension and exploit_package_filename 2010-12-04 13:09:18 +01:00
Fabio Erculiani 91468af5d9 [entropy.exceptions] move some exception to respective modules
Create entropy.transceivers.exceptions package containing transceiver
related stuff.
Create entropy.services.exceptions package containing services
related stuff.

Break API (yay!)
2010-12-03 18:20:56 +01:00
Fabio Erculiani b08707414a [entropy.dep] fix undefined reference in expand_dependencies() 2010-12-03 17:42:17 +01:00
Fabio Erculiani d5d0f8f26b [entropy.client.interfaces.dep] catch DatabaseError exception when calling atomMatch() 2010-12-02 08:03:42 +01:00
Fabio Erculiani bd153e7b34 Release Entropy 0.99.51.4 2010-11-28 23:01:34 +01:00
Fabio Erculiani 50fa121180 [entropy.db] EntropyRepositoryBase: implement new method "setContentSafety", the opposite of "retrieveContentSafety" 2010-11-28 13:11:55 +01:00
Fabio Erculiani f30b9e6ba6 Release Entropy 0.99.51.3 2010-11-27 15:03:05 +01:00
Fabio Erculiani 49fa5e7836 Release Entropy test.0 2010-11-27 15:02:15 +01:00
Fabio Erculiani a15d12445e Release Entropy 0.99.51.2 2010-11-27 14:45:48 +01:00
Fabio Erculiani f7138f4a82 Tagging Entropy version 0.99.51.1 2010-11-27 14:35:41 +01:00
Fabio Erculiani dba41146dc [tests] make content_safety test more reliable on different platforms 2010-11-26 23:08:30 +01:00
Fabio Erculiani 0ff67b01c4 Tagging Entropy version 0.99.51 2010-11-26 20:23:38 +01:00
Fabio Erculiani c66d610c7f [tests] add content_safety metadata test 2010-11-26 14:59:25 +01:00
Fabio Erculiani 8f7a6d22eb [entropy.spm] fix bug in generating content_safety package metadata. os.path.join was used with wrong params. 2010-11-26 14:58:39 +01:00
Fabio Erculiani 9efbab85bf [entropy.tools] tarinfo.utime() is buggy and when used, it screws files mtime
The inaccuracy has been measured and is > 10 seconds. Probably a tarinfo
bug somewhere, but I don't care. There is no need to (re)set mtime on
extracted files because they already hold right and original values.
2010-11-26 14:56:41 +01:00
Fabio Erculiani f2e60e6b8f [entropy.db] small SQL coding style update 2010-11-26 14:56:00 +01:00
Fabio Erculiani f76ce71d83 [entropy.db] implement conditional dependencies support, break API on EntropyRepositoryBase 2010-11-23 21:13:41 +01:00
Fabio Erculiani 00cec97b2d [entropy.dep] add helper function expand_dependencies() 2010-11-23 21:09:39 +01:00
Fabio Erculiani 8ab1d4645e [entropy.dep] fix docstring on DependencyStringParser.parse() 2010-11-23 21:09:01 +01:00
Fabio Erculiani e4f8d6250e [entropy.spm] add Portage<->Entropy conditional dependency strings translator 2010-11-22 17:59:25 +01:00
Fabio Erculiani 13b54e938a [entropy.dep] improve code of DependencyStringParser, remove duplications 2010-11-21 16:21:48 +01:00
Fabio Erculiani 4149bbd48e [entropy.server] fix regression on repositories updates RSS files handling. 2010-11-21 16:13:59 +01:00
Fabio Erculiani 421b7cc041 [entropy.cache] add EntropyRepository.save()
save() guarantess that data is stored to disk in any case if the
disk operation completes without errors, otherwise IOError is raised.
2010-11-21 16:10:22 +01:00
Fabio Erculiani da8e1435de [entropy.dep] implement base classes for conditional dependency string evaluation 2010-11-20 17:38:50 +01:00
Fabio Erculiani 8e5623dccd [entropy.{core,client,server}] port parsers' code to new entropy.tools functions and new config files syntax (keeping backward compat). 2010-11-17 18:46:10 +01:00
Fabio Erculiani 4b8d087850 [entropy.client.interfaces.methods] do not throw _enabled_repos reference away 2010-11-17 18:45:10 +01:00
Fabio Erculiani e43a504801 [entropy.tools] several improvements to settings parsing functions 2010-11-17 16:27:30 +01:00
Fabio Erculiani a3abde2599 [entropy.client.services] catch ConnectionError exception when using check_socket_connection(), always 2010-11-17 16:26:50 +01:00
Fabio Erculiani 57f6a4a1d2 [entropy.tools] port write_parameter_to_file to new configuration files syntax 2010-11-17 11:15:12 +01:00
Fabio Erculiani 126820a68b [entropy.core] fix regression in configuration file parsing (repositories.conf).
Parse product and branch before any other parameter.
2010-11-17 08:38:20 +01:00
Fabio Erculiani d81980027a [entropy.*] rewrite configuration files parsing, make it more flexible and faster (and add key=value support) 2010-11-16 23:21:25 +01:00
Fabio Erculiani 6c1d8c40e2 [entropy.tools] tweaks inside extract_setting 2010-11-16 23:20:38 +01:00
Fabio Erculiani f69d65f49e [entropy.tools] add some configuration file parsing functions that will be used around the entropy library 2010-11-16 22:07:23 +01:00
Fabio Erculiani b110f2df32 [entropy.server] remove repository remote download lock creation when uploading a new repository
The only case where repository is locked now, is in case of upload failure,
to try to protect users from downloading data in inconsistent state.
This last one cannot be atomic since it involves more files, but this way
should prevent most of the annoyances.
2010-11-13 14:43:02 +01:00
Fabio Erculiani 816bc45acb [entropy.client.interfaces.db] remove repository lock thread check, server-side repository updates have been made atomic long time ago 2010-11-13 14:28:05 +01:00
Fabio Erculiani 75a00e6e5b [entropy.services] code style update 2010-11-13 14:22:43 +01:00
Fabio Erculiani 9c64ff9dbd Tagging Entropy version 0.99.50.16 2010-11-12 07:05:57 +01:00
Fabio Erculiani dcbe7ff975 [entropy.db] catch OSError exceptions in EntropyRepository.importRepository, when instantiating Popen() 2010-11-12 06:45:37 +01:00
Fabio Erculiani 898eec10ac [entropy.client.services.ugc] make set_gzip_compression more fault tolerant in regards to socket errors 2010-11-12 06:39:33 +01:00
Fabio Erculiani 43f573cd9a [entropy.services.repository] fix MasterSlaveLock usage in EAPI3 service library class 2010-11-12 06:23:20 +01:00