Commit Graph

223 Commits

Author SHA1 Message Date
Fabio Erculiani
b0a34a77c6 [equo] text_ui: always acquire entropy lock before doing anything 2010-07-31 13:10:30 +02:00
Fabio Erculiani
5c5a6c369a [equo] when running with --pretend, disable --ask 2010-07-30 23:48:30 +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
3cf73d5fa8 [entropy.qa] resolve /usr/lib to /usr/lib64 when matching broken library file in repository 2010-07-13 14:03:35 +02:00
Fabio Erculiani
e1e76d5b28 [entropy.db] first chunk of major entropy.db code updates, create abstract class, move logic there, update API 2010-06-07 17:56:05 +02:00
Fabio Erculiani
958be35922 [equo] call EntropyRepository.generateReverseDependenciesMetadata() with verbose=False 2010-05-10 12:01:45 +02:00
Fabio Erculiani
e854555db9 [equo/reagent/activator] remove \t usage 2010-05-04 14:22:26 +02:00
Fabio Erculiani
216904c8c7 [entropy.client] fix reverse dependencies calculation in case of system packages 2010-05-03 18:26:51 +02:00
Fabio Erculiani
9bf812b0ae [equo] always show installation queue when calling "equo install" or "equo upgrade" 2010-04-21 21:26:58 +02:00
Fabio Erculiani
5b36cfc43f [equo] add ETP_NONINTERACTIVE env support for upgrade and install functions 2010-04-17 19:26:04 +02:00
Fabio Erculiani
e70a7851aa [equo] always try to generate reverse dependencies metadata when done removing (and catch OperationalError) 2010-04-13 19:32:49 +02:00
Fabio Erculiani
73621dfe39 [equo] call entropy.tools.check_required_space passing a valid directory path 2010-04-02 14:28:20 +02:00
Fabio Erculiani
7dfa627188 [equo/reagent/sulfur] use Client.shutdown() instead of Client.destroy() 2010-03-30 19:32:28 +02:00
Fabio Erculiani
c59edaffe0 [entropy.client.interfaces.methods] complete module refactoring 2010-03-23 20:46:38 +01:00
Fabio Erculiani
fd91a7ea69 [equo] when running deptest, make sure that every inverse package id reference points to a valid location 2010-03-22 11:19:03 +01:00
Fabio Erculiani
38c8f33f61 [entropy.client] more refactoring work in entropy.client.interfaces.methods 2010-03-13 22:19:44 +01:00
Fabio Erculiani
e9ae2fd188 [entropy.client] more module refactoring work 2010-03-10 07:20:52 +01:00
Fabio Erculiani
b959963c0e [entropy.client/equo] implement multifetch setting in client.conf 2010-03-03 16:13:34 +01:00
Fabio Erculiani
f510cca108 [entropy.client.interfaces.dep] complete module refactoring 2010-03-03 15:26:52 +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
18cc42a207 [equo] fix trivial issue with fetch parameters 2010-02-08 20:32:41 +01:00
Fabio Erculiani
004d1055b2 [entropy.db] EntropyRepository: rename retrieveVersionTag to retrieveTag 2010-02-04 20:24:49 +01:00
Fabio Erculiani
e585ade399 [entropy.client.interfaces.Package] cleanup hardcoded download paths, make possible to fetch a pkg to custom directory 2010-02-03 12:54:51 +01:00
Fabio Erculiani
eaabcce60e [equo] deal with broken repository entries 2010-02-03 08:45:36 +01:00
Fabio Erculiani
4492b7ea38 [equo] handle None values of input_box() too 2010-02-03 08:42:52 +01:00
Fabio Erculiani
a43e8f938d [equo] add recursive metadatum to resume cache (equo install --resume) 2010-02-02 17:56:55 +01:00
Fabio Erculiani
c001b35a2e [entropy.client] make possible to generate reverse dependencies for available packages, add recursive argument 2010-02-02 17:55:41 +01:00
Fabio Erculiani
5ede4afc4e [entropy.client] add support for recursive/non-recursive pkgs dep matching 2010-02-02 16:32:37 +01:00
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
5f18d8fb0f [entropy.const] make use of etpConst['entropyslotprefix'] 2010-01-29 14:05:09 +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
dd3e5d1b25 [equo] fix deptest output if all deps are satisfied 2010-01-23 17:40:27 +01:00
Fabio Erculiani
02837597c6 [entropy.tools] more module API rework work done 2010-01-20 12:55:04 +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
a6e41cffe5 [entropy.tools] start module refactoring and API docs merge 2010-01-14 18:35:14 +01:00
Fabio Erculiani
41212188f5 [entropy.output] rename TextInterface.askQuestion into ask_question 2010-01-11 17:59:26 +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
566e9b7796 [equo] fix install_packages return codes when user answers No to questions 2010-01-07 11:08:50 +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