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
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