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
Fabio Erculiani
f550665605
Entropy: move entropy.conf parsing into SystemSettings Singleton
...
class.
As announced, SystemSettings is going to host all the Entropy
global variables. With this big commit, proxy config (and the rest
of entropy.conf data) has been moved under SystemSettings['system']
2009-04-03 20:06:07 +02:00
Fabio Erculiani
86746de6de
reduce the amount of information printed by equo --help and advice
...
user to use --verbose to get the full content.
2009-04-01 20:21:27 +02:00
Fabio Erculiani
95c3a0f59f
Entropy Server and Community Repositories: make possible to specify
...
only a certain set of atoms to update through --atoms option.
Moreover, add --dbsync and --dbupdate options to the new spm pkgset
sub-tool
2009-04-01 15:03:34 +02:00
Fabio Erculiani
501f0d7667
Entropy Server and Community Repositories: add new spm sub-tool "pkgset"
...
The new pkgset sub-tool allows maintainers to compile package sets from
entropy in a easier way.
2009-04-01 12:48:27 +02:00
Fabio Erculiani
d2449e2740
equo (community repos): export spm tool from reagent
2009-04-01 12:00:58 +02:00
Fabio Erculiani
df34d1627e
client.text_ui (equo): fix grammar typo
2009-03-31 09:33:31 +02:00
Fabio Erculiani
7b3c1f1986
equo: add support for custom install source.
2009-03-31 09:32:54 +02:00
Fabio Erculiani
19937466cd
"equo source", new option --savehere
...
user can choose to download sources into CWD instead of entropy tmp
directory
2009-03-30 13:23:15 +02:00
Fabio Erculiani
7dd3f8a0ed
"equo unusedpackages" add --sortbysize parameter and logic
2009-03-29 20:17:39 +02:00
Fabio Erculiani
2590fcdd06
text_ui: code style updates and improved unusedPackagesTest
...
unusedPackagesTest now prints package size information when run without
--quiet
2009-03-29 20:10:11 +02:00
root
2b58040423
text_query.print_package_info: format homepage metadata
2009-03-29 16:01:58 +02:00
Fabio Erculiani
dee0b718ed
text_query: API changes
...
functions inside text_query are now following Python guidelines.
Update the rest of the code accordingly.
On a side effect, printPackageInfo (now print_package_info) is
now 2.5 times faster on standard print
2009-03-29 15:49:34 +02:00
Fabio Erculiani
01c6e72420
text_query: code conventions update
2009-03-29 15:20:31 +02:00
Fabio Erculiani
b7f1ae4131
text_query: code refactoring
...
text_query code was a bit outdated, unused arguments have been removed,
searchInstalled speed has been greatly improved (equo query orphans),
output usability has been improved (printPackageInfo)
2009-03-29 15:11:19 +02:00
Fabio Erculiani
b63f7590f9
equo query tool, code updates
...
remove idreturn argument from searchInstalled and add package size
information output when running with --verbose
2009-03-28 20:44:18 +01:00