Commit Graph

4562 Commits

Author SHA1 Message Date
Fabio Erculiani 9bee5444c3 [entropy.client] do not overwrite pid file lock before having acquired the lock, open it using a+ and use truncate() 2011-02-08 13:20:33 +01:00
Fabio Erculiani f01f077b7b [entropy.const] do not overwrite pid file lock before having acquired the lock, open it using a+ and use truncate() 2011-02-08 13:19:26 +01:00
Fabio Erculiani a1671b89d1 [entropy] don't use hardcoded errno values, but rather use errno module 2011-02-07 14:25:33 +01:00
Fabio Erculiani 27076ee143 [entropy.security] catch OSError(5) on install_key when listing keys 2011-02-07 14:16:10 +01:00
Fabio Erculiani 28456b4121 [entropy.client] drop FileUpdates attribute, replace with Client.PackageFileUpdates() loader 2011-02-07 14:07:42 +01:00
Fabio Erculiani 4201ddb5d9 [entropy.client.interfaces.loaders] some more documentation 2011-02-07 13:43:11 +01:00
Fabio Erculiani c25ff59fd5 [activator] add "activator repo vacuum" tool 2011-02-07 12:23:00 +01:00
Fabio Erculiani c17ae1fad0 [entropy.spm] drop spmloglevel and spmlogfile from etpConst, force SPM log to entropylogfile (entropy.log) 2011-02-06 18:55:15 +01:00
Fabio Erculiani b809409503 [entropy.spm] PortagePlugin: log portage output to entropy.log, together with other data 2011-02-06 18:55:15 +01:00
Fabio Erculiani 8e9afc1b7a [entropy.misc] add context support to LogFile 2011-02-06 18:55:14 +01:00
Fabio Erculiani 8bf5023ef1 [entropy.server] complete refactoring, mark API as stable 2011-02-06 17:56:47 +01:00
Fabio Erculiani a62c864e71 [entropy.server] remove mixin classes, merge back into a single one 2011-02-06 17:34:56 +01:00
Fabio Erculiani 3e9d7996c0 [entropy.output] remove trailing whitespace when using print_generic(), close bug #2101 2011-02-06 15:28:37 +01:00
Fabio Erculiani 2ed7088459 [entropy.server] fix another refactoring regression 2011-02-05 19:30:42 +01:00
Fabio Erculiani a49fe5593b [entropy.server] fix undefined reference (regression) 2011-02-05 19:28:40 +01:00
Fabio Erculiani 23285e6c77 [entropy.server] out default_repository, in .repository() 2011-02-05 18:15:49 +01:00
Fabio Erculiani ab93aee68b [entropy.server] complete the robustness work on the package, completely drop repo=None from function args 2011-02-05 18:07:09 +01:00
Fabio Erculiani eee86bfe3e [entropy.server] more robustness work, drop repo=None keyword arg, remove untranslated strings 2011-02-05 13:00:58 +01:00
Fabio Erculiani 6ea078c35d [entropy.client.interfaces.methods] use Spm_class() in get_package_groups() 2011-02-04 14:51:10 +01:00
Fabio Erculiani 4294b605b6 [entropy.server] some more migration and stabilization work (repo=None removal) 2011-02-04 12:13:23 +01:00
Fabio Erculiani d5d287f81d Release Entropy 1.0_alpha14 2011-02-03 22:17:02 +01:00
Fabio Erculiani 7904c02ae1 Release Entropy 1.0_alpha13 2011-02-03 21:17:44 +01:00
Fabio Erculiani 733468befd [entropy.client] fix bug in automatic conflicts resolution code causing false positives to be generated 2011-02-03 21:06:14 +01:00
Fabio Erculiani 4b1f15cd89 [entropy.server] several API change, improve code robustness by enforcing repository_id function parameter 2011-02-03 18:17:45 +01:00
Fabio Erculiani 9ff176d8dc [entropy.server] update Entropy Server startup message 2011-02-02 23:05:42 +01:00
Fabio Erculiani 1c3d64b6c6 Release Entropy 1.0_alpha12 2011-02-02 12:30:36 +01:00
Fabio Erculiani f349932ae2 [entropy.core.settings.base] fix regression in packages.db.mirrors mirrors list parsing 2011-02-02 12:30:05 +01:00
Fabio Erculiani 8e3ca00dc2 Release Entropy 1.0_alpha11 2011-02-02 01:46:54 +01:00
Fabio Erculiani 0d603fb7d5 Release Entropy 1.0_alpha10 2011-02-02 01:33:54 +01:00
Fabio Erculiani 1ed7db475b [entropy.misc] RSS: when file is not available or broken, don't touch it in the constructor 2011-02-02 01:30:49 +01:00
Fabio Erculiani e4e27b532e [entropy.output] catch UnicodeEncodeError in OutputInterface.input_box 2011-02-02 01:27:50 +01:00
Fabio Erculiani 57a3f2713e [tests] improve db.test_search test 2011-02-02 01:25:52 +01:00
Fabio Erculiani 4e08ea72d3 [entropy.db] EntropyRepository: fix regression in searchPackages(), properly deal with provide table 2011-02-02 01:24:16 +01:00
Fabio Erculiani af4ff692c0 [entropy.spm] some minor code tweaks 2011-02-01 14:37:26 +01:00
Fabio Erculiani 6a926d96c1 [entropy.server] add QA test that warns developer about unremoved packages 2011-02-01 13:32:58 +01:00
Fabio Erculiani c0a6411111 [entropy.client.interfaces.package] fix mirror_fail_check, discard is not available for list 2011-02-01 09:22:15 +01:00
Fabio Erculiani 985b35cdab [entropy.server] first chunk of refactoring and cleanup work (making repo=None argument die) 2011-01-31 23:20:58 +01:00
Fabio Erculiani 80cc6af90b [entropy.const] remove unused Portage constants 2011-01-30 12:25:32 +01:00
Fabio Erculiani 6d0358ba87 [entropy.db] EntropyRepository.searchPackages: also return matches from provide table (old-style virtuals) 2011-01-30 11:49:38 +01:00
Fabio Erculiani 040ed38590 [entropy.dep] move helper function remove_tag_from_slot from entropy.spm to entropy.dep 2011-01-29 21:59:35 +01:00
Fabio Erculiani 98e5318207 [entropy.client] when writing to repositories.conf, split repository metadata into multiple lines 2011-01-29 18:49:35 +01:00
Fabio Erculiani 4289b50f56 [entropy.server] moving repository sync code to ServerPackagesRepositoryUpdater, partial entropy.server refactoring 2011-01-28 19:43:15 +01:00
Fabio Erculiani c4a1fc398b [entropy.const] make possible to enable entropy.server community repositories mode by setting ETP_COMMUNITY_MODE 2011-01-28 19:26:50 +01:00
Fabio Erculiani 1339af7022 [entropy.tools] minor code style update in create_md5_file 2011-01-28 18:50:45 +01:00
Fabio Erculiani e9127844a5 [entropy.db] add new method rollback() to EntropyRepositoryBase 2011-01-28 14:57:47 +01:00
Fabio Erculiani e84cfba65d [entropy.tools] when using os.rename(), only catch OSError exception where errno = EXDEV 2011-01-26 19:47:25 +01:00
Fabio Erculiani 91ba747024 [entropy.core.settings.base] optimize execution of _repositories_parser 2011-01-25 18:46:38 +01:00
Fabio Erculiani 6f25fbca7f Release Entropy 1.0_alpha9 2011-01-25 15:29:22 +01:00
Fabio Erculiani a49c4d54ca [entropy.server,entropy.client] introduce support for fallback mirrors
Fallback mirrors are those mirrors mainly used for providing packages
while other, main mirrors are still syncing. They are usually hosted
inside the same infrastructure where the repository is run and
are usually quite bandwidth constrained.
Through packages.db.fallback_mirrors file, configurable from inside
the repository database directory (server-side) it's now possible
to list these mirrors and make Entropy Client always use them with
the least priority possible.
2011-01-25 15:23:15 +01:00
Fabio Erculiani 49b7781b99 [entropy.misc] LogFile, do not set logging level if level is None, close bug #2111 2011-01-25 12:22:48 +01:00