Commit Graph

174 Commits

Author SHA1 Message Date
Fabio Erculiani
fe18e38f32 [entropy] several QA improvements and API changes (trivial, but still) 2010-07-31 15:14:54 +02:00
Fabio Erculiani
8782df8ae1 [equo] avoid race condition in try/finally in _do_text_cleanup 2010-07-31 12:57:33 +02:00
Fabio Erculiani
7cd67e4d79 [equo] when running "equo cleanup", make sure no other Entropy instances are running 2010-07-31 12:56:47 +02:00
Fabio Erculiani
c288cd80b6 [entropy.db] remove reverse dependencies SQL, generate reverse dependencies metadata dynamically (also using on-disk cache)
This avoids repository database write access requirements and
improves reverse dependencies metadata reliability.
2010-07-29 19:34:04 +02:00
Fabio Erculiani
8c7763f774 [entropy.client] move packages cache directory to /var/lib/entropy/client/packages
This allows easier NFS sharing over home networks. Previously,
paths were /var/lib/entropy/packages{-nonfree,-restricted,}.
Please note that if you want to share Entropy packages in a
larger infrastructure, it's advised to rsync the whole Entropy
mirror and serve your cache via FTP/HTTP/FILE protocols adding
the URI to repositories.conf.
2010-07-21 08:57:12 +02:00
Fabio Erculiani
bf738f21ca [equo] add "--force-system" option support to "equo remove" 2010-07-19 10:08:46 +02:00
Fabio Erculiani
bcd075d4e9 [entropy.client,entropy.const] improve entropy directory permissions handling 2010-07-15 11:21:53 +02:00
Fabio Erculiani
9dddfabb4a [entropy.client.interfaces/equo] add "equo repo mirrorsort" tool
There is a new method inside Entropy Client class, called
"reorder_mirrors". The aim is sorting repository mirrors automatically
basing on their response time and download speed of random data.
2010-06-30 15:23:03 +02:00
Fabio Erculiani
6a374ffe97 [equo] always try to kill EntropyCacher when catching an exception 2010-06-21 15:19:43 +02:00
Fabio Erculiani
bdcd37772d [equo] add new tool "equo query associate"
Given a file path (or multiple file paths) search applications able
to read mimetype belonging to it
2010-05-18 20:10:02 +02:00
Fabio Erculiani
7ae0a7eb07 [equo] add "equo repo add/remove" tools 2010-05-05 17:01:16 +02:00
Fabio Erculiani
c9790ce36a [entropy.client/equo] add "equo query mimetype" support
User can now search for packages providing a specific mimetype,
which means, telling the user what application can be used to
open his/her files.
Add two now entropy.client.interfaces.Client methods:
  - list search_installed_mimetype(string mimetype)
  - list search_available_mimetype(string mimetype)
2010-05-02 23:49:44 +02:00
Fabio Erculiani
1df71c7559 [equo] fix typo in function name, print_bashcomp 2010-04-26 11:22:31 +02:00
Fabio Erculiani
87f1531876 [equo] add support for "equo match --installed" 2010-04-16 12:08:51 +02:00
Fabio Erculiani
7af13daecb [equo] readerrorstatus: catch ValueError exception 2010-04-02 19:16:51 +02:00
Fabio Erculiani
17a3b0bb58 [equo] fix "equo help" 2010-04-02 19:12:00 +02:00
Fabio Erculiani
48f6b17df7 [activator] rename "activator database" to "activator repo" 2010-03-25 08:51:41 +01:00
Fabio Erculiani
dd7083d924 [entropy.client/equo] ease the removal of virtual packages, add --empty support to "equo remove" 2010-03-01 23:59:34 +01:00
Fabio Erculiani
c0f96e9a8a [equo] complete "equo community database" migration, rename "equo database" into "equo rescue" 2010-02-26 09:42:12 +01:00
Fabio Erculiani
97862548d1 [equo] merge "equo community database" with "equo community repo" 2010-02-26 09:34:07 +01:00
Fabio Erculiani
ec93ff7034 [equo] fix read-only fs management (was due to old exception handling code) 2010-02-10 12:07:29 +01:00
Fabio Erculiani
14b66c69c9 [equo] cleanup some code 2010-02-05 12:13:56 +01:00
Fabio Erculiani
708e8ea89d [entropy.exceptions] ditch IncorrectParameter exceptions 2010-02-04 20:14:33 +01:00
Fabio Erculiani
1de4608f65 [equo] warn user if equo/entropy version mismatch 2010-02-04 19:34:50 +01:00
Fabio Erculiani
06df34f41d [entropy.client] drop .clientDbconn in favour of installed_repository() 2010-01-30 18:37:39 +01:00
Fabio Erculiani
200a9e6efb [entropy] make use of entropy.db.exceptions classes 2010-01-29 20:46:17 +01:00
Fabio Erculiani
94bad28f78 [equo] when grabbing exception info, grab variables information in every frame 2010-01-29 13:41:50 +01:00
Fabio Erculiani
df211456ec [equo] fix "equo query revisions", only search installed packages repo 2010-01-28 20:10:28 +01:00
Fabio Erculiani
a8014a53e0 [equo] fix --help, "equo query revisions" was missing 2010-01-28 20:06:12 +01:00
Fabio Erculiani
da34b397c9 [entropy.client/equo] add build_deps argument to deps calculation functions
Also add --bdeps switch to "equo install" to make possible to install
build-time dependencies.
2010-01-28 19:09:21 +01:00
Fabio Erculiani
804a0c1d9c [equo] import os module 2010-01-28 15:47:53 +01:00
Fabio Erculiani
5630947ae0 [equo] add "equo query revisions" tool 2010-01-28 09:41:31 +01:00
Fabio Erculiani
b0216f343e [entropy.client/entropy.server] cleanup and fixes aimed to make downloads from -nonfree dir working
:: removed etpConst['packagesbindir']
:: cleaned up entropy.client.interfaces.fetch, branch argument not
   needed anymore, dropped
:: moved some minor functions to entropy.server (not required in
   entropy.client anymore)
2010-01-28 09:30:46 +01:00
Fabio Erculiani
5cdf91a699 [entropy.server] first chunk of API rework, module code reorganization 2010-01-25 20:07:55 +01:00
Fabio Erculiani
ca25e03936 [equo] add new repo tool "equo repo", making possible to enable/disable repositories via cmdline 2010-01-24 19:01:08 +01:00
Fabio Erculiani
28b86c5c5d [reagent/equo] implement full repository dependency editor 2010-01-23 02:07:30 +01:00
Fabio Erculiani
477e135134 [entropy/equo] implement bash completion (yay!), move CLI related functions to text_tools module 2010-01-12 15:52:12 +01:00
Fabio Erculiani
41212188f5 [entropy.output] rename TextInterface.askQuestion into ask_question 2010-01-11 17:59:26 +01:00
Fabio Erculiani
ccc292eba4 [entropy] ban print_info calls from entropy package, create text_tools module 2010-01-11 10:29:48 +01:00
Fabio Erculiani
44daf62842 [equo] add "equo mask" and "equo unmask" commands support 2010-01-11 09:50:47 +01:00
Fabio Erculiani
d5df42f981 [equo] fix short options support (for eg, "-qt" is not supported) 2010-01-08 16:44:54 +01:00
Fabio Erculiani
f6e00bf9c6 [equo] fix equo exception handler (traceback retrieval + threads termination) 2010-01-07 07:53:03 +01:00
Fabio Erculiani
8ffd4f1947 [equo] "equo security update", allow --force 2010-01-02 17:11:41 +01:00
Fabio Erculiani
95ce7dfdea [equo] trivial output fix 2009-12-31 17:51:20 +01:00
Fabio Erculiani
1eab5b086f [entropy.security/entropy.server] add GPG keys import/export feature 2009-12-29 21:55:07 +01:00
Fabio Erculiani
8c378ecf4a [equo] do not advertise "equo cache generate", it will be removed 2009-12-29 19:32:50 +01:00
Fabio Erculiani
f8016cc4fe [equo] equo --help something now works beautifully 2009-12-28 22:52:42 +01:00
Fabio Erculiani
c3fa1c599a [equo] properly set return code when calling server_activator module functions 2009-12-28 15:03:11 +01:00
Fabio Erculiani
03efb1383d [entropy.server] complete server-side implementation of GPG features 2009-12-28 00:18:19 +01:00
Fabio Erculiani
0fd3485aef [equo] fine tune exit statuses 2009-12-26 15:35:13 +01:00