Commit Graph

7365 Commits

Author SHA1 Message Date
Fabio Erculiani
9e08d1029c [equo] text_rescue: remove useless code (do not access protected methods -- see next commit) 2011-01-23 16:41:03 +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
0e3d04cb96 [equo] improve error messages handling in text_rescue._database_check 2011-01-23 16:05:39 +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
b7a3b2d6e6 Tagging Entropy version 1.0_alpha8 1.0_alpha8 2011-01-17 15:29:38 +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
9f70204e37 [po] update translations (sync) 2011-01-17 14:16:38 +01:00
Fabio Erculiani
9c3ac5a850 Tagging Entropy version 1.0_alpha7 1.0_alpha7 2011-01-17 13:09:27 +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
d9be1aa2f1 [sulfur] do not use entropy.client Client protected methods, use public API instead 2011-01-16 19:07:43 +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
49edad7b7a [sulfur.packages] catch caching issues in time inside _pkg_get_masked 2011-01-06 01:46:46 +01:00
Fabio Erculiani
604e5700b4 Tagging Entropy version 1.0_alpha6 1.0_alpha6 2011-01-06 01:22:09 +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
ff6efef727 Tagging Entropy version 1.0_alpha5 1.0_alpha5 2011-01-06 00:54:07 +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
9d830abd1e [todo] update TODO 2011-01-06 00:20:14 +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
fc7c7a1ca6 [reagent] import release_entropy_locks from text_tools 2011-01-05 12:50:22 +01:00
Fabio Erculiani
6c312692f3 [reagent] fix Entropy Server resource usage
Sometimes Entropy Server instance gets loaded twice, this fixes it
in reagent. At the same time, some commands were not properly
wrapped around the acquisition of the entropy server lock.
2011-01-05 12:47:46 +01:00
Fabio Erculiani
415db83db6 Tagging Entropy version 1.0_alpha4 1.0_alpha4 2011-01-05 09:42:33 +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
cc61408125 Tagging Entropy version 1.0_alpha3 1.0_alpha3 2011-01-05 00:34:51 +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
7f5c5e0874 Tagging Entropy version 1.0_alpha2 1.0_alpha2 2011-01-03 18:55:42 +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