Commit Graph

4513 Commits

Author SHA1 Message Date
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
Fabio Erculiani d92f6d6bf4 [entropy.server,entropy.db] make EntropyRepositoryBase.readonly property private
Rename .readonly property to ._readonly and expose a setter only
where strictly required (entropy.server)
2011-01-23 23:06:21 +01:00
Fabio Erculiani a7fe6f97b8 [entropy.spm] PortagePlugin: remove unused method _extract_elog 2011-01-23 20:31:51 +01:00
Fabio Erculiani 87ca1452b8 [entropy.db] EntropyRepositoryBase: hide temporary property and provide temporary() getter 2011-01-23 18:41:57 +01:00
Fabio Erculiani 651d39d675 [entropy.db] EntropyRepository: hide indexing details as much as possible, provide public setIndexing() setter 2011-01-23 16:59:44 +01:00
Fabio Erculiani fb2acecfc3 [entropy.spm] PortagePlugin: fix undefined reference in xpaktools.read_xpak 2011-01-23 16:26:01 +01:00
Fabio Erculiani 276a7d8de7 [entropy.spm,entropy.const] move Portage-specific constants to PortagePlugin class 2011-01-23 16:24:55 +01:00
Fabio Erculiani 8153ce6520 [entropy.spm] PortagePlugin: always use unpackdir path as base dir for xpak data.
This fixes possible path escape issues by using already validated
temporary unpack directory path.
2011-01-23 16:18:10 +01:00
Fabio Erculiani d70bb7ee4d [entropy.db] move package masking logic to entropy.client.interfaces.db repository subclasses 2011-01-23 15:57:48 +01:00
Fabio Erculiani 342b48cdb4 [entropy.db] rename EntropyRepositoryBase.xcache to _caching and introduce caching()
Hide internal details regarding cache status handling. Rename
.xcache property to ._caching and provide a getter that returns
the cache setting status (caching()).
2011-01-23 13:09:03 +01:00
Fabio Erculiani 2ef784c895 Release Entropy 1.0_alpha8 2011-01-17 15:29:34 +01:00
Fabio Erculiani 28c23d1137 [entropy.client] fix regression in AvailablePackagesRepositoryUpdater 2011-01-17 15:29:08 +01:00
Fabio Erculiani 2c069a69a5 Release Entropy 1.0_alpha7 2011-01-17 13:09:16 +01:00
Fabio Erculiani 084ac6f708 [entropy.client.interfaces.dep] improve or-dependencies resolution
NOTE: this will be merged into the future Graph refactoring.
Resolve or-dependencies taking advantage of package matches requested
by caller, when available.
For example: if user is requesting xfce4-panel and nm-applet, and
the former has an or dependency like this: "gnome-panel;xfce4-panel?"
or (using the new format) "( gnome-panel | xfce4-panel )", prefer
xfce4-panel over gnome-panel.
2011-01-17 13:02:56 +01:00
Fabio Erculiani 6bdb040e0c [entropy.dep] DependencyStringParser: introduce support for preferred package matches in or-dependencies selection
NOTE: this will go into the future Graph refactoring.
When calculating or-dependencies, it is now possible to provide
a list of preferred package matches that can be used to prioritize
certain packages over others.
2011-01-17 12:51:47 +01:00
Fabio Erculiani 4f563dd9c3 [entropy.db] rename EntropyRepositoryBase "reponame" attribute to "name", keeping backward compat. 2011-01-17 00:55:24 +01:00
Fabio Erculiani 57b43a1094 [entropy.client] drop superfluous metadatum from repository metadata (repo_name) 2011-01-17 00:34:42 +01:00
Fabio Erculiani 2f8a0e13ce [entropy.server] drop superfluous metadatum from repository metadata (repo_name) 2011-01-17 00:34:16 +01:00
Fabio Erculiani d2326171a4 [entropy.db] make some order among repository identifier metadatum storage inside EntropyRepository*
reponame attribute is now storing with 100% fidelilty the repository
identifier used to instantiate the EntropyRepositoryBase instance
through open_repository() and similar.
2011-01-17 00:28:42 +01:00
Fabio Erculiani 2243d82d18 [entropy.dep] update API of expand_dependencies, make possible to match multiple repos 2011-01-16 20:01:17 +01:00
Fabio Erculiani 37f10726dc [entropy.tools] trivial code update 2011-01-16 19:48:46 +01:00
Fabio Erculiani e3da5a90a4 [entropy.db] add EntropyRepositoryBase.getInstalledPackageSource 2011-01-13 00:18:34 +01:00
Fabio Erculiani 246c976d26 [entropy.client.interfaces.package] do not resume when trying to recover from checksum mismatch 2011-01-10 23:41:33 +01:00
Fabio Erculiani f5a6e1cf03 [entropy.fetchers] handle exceeding downloaded data when using urllib
It can happen that downloaded data exceeds the size of the file
that is requested for download. In this case, resume should be
turned off and the file re-downloaded completely.
2011-01-10 23:38:33 +01:00
Fabio Erculiani 29e2aedda0 [entropy.client] trivial code style update 2011-01-08 13:46:28 +01:00
Fabio Erculiani 67ea445389 [entropy.server] fix broken uri data handling 2011-01-08 13:45:56 +01:00
Fabio Erculiani ae88cfd39e Release Entropy 1.0_alpha6 2011-01-06 01:22:06 +01:00
Fabio Erculiani b7586a95f0 [entropy.client.interfaces.package] "removeidpackage" metadatum can be unset, deal with it 2011-01-06 01:21:21 +01:00
Fabio Erculiani dc5f13d7a7 Release Entropy 1.0_alpha5 2011-01-06 00:54:03 +01:00
Fabio Erculiani 8200991a73 [entropy.client] make possible to enable/disable entropy delta package download feature via client.conf
Turn off Entropy delta packages download feature by default, needs
further testing. Make possible to enable/disable from configuration
files.
2011-01-06 00:52:12 +01:00
Fabio Erculiani e138c91085 [entropy.client.interfaces.package] use entropy.tools.is_entropy_delta_available() 2011-01-06 00:19:42 +01:00
Fabio Erculiani dc4d2dea60 [entropy.tools] add is_entropy_delta_available() function 2011-01-06 00:19:27 +01:00
Fabio Erculiani 5fd8c1d575 Release Entropy 1.0_alpha4 2011-01-05 09:42:30 +01:00
Fabio Erculiani b2a67f47a2 [entropy.tools] catch OSError exception when using subprocess.call() inside edelta functions 2011-01-05 09:23:52 +01:00
Fabio Erculiani 0e79fccfb1 Release Entropy 1.0_alpha3 2011-01-05 00:34:48 +01:00
Fabio Erculiani 2f8e1eec02 [entropy.client.interfaces.package] improve conflict removal functionality 2011-01-05 00:31:32 +01:00
Fabio Erculiani 108a19cbec [entropy.const] fix typo in constant name "etpdatabasedepblacklistfile" 2011-01-04 22:35:16 +01:00
Fabio Erculiani 63e6650b73 [entropy.server] add package sets QA feature, guarding on available sets before pushing a repo.
Through /etc/entropy/packages/packages.server.sets it's now possible
to list package sets that a repository must always expose.
A QA check has been added inside the repository sync function, in
entropy.server.interfaces.mirrors package.
Just use conf/packages/packages.server.sets.example as example
file to build your configuration.
2011-01-04 22:32:38 +01:00
Fabio Erculiani cf09a64d43 Release Entropy 1.0_alpha2 2011-01-03 18:55:38 +01:00
Fabio Erculiani da57b318b3 [entropy.qa] add some more caching to get_deep_dependency_list 2011-01-03 18:55:11 +01:00
Fabio Erculiani 6fddbec3ed [entropy.qa] correct get_deep_dependency_list() behaviour when match_repo is None, drop useless cache 2011-01-03 18:44:14 +01:00
Fabio Erculiani 5b63334988 [entropy.qa] improve unresolved sonames logic, add multi-repository support 2011-01-03 12:41:42 +01:00
Fabio Erculiani bace46744e [entropy.tools] fix read_elf_linker_paths when ${ORIGIN} is in RPATH/RUNPATH (handle this case too) 2011-01-03 12:24:15 +01:00
Fabio Erculiani 1613fb420a Release Entropy 1.0_alpha1 2011-01-02 19:45:34 +01:00
Fabio Erculiani 15675cdc1a [entropy.qa] rename "dbconn" argument of test_shared_objects to "entropy_repository" 2011-01-02 19:36:06 +01:00
Fabio Erculiani 4b47577882 [entropy.spm] PortagePlugin: add note inside _extract_pkg_metadata_provided_libs regarding metadata collection of injected packages 2011-01-02 19:30:45 +01:00
Fabio Erculiani d5028d3322 [entropy.server] add note regarding missing_runtime_dependencies_test behaviour with in-package metadata 2011-01-02 19:30:00 +01:00
Fabio Erculiani e8ecb55b6a [entropy.qa] fix regression in get_deep_dependency_list(), only add valid matches to result 2011-01-01 18:15:48 +01:00
Fabio Erculiani fc11710aa7 [entropy.server] missing_runtime_dependencies_test: add "bump packages" feature
Packages should be bumped if metadata changes, this applies to
calls coming for old packages already available in online repositories
2011-01-01 18:01:48 +01:00
Fabio Erculiani 4c37ad3e22 [entropy.qa,entropy.server] migrate missing_runtime_dependencies_test() and add missing_runtime_dependencies_test()
Migrate entropy.qa missing_runtime_dependencies_test() to multi-repository support.
Provide public API for running missing runtime dependencies verification in entropy.server,
add missing_runtime_dependencies_test()
2011-01-01 17:17:10 +01:00