Commit Graph

5161 Commits

Author SHA1 Message Date
Fabio Erculiani
abd985eef2 [entropy.server] catch KeyError on match_installed_package() 2011-09-07 21:55:59 +02:00
Fabio Erculiani
bb351a9268 [entropy.spm] PortagePlugin.match_installed_package: always raise KeyError, catch new exception AmbiguousPackageName 2011-09-07 21:51:34 +02:00
Fabio Erculiani
29736231a0 Release Entropy 1.0_rc50 2011-09-07 15:19:33 +02:00
Fabio Erculiani
e38de9e06f [entropy.client.sets] fix typo in Sets.match(), don't quit the loop before having analyzed all the repos 2011-09-07 14:49:19 +02:00
Fabio Erculiani
a429a32668 [entropy.tools] uncompress_tarball: improve python3 support, still broken due to Python bug #12926 2011-09-07 12:29:34 +02:00
Fabio Erculiani
c14373c24f [entropy.client.interfaces.trigger] fix _EntropyPySandbox.run() with Python3 2011-09-07 08:51:36 +02:00
Fabio Erculiani
6c11081a21 [entropy.spm] PortagePlugin.xpak: properly use open() in ab+ mode 2011-09-07 08:34:38 +02:00
Fabio Erculiani
22ab952aa1 [entropy.const] const_setup_entropy_pid: fix pid file read when using a+ mode 2011-09-07 08:29:52 +02:00
Fabio Erculiani
f648ffd6c6 [entropy.client.interfaces.trigger] _EntropyShSandbox: make it work with Python3 2011-09-07 00:02:04 +02:00
Fabio Erculiani
9b26426e80 [entropy.db] _runConfigurationFilesUpdate: make it work with Python3 2011-09-07 00:01:29 +02:00
Fabio Erculiani
fbce5354f7 [entropy.tools] uncompress_tarball: make it work with Python3 2011-09-07 00:01:07 +02:00
Fabio Erculiani
5a11057173 [tests] use assertTrue() instead of assert_(), fix Python3 warning 2011-09-06 23:47:28 +02:00
Fabio Erculiani
02b10fd09c [tests] trivial code style update 2011-09-06 23:26:21 +02:00
Fabio Erculiani
70bc63ebf9 [entropy.client] python 3.x fixes 2011-09-06 23:26:08 +02:00
Fabio Erculiani
a54437ff13 [entropy.server] python 3.x fixes 2011-09-06 23:25:44 +02:00
Fabio Erculiani
aafd4790ed [entropy.spm] PortagePlugin: drop unused methods 2011-09-06 23:24:55 +02:00
Fabio Erculiani
4fc49d3dd9 [entropy.spm] drop unused method: remove_packages() 2011-09-06 23:22:00 +02:00
Fabio Erculiani
8364852edf [entropy.spm] drop unused methods: disable_package_compile_options, enable_package_compile_options 2011-09-06 23:18:44 +02:00
Fabio Erculiani
e2d5665843 [entropy.transceivers] ftp_plugin: update "raise" syntax 2011-09-06 22:49:01 +02:00
Fabio Erculiani
cc6ad786fb Release Entropy 1.0_rc49 2011-09-05 18:09:40 +02:00
Fabio Erculiani
5a74ee403b [entropy.client.misc] when collecting CONFIG_PROTECT* elements, also ask the Source Package Manager about it, closes bug 2480 2011-09-05 17:57:14 +02:00
Fabio Erculiani
d70ba28188 [entropy.client.misc] fix undefined reference 2011-09-05 17:49:11 +02:00
Fabio Erculiani
c536966e0a [entropy.server] _check_config_file_updates: provide a list of repository identifiers to PackageFileUpdates loader
Using CONFIG_PROTECT* information across all the repositories makes
possible to detect config files changes to be merged even if the
currently working repository (which was available through
entropy.installed_repository() used by entropy.client.misc by
default) is actually empty.
2011-09-05 17:46:24 +02:00
Fabio Erculiani
80b6849c06 [entropy.client.misc] FileUpdates: make possible to look for CONFIG_PROTECT directories across multiple repositories 2011-09-05 17:44:28 +02:00
Fabio Erculiani
f2b49cae58 [entropy.client.loaders] add entropy_repository keyword arg to PackageFileUpdates 2011-09-05 17:35:31 +02:00
Fabio Erculiani
f2ed1b6c64 [entropy.client.misc] FileUpdates: make possible to provide arbitrary EntropyRepositoryBase objects 2011-09-05 17:32:20 +02:00
Fabio Erculiani
ce0844f816 [entropy.server] make use of Entropy SPM "execute_system_qa_tests" method during repository push 2011-09-05 13:25:07 +02:00
Fabio Erculiani
13603bdce8 [entropy.spm] add new method "execute_system_qa_tests" for hooking SPM related, system-wide QA tests 2011-09-05 13:24:07 +02:00
Fabio Erculiani
8ed49f0fbf Release Entropy 1.0_rc48 2011-09-04 23:26:43 +02:00
Fabio Erculiani
eb2b068176 [entropy.client] clean_downloaded_packages: catch exception if branch_dir is not a dir
At the same time, also improve fault tolerance of get_removable_packages()
2011-09-04 10:52:55 +02:00
Fabio Erculiani
c7c207dda0 [entropy.client] inform about splitdebug feature being unsupported for direct pkg install, see Sabayon bug #2666 2011-09-04 10:35:15 +02:00
Fabio Erculiani
e9f76d96aa [entropy.client] don't use "extra download" metadata when installing package files directly, see Sabayon bug #2666 2011-09-04 10:30:21 +02:00
Fabio Erculiani
5df92bad4a [entropy.qa] trivial code update 2011-09-01 11:32:22 +02:00
Fabio Erculiani
24836e1150 [entropy.client.interfaces.dep] _get_required_packages: improve constraints on forced_matches 2011-09-01 11:25:28 +02:00
Fabio Erculiani
87b679d2e4 Release Entropy 1.0_rc47 2011-08-30 11:39:18 +02:00
Fabio Erculiani
184232f0cc [entropy.server] when adding missing dependencies, always show the committed changes 2011-08-29 23:44:08 +02:00
Fabio Erculiani
bd996b63f6 Release Entropy 1.0_rc46 2011-08-29 06:56:00 +02:00
Fabio Erculiani
d9dfe06b0a [entropy.server] make possible to properly handle expiration of extra package files. Enforce file name constraints on them. 2011-08-29 06:37:28 +02:00
Fabio Erculiani
294b1a25e4 [entropy.server] generate an "extra download" list file in order to ease mirrors cleanup when packages expire 2011-08-29 06:12:22 +02:00
Fabio Erculiani
8f9b4e2391 [entropy.db] implement support for listAllExtraDownloads() 2011-08-29 06:07:03 +02:00
Fabio Erculiani
15d9dfed58 [entropy.server.mirrors] simplify _move_files_over_from_upload, make it move all the files inside upload dir 2011-08-29 05:50:46 +02:00
Fabio Erculiani
19d8753fbf [entropy.server.mirrors] fix typo in _move_files_over_from_upload() 2011-08-28 23:52:28 +02:00
Fabio Erculiani
b2e5bc0117 Release Entropy 1.0_rc45 2011-08-28 20:17:39 +02:00
Fabio Erculiani
942bcc5e39 [entropy.server.mirrors] when moving package files from upload to local store, also consider "extra downloads" ones 2011-08-28 20:16:59 +02:00
Fabio Erculiani
cbeed45b97 [entropy.server] _package_injector: fix license check evaluation 2011-08-28 20:03:36 +02:00
Fabio Erculiani
ffc722c0ea [entropy.server] _package_injector: move extra_download file in the same packages dir as parent package 2011-08-28 20:00:06 +02:00
Fabio Erculiani
266fc224ab Release Entropy 1.0_rc44 2011-08-25 19:36:52 +02:00
Fabio Erculiani
6059629452 [entropy.spm] PortagePlugin.add_installed_package: chmod vardb entry to 755 as Portage does 2011-08-25 19:36:00 +02:00
Fabio Erculiani
949f2ab3f3 [entropy.server] add PKG_KEYWORDS variable to those exposed to metadata qa check hook 2011-08-25 18:39:04 +02:00
Fabio Erculiani
b0a2bbf4fe [entropy.server.mirrors] do not handle .asc files anymore in tidy_mirrors() 2011-08-25 09:52:42 +02:00