Commit Graph

111 Commits

Author SHA1 Message Date
Fabio Erculiani 7888475850 [entropy.db] EntropyRepository: rename validateDatabase() to validate(), deprecate validateDatabase() 2010-08-08 11:06:29 +02:00
Fabio Erculiani 291cf97f02 [equo] handle OperationalError exceptions on listAllPackageIds() in text_rescue._database_check() 2010-08-08 10:37:42 +02:00
Fabio Erculiani 0f42721e43 [equo] text_rescue: acquire Entropy locks when needed 2010-08-01 01:16:20 +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 5bab482ed9 [equo] avoid race condition when calling Client.shutdown() in finally context 2010-07-21 18:13:18 +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 9c6782e21c [entropy.client.interfaces.repository] major Repository class rework
:: move repository update logic inside EntropyRepositoryBase.update()
   static method
:: provide two new static methods EntropyRepositoryBase.revision()
   and EntropyRepositoryBase.remote_revision() that have to be
   implemented by subclasses if they are supporting fetching local
   or remote revision.
:: several minor code quality improvements
2010-06-26 19:15:02 +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 37fb97de01 [entropy*] kill SystemSettings attribute of Entropy Client and Entropy Server instances 2010-04-14 14:56:17 +02:00
Fabio Erculiani ff2eb4f444 [entropy.output/API] rename "type" argument of TextInterface.output to "level" 2010-04-14 14:30:51 +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 0fafa52dbc [entropy.client] more refactoring work in entropy.client.interfaces.methods 2010-03-14 15:54:41 +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 611ee32670 [entropy.client/entropy.server] make Entropy Server interface a subclass of Entropy Client 2010-03-07 22:17:07 +01:00
Fabio Erculiani 91e49c96b6 [entropy.db] API change, methods names polishing 2010-02-01 14:50:12 +01:00
Fabio Erculiani 1f7a6cc5e2 [equo] fix regression coming from Client.installed_repository() function introduction 2010-02-01 12:47:14 +01:00
Fabio Erculiani 06df34f41d [entropy.client] drop .clientDbconn in favour of installed_repository() 2010-01-30 18:37:39 +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 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 f6826592fb [entropy.spm] when get_installed_package_metadata fails, raise KeyError and handle it 2010-01-17 12:19:49 +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 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 e57b064121 [entropy*] big caching routines cleanup, drop old and duplicated code 2010-01-02 15:00:27 +01:00
Fabio Erculiani f8c1b987da [equo] ETP_LOGLEVEL_NORMAL is not available anymore 2009-12-29 19:38:36 +01:00
Fabio Erculiani 8046b29491 [entropy*] several updates, etpCache removal, code cleanup, API changes 2009-12-29 19:36:32 +01:00
Fabio Erculiani f9f3d4c729 [entropy.*] reorganize etpCache (remove/move stuff in respective classes) drop old vars from entropy.const 2009-12-28 07:58:19 +01:00
Fabio Erculiani fb9f180f8c [equo] some more code cleanup and polishing 2009-12-23 21:51:47 +01:00
Fabio Erculiani 1597ea2fc4 [equo] some more code cleanup and polishing 2009-12-22 20:29:08 +01:00
Fabio Erculiani 1aedb9fafb [entropy*] several code cleanup, tweakings and small API changes/polishing 2009-12-22 17:02:50 +01:00
Fabio Erculiani 7309d1446d [entropy*] move sabayonlinux.org domain info to sabayon.org, move more distro specific info to entropy.const 2009-12-21 23:50:31 +01:00
Fabio Erculiani 32230aee42 [entropy] add support for build dependencies, entropy will now store them in repos (future task: make possible to install build deps too) 2009-12-20 22:32:28 +01:00
Fabio Erculiani 8638002785 [equo] fix "equo --info" 2009-12-01 23:22:28 +01:00
Fabio Erculiani 291a7c85cb [entropy.db] move more server/client-side stuff away from EntropyRepository 2009-11-09 18:39:37 +01:00
Fabio Erculiani 1ae46d6a49 [equo] fix xpak libs usage 2009-11-05 22:58:05 +01:00
Fabio Erculiani 11f798c23c [entropy.client] remove get_repository_db_file_checksum, not used anymore 2009-10-10 23:22:28 +02:00
Fabio Erculiani 33c005e668 [entropy] fix common idioms 2009-10-05 14:08:34 +02:00
Fabio Erculiani e452421c7f [entropy] fix whitespace after comma 2009-10-05 14:05:32 +02:00
Fabio Erculiani e126f38290 [equo] improve code, make it more Python 3.x ready 2009-10-03 21:50:31 +02:00
Fabio Erculiani 7270556303 [equo] remove unused import 2009-10-01 18:33:11 +02:00
Fabio Erculiani 71825e9c76 [entropy] migrate codebase to Python 2.6 only syntax 2009-09-30 19:53:47 +02:00
Fabio Erculiani 2a7db1965a [entropy] fix OutputInterface.askQuestion answers handling 2009-09-26 09:18:23 +02:00
Fabio Erculiani 128cdda2b8 [entropy.db] drop getIDPackage (not completely reliable) in favour of getIDPackages 2009-09-20 18:15:58 +02:00
Fabio Erculiani 2fc1a5980f [equo] fix package files header 2009-09-20 14:44:41 +02:00
Fabio Erculiani 0367348e94 [equo] remove python-updater tool, not needed anymore 2009-09-19 20:16:48 +02:00
Fabio Erculiani 0cb23ae084 [equo] fix "equo database check" 2009-09-10 15:10:34 +02:00
Fabio Erculiani c0d9b5e6f4 [entropy.core] Split entropy.core, introduce generic plugin loader
:: split entropy.core and move SystemSettings stuff to
   entropy.core.settings (and prepare external plugin support)
:: add EntropyPluginFactory generic class to entropy.core that
   will be used Entropy-wide to load external Entropy plugins
:: make entropy.spm Plugin Factory using entropy.core.EntropyPluginFactory
2009-08-30 18:59:35 +02:00
Fabio Erculiani 5d4cce6f14 [entropy.spm/entropy.server/entropy.client] fix regression caused by entropy.spm API change 2009-08-29 21:39:38 +02:00