Commit Graph

693 Commits

Author SHA1 Message Date
Fabio Erculiani
0225582176 always use etpConst for package extensions 2009-06-09 12:09:38 +02:00
Fabio Erculiani
b83de70092 make equo using the new UGC error reporting interface 2009-05-31 18:10:38 +02:00
Fabio Erculiani
ab1296f456 equo ugc, fix small issue with UGC from equo 2009-05-31 16:35:01 +02:00
Fabio Erculiani
5b68fb38ee equo: remove beep 2009-05-31 11:16:28 +02:00
Fabio Erculiani
d5aaaf56ed fix returning data 2009-05-31 10:38:32 +02:00
Fabio Erculiani
865601888d make ugc calls synchronous 2009-05-28 17:40:21 +02:00
Fabio Erculiani
4324af788b entropy.misc.RSS: renamed camelCase methods 2009-05-28 06:35:44 +02:00
Fabio Erculiani
e69164105c entropy.misc: initial code review and cleanup, rssFeed class renamed to RSS 2009-05-28 06:22:10 +02:00
Fabio Erculiani
4610755369 entropy.client.interfaces.Client: rename methods
- _resources_run_create_lock => resources_create_lock
2009-05-28 06:03:05 +02:00
Fabio Erculiani
3f7d95f51a equo, rescue: rename _resources_run_remove_lock call into resource_remove_lock 2009-05-28 06:02:05 +02:00
Fabio Erculiani
0bc20f8ed4 entropy.client.interfaces.Client: rename methods
- _resources_run_check_lock => resources_check_lock
- _resources_run_remove_lock => resources_remove_lock
2009-05-28 06:00:14 +02:00
Fabio Erculiani
43c2826161 equo: extract_pkg_metadata moved to entropy.spm 2009-05-27 16:19:02 +02:00
Fabio Erculiani
588765795b make "equo query belongs" able to translate given paths using the reverse symlink map 2009-05-27 11:58:10 +02:00
Fabio Erculiani
cc6f65837e make "equo query belongs" completely agnostic 2009-05-27 11:48:14 +02:00
Fabio Erculiani
6e59b7ae15 "equo query orphans" filter symlinks 2009-05-26 18:04:12 +02:00
Fabio Erculiani
6de07bc92f equo: reset cache before killing EntropyCacher 2009-05-26 10:55:00 +02:00
Fabio Erculiani
8089ba5d7a fix typo 2009-05-26 10:53:23 +02:00
Fabio Erculiani
598d3958f7 fix equo merge/remove output 2009-05-26 10:52:06 +02:00
Fabio Erculiani
2e153e632f equo, show conflicts in printed queue 2009-05-26 10:49:49 +02:00
Fabio Erculiani
290d806c36 revert interpreter to /usr/bin/python instead of python2 due to issues
with Gentoo's python2 symlink not being updated properly
2009-05-25 21:07:30 +02:00
Fabio Erculiani
94486046b6 equo: add beep at the end of commands 2009-05-20 16:39:06 +02:00
Fabio Erculiani
df14576b56 equo: add "equo upgrade" option (alias for equo world) 2009-05-16 20:40:34 +02:00
Fabio Erculiani
dd79947faa equo, smart apps generate: general code update 2009-05-15 20:00:20 +02:00
Fabio Erculiani
d412435c2a entropy.tools + smart: rename compressTarBz2 to compress_tar_bz2 and update smart app tools 2009-05-15 19:33:57 +02:00
Fabio Erculiani
f93a86208b entropy.server: implement branch flushback logic
Generally, when starting a new branch packages are not copied over
to avoid wasting disk space. So, old packages will be still pulled
in from old branch directories (under packages/). This commit adds
a function that automatically flush back old-branch packages into
the current one.
Let's say we have just bumped our repo from branch 1 to branch 2.
We have 3 packages into it that are still placed inside /packages/1.
Everything works until we decide to drop support from branch 1, in
this case, we would have to rebuild all these packages wasting a lot
of time. With "flushback" this is done automatically without touching
packages integrity.
2009-05-15 10:11:30 +02:00
Fabio Erculiani
9421572b1c equo: during install queue output generation, handle installed repo information consistently 2009-05-14 10:54:46 +02:00
Fabio Erculiani
51204fd173 entropy: remove gentoo-compat option, always enabled 2009-05-14 09:04:37 +02:00
Fabio Erculiani
77fc3e30c8 equo: code style update 2009-05-14 08:43:07 +02:00
Fabio Erculiani
567840dc3b equo: handle SystemError exceptions too 2009-05-14 08:42:11 +02:00
Fabio Erculiani
edc03066e7 equo: small code style update 2009-05-14 08:40:34 +02:00
Fabio Erculiani
77f142ce6f equo: make possible to import equo.py as module 2009-05-12 16:57:26 +02:00
Fabio Erculiani
5ec9677460 entropy.Client: rework calculate_world_updates when using ignore-spm-downgrades
So we have several nasty issues when using ignore-spm-downgrades here.
First of all, calculate_world_updates should get the setting directly from
SystemSettings instead of bugging developer asking for it.
Secondly, calculate_world_updates should return a 4D tuple, also containing
the matches ignored when ignore-spm-downgrades is enabled.
Moreover, Spritz packages.py getPackageItem featured an unused argument,
which has been dropped.

I know this commit is a bitch because we are talking about changing API
and affecting several files at once.
2009-05-12 14:44:52 +02:00
Fabio Erculiani
f7f480569b entropy server, community repos: add --deps option to repo command
This makes possibile to pull in all the dependencies of packages
selected through 'repo move/copy'.
2009-05-07 14:16:35 +02:00
Fabio Erculiani
67181d308e 'equo help' support, thanks Ian Whyman for the suggestion 2009-04-27 17:28:19 +02:00
Fabio Erculiani
2deebc2ab6 Community Repositories: make it back working.
Community Repositories support was broken due to codebase changes
and introduction of SystemSettings, which now overwrites any
overridden setting. This commit fixes all the issues and also
improves the current support.
2009-04-25 23:21:30 +02:00
Fabio Erculiani
c69f79563f equo: export 'equo database counters' to community tool for clarity 2009-04-25 22:05:27 +02:00
Fabio Erculiani
37937fb52f equo, text_query: fix search_installed_packages when packages var
is empty
2009-04-24 00:51:43 +02:00
Fabio Erculiani
0c5c9879ba entropy.client: move SystemSettings client parser to ClientSystemSettingsPlugin 2009-04-19 19:50:28 +02:00
Fabio Erculiani
4e52998840 text_ui: branchHop: adjust return error codes 2009-04-18 19:04:17 +02:00
Fabio Erculiani
515b897500 text_ui: equo hop, disable branchHop access for non-root users 2009-04-18 19:03:39 +02:00
Fabio Erculiani
78d6b98a99 equo: fix typo in equo.py, properly destroy Client instance 2009-04-18 08:17:14 +02:00
Fabio Erculiani
36537f39a0 equo: implement new command 'equo hop' which substitutes 'equo world
--upgrade <branch>'
2009-04-17 23:47:33 +02:00
Fabio Erculiani
6b7ca12957 equo: remove 'equo world --upgrade' option, will be moved to 'equo hop' 2009-04-17 16:01:31 +02:00
Fabio Erculiani
e12d40c246 equo world: do not run orphans search when running with --fetch 2009-04-17 15:44:46 +02:00
Fabio Erculiani
9bd552689e entropy: when entropy.client.interfaces.methods' reopen_client_repository
is called, make sure all the repository databases are closed
2009-04-14 23:15:12 +02:00
Fabio Erculiani
e16039af52 client.text_ui: fix shutil module usage 2009-04-08 06:25:23 +02:00
Fabio Erculiani
bf9ac1a287 entropy.*: move from etpRepositories to SystemSettings['repositories']['available'] 2009-04-06 20:35:02 +02:00
Fabio Erculiani
a29421f4d7 entropy.core.SystemSettings: there are some parsers that MUST be run
before anything else. So, split the parsing order into two.

entropy.*: move code from etpRepositoriesOrder to SystemSettings['repositories']['order']
2009-04-06 19:20:56 +02:00
Fabio Erculiani
897886f7fe entropy.const: moved all the repositories configuration settings to
SystemSettings, kept etpRepositories, etpRepositoriesOrder, etpRepositoriesExcluded
for backward compability. Did several hopefully last API changes
2009-04-06 19:00:46 +02:00
Fabio Erculiani
d807bad859 move Entropy client settings storage and parsing to SystemSettings 2009-04-05 16:32:20 +02:00