Commit Graph

182 Commits

Author SHA1 Message Date
Fabio Erculiani
0cfccd4267 [entropy.conf] uniform setting keys (keeping backward compat) 2010-10-08 18:20:24 +02:00
Fabio Erculiani
7932378fd5 [equo] run python with -OO 2010-09-26 14:24:55 +02:00
Fabio Erculiani
3ec599b5fe [equo] improve error report code, make it shorter and nicer to both users and developers 2010-09-25 12:30:03 +02:00
Fabio Erculiani
c5747a91e6 [equo] handle OSError exception when ENOMEM (Cannot allocate memory) in exception handler 2010-09-21 13:10:22 +02:00
Fabio Erculiani
b8514a9c23 [equo] do not use hardcoded error numbers but rather errno module 2010-09-21 13:07:54 +02:00
Fabio Erculiani
621740f9c8 [equo] remove --nockecksum option from "equo upgrade" and "equo install". Some people are abusing it. 2010-09-14 20:05:01 +02:00
Fabio Erculiani
f9598010d1 [equo] implement developers-only feature "equo repo merge <source repos> <dest repo>"
This feature helps Entropy repository developers to simulate client
side repository status by merging packages in one repository into another.
Doing this client-side makes possible to distribute the testing effort
and avoid touching critical data server-side.
2010-09-10 23:23:05 +02:00
Fabio Erculiani
1198a24290 [entropy.*] remove "eclasses" metadata support
"eclasses" package metadata is not in use in Entropy and is too
tight with Portage. Dropping.
2010-09-04 15:26:16 +02:00
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