Fabio Erculiani
04103d2697
[equo] remove dead code, improve orphaned packages question usability on upgrade
2010-01-31 13:13:25 +01:00
Fabio Erculiani
c0b3efac75
[equo] filter out invalid package values in _dependencies_test if broken dep is found
2010-01-31 10:09:06 +01:00
Fabio Erculiani
f987640d5a
[entropy.client] remove Client.validRepositories, provide Client.repositories()
2010-01-30 18:49:39 +01:00
Fabio Erculiani
06df34f41d
[entropy.client] drop .clientDbconn in favour of installed_repository()
2010-01-30 18:37:39 +01:00
Fabio Erculiani
545209c97f
[equo] stop using E_CLIENT in module scope
2010-01-30 17:57:51 +01:00
Fabio Erculiani
d89ceeafd9
[equo] fix xterm title
2010-01-30 09:59:01 +01:00
Fabio Erculiani
f5b016a146
[entropy.db] make EntropyRepository process-safe and thread-safe at the same time
...
This is kinda experimental but it seems to work just fine and, at the moment
there are no multithreaded accesses to EntropyRepository.
This patch makes write mutex in EntropyRepository useless because EntropyRepository
will automatically allocate new connections and cursors for every new
thread/pid coming in, avoiding to leak open files around.
SQLite3 is thread-safe when using one connection per thread, so... here it is!
2010-01-29 23:39:42 +01:00
Fabio Erculiani
200a9e6efb
[entropy] make use of entropy.db.exceptions classes
2010-01-29 20:46:17 +01:00
Fabio Erculiani
5f18d8fb0f
[entropy.const] make use of etpConst['entropyslotprefix']
2010-01-29 14:05:09 +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
477dd941e6
[equo] text_query: remove dead code
2010-01-28 20:00:03 +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
dd3e5d1b25
[equo] fix deptest output if all deps are satisfied
2010-01-23 17:40:27 +01:00
Fabio Erculiani
28b86c5c5d
[reagent/equo] implement full repository dependency editor
2010-01-23 02:07:30 +01:00
Fabio Erculiani
87033a262d
[equo] fix "equo database restore" and "equo database backup" tools
2010-01-23 00:07:54 +01:00
Fabio Erculiani
02837597c6
[entropy.tools] more module API rework work done
2010-01-20 12:55:04 +01:00
Fabio Erculiani
707ee6008f
[entropy.tools] some more module cleanup work
2010-01-18 17:24:07 +01:00
Fabio Erculiani
f6826592fb
[entropy.spm] when get_installed_package_metadata fails, raise KeyError and handle it
2010-01-17 12:19:49 +01:00
Fabio Erculiani
3a12e33e35
[equo/sulfur] do not bug user for orphaned packages not available in repos if latter don't exist
2010-01-16 20:24:11 +01:00
Fabio Erculiani
9b5aa1a2c5
[entropy.tools] more entropy.tools module cleanup work
2010-01-15 20:08:08 +01:00
Fabio Erculiani
d8c28b84a1
[entropy.tools] move backup_client_repository away from entropy.tools
2010-01-15 16:10:35 +01:00
Fabio Erculiani
897776787e
[equo] add missing imports to text_tools
2010-01-15 13:59:28 +01:00
Fabio Erculiani
a6e41cffe5
[entropy.tools] start module refactoring and API docs merge
2010-01-14 18:35:14 +01:00
Fabio Erculiani
28f64a053c
[equo] add missing import
2010-01-14 14:47:56 +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
09a51bedcd
[equo] text_query: improve search_package function usability
2010-01-12 15:51:13 +01:00
Fabio Erculiani
40f090310b
[entropy.output] rename TextInterface.inputBox into input_box
2010-01-11 18:05:47 +01:00
Fabio Erculiani
41212188f5
[entropy.output] rename TextInterface.askQuestion into ask_question
2010-01-11 17:59:26 +01:00
Fabio Erculiani
8f94c4a8b4
[entropy.output] TextInterface: rename updateProgress into output
2010-01-11 17:38:55 +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
412da7279b
[equo] split upgrade_packages function
2010-01-09 09:44:33 +01:00
Fabio Erculiani
dbf1d93fa0
[equo] some code style update
2010-01-09 09:14:28 +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
566e9b7796
[equo] fix install_packages return codes when user answers No to questions
2010-01-07 11:08:50 +01:00
Fabio Erculiani
f6e00bf9c6
[equo] fix equo exception handler (traceback retrieval + threads termination)
2010-01-07 07:53:03 +01:00
Fabio Erculiani
d63b02397b
[equo] small code style update
2010-01-05 12:06:59 +01:00
Fabio Erculiani
d3f7efd599
[equo] fix error codes handling in text_ui
2010-01-04 14:55:39 +01:00
Fabio Erculiani
7fd3254c5b
[equo] actually make tricky way to call config files update cache generation working
2010-01-04 14:25:22 +01:00
Fabio Erculiani
6d89177836
[entropy.client] move UGC information storage outside the main entropy lib
2010-01-03 23:18:41 +01:00
Fabio Erculiani
404911da87
[entropy.security] rename fetch_advisories() into sync(), add more docs and small fixes
2010-01-03 22:33:38 +01:00
Fabio Erculiani
df408c1418
[entropy.security] rename get_affected_atoms into get_affected_packages
2010-01-03 01:10:14 +01:00
Fabio Erculiani
8ffd4f1947
[equo] "equo security update", allow --force
2010-01-02 17:11:41 +01:00