Commit Graph

5186 Commits

Author SHA1 Message Date
Fabio Erculiani
6a38926bd9 [entropy.qa] filter out system packages from runtime missing dependencies list, also consider direct reverse deps to catch virtual pkgs 2011-09-21 19:27:38 +02:00
Fabio Erculiani
fa69baa326 [entropy.client.interfaces.dep] get_reverse_queue: default recursive to True (False was actually a mistake) 2011-09-20 22:29:12 +02:00
Fabio Erculiani
758f65e7b8 [entropy.qa] use entropy_client.validate_package_removal() instead of direct db method isSystemPackage()
This fixes the issue with sys-libs/glibc not being an actual system
package due to virtual/libc wrapping it
2011-09-20 22:20:07 +02:00
Fabio Erculiani
606e5775be [tests] tools: make sure that function returns non-None values 2011-09-20 12:18:05 +02:00
Fabio Erculiani
bf15bd4baa [entropy.server] better deal with unavailable server.conf, make sure all the metadata is prepared anyway 2011-09-18 23:14:10 +02:00
Fabio Erculiani
895d6d7c96 [tests] db: move etpConst['keywords'] setup at the end of setUp method 2011-09-18 23:05:05 +02:00
Fabio Erculiani
bd81b92c6c [tests] db: make package files generated on amd64 work on other arches as well 2011-09-18 22:57:41 +02:00
Fabio Erculiani
15d922ff57 Revert "[tests] db: do not fail on atomMatch() due to different arch (fixes tests on ARM)"
This reverts commit 0feacbf90d.
2011-09-18 22:54:45 +02:00
Fabio Erculiani
6f48c86ab2 Revert "[tests] db: always use maskFilter=False with atomMatch()"
This reverts commit 2de803f314.
2011-09-18 22:54:29 +02:00
Fabio Erculiani
2de803f314 [tests] db: always use maskFilter=False with atomMatch() 2011-09-18 22:48:44 +02:00
Fabio Erculiani
0feacbf90d [tests] db: do not fail on atomMatch() due to different arch (fixes tests on ARM) 2011-09-18 22:42:47 +02:00
Fabio Erculiani
a089127bd5 [entropy.spm] PortagePlugin: get_package_sets(), fix typo 2011-09-18 22:18:49 +02:00
Fabio Erculiani
baf46a8e6d [entropy.spm] PortagePlugin: fix get_package_sets() with Python 2.1 2011-09-18 22:17:05 +02:00
Fabio Erculiani
9f06b4acac Release Entropy 1.0_rc53 2011-09-18 12:27:40 +02:00
Fabio Erculiani
097c6dd6ca [entropy.tools] grow _locate_edb() give up threshold from 30Mb to 60, due to app-doc/php-docs edb size 2011-09-18 12:25:58 +02:00
Fabio Erculiani
a48db3fc36 [entropy.db] EntropyRepository.dropAllIndexes: exclude sqlite_ builtin indexes 2011-09-18 12:25:22 +02:00
Fabio Erculiani
4ca7fdaa4e Release Entropy 1.0_rc52 2011-09-17 17:53:53 +02:00
Fabio Erculiani
67e2a72538 [entropy.server.mirrors] _run_package_files_qa_checks: use at most two threads 2011-09-13 12:55:16 +02:00
Fabio Erculiani
5642b26adb [entropy.const] improve ARM arch detection through uname 2011-09-12 16:55:00 +02:00
Fabio Erculiani
a3e77b9aaa Release Entropy 1.0_rc51 2011-09-11 17:09:12 +02:00
Fabio Erculiani
6135d75ce6 [entropy.server.mirrors] _run_package_files_qa_checks: use daemon threads 2011-09-10 14:27:25 +02:00
Fabio Erculiani
9250a66409 [entropy.server] drop superfluous QA check, retrieveContent() is tested in entropy.qa builtin tests already 2011-09-10 14:17:26 +02:00
Fabio Erculiani
6adb706604 [entropy.db] EntropyRepository: _listAllTable() must filter out sqlite builtin tables 2011-09-10 14:14:38 +02:00
Fabio Erculiani
0f2cd457e9 [entropy.server] _open_temp_repository: method must work with already initialized repositories as well 2011-09-10 14:13:09 +02:00
Fabio Erculiani
ec8a67f9e5 [entropy.spm] PortagePlugin: catch KeyError when needed for match_installed_package() 2011-09-07 21:59:24 +02:00
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