Commit Graph

4545 Commits

Author SHA1 Message Date
Fabio Erculiani eee86bfe3e [entropy.server] more robustness work, drop repo=None keyword arg, remove untranslated strings 2011-02-05 13:00:58 +01:00
Fabio Erculiani 6ea078c35d [entropy.client.interfaces.methods] use Spm_class() in get_package_groups() 2011-02-04 14:51:10 +01:00
Fabio Erculiani 4294b605b6 [entropy.server] some more migration and stabilization work (repo=None removal) 2011-02-04 12:13:23 +01:00
Fabio Erculiani d5d287f81d Release Entropy 1.0_alpha14 2011-02-03 22:17:02 +01:00
Fabio Erculiani 7904c02ae1 Release Entropy 1.0_alpha13 2011-02-03 21:17:44 +01:00
Fabio Erculiani 733468befd [entropy.client] fix bug in automatic conflicts resolution code causing false positives to be generated 2011-02-03 21:06:14 +01:00
Fabio Erculiani 4b1f15cd89 [entropy.server] several API change, improve code robustness by enforcing repository_id function parameter 2011-02-03 18:17:45 +01:00
Fabio Erculiani 9ff176d8dc [entropy.server] update Entropy Server startup message 2011-02-02 23:05:42 +01:00
Fabio Erculiani 1c3d64b6c6 Release Entropy 1.0_alpha12 2011-02-02 12:30:36 +01:00
Fabio Erculiani f349932ae2 [entropy.core.settings.base] fix regression in packages.db.mirrors mirrors list parsing 2011-02-02 12:30:05 +01:00
Fabio Erculiani 8e3ca00dc2 Release Entropy 1.0_alpha11 2011-02-02 01:46:54 +01:00
Fabio Erculiani 0d603fb7d5 Release Entropy 1.0_alpha10 2011-02-02 01:33:54 +01:00
Fabio Erculiani 1ed7db475b [entropy.misc] RSS: when file is not available or broken, don't touch it in the constructor 2011-02-02 01:30:49 +01:00
Fabio Erculiani e4e27b532e [entropy.output] catch UnicodeEncodeError in OutputInterface.input_box 2011-02-02 01:27:50 +01:00
Fabio Erculiani 57a3f2713e [tests] improve db.test_search test 2011-02-02 01:25:52 +01:00
Fabio Erculiani 4e08ea72d3 [entropy.db] EntropyRepository: fix regression in searchPackages(), properly deal with provide table 2011-02-02 01:24:16 +01:00
Fabio Erculiani af4ff692c0 [entropy.spm] some minor code tweaks 2011-02-01 14:37:26 +01:00
Fabio Erculiani 6a926d96c1 [entropy.server] add QA test that warns developer about unremoved packages 2011-02-01 13:32:58 +01:00
Fabio Erculiani c0a6411111 [entropy.client.interfaces.package] fix mirror_fail_check, discard is not available for list 2011-02-01 09:22:15 +01:00
Fabio Erculiani 985b35cdab [entropy.server] first chunk of refactoring and cleanup work (making repo=None argument die) 2011-01-31 23:20:58 +01:00
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