Commit Graph

3269 Commits

Author SHA1 Message Date
Fabio Erculiani d13478c176 [entropy.db/entropy.spm] new medatatum to EntropyRepository
- add new package metadatum 'spm_repository',
- update PortagePlugin.extract_package_metadata() to extract spm_repository
- remove unused methods from EntropyRepository
2009-12-11 11:08:00 +01:00
Fabio Erculiani 3a769da983 [entropy.db] EntropyRepositoryPlugin method add_package_hook was missing the "idpackage" argument 2009-12-11 10:48:02 +01:00
Fabio Erculiani 595647236f [entropy.client.interfaces.fetch] when mirror doesn't have pkg, add 3 failure points to it 2009-12-11 10:29:59 +01:00
Fabio Erculiani 4fd13d193e [entropy.client.interfaces.repository] fine tune EAPI=3 diff update pkgs threshold 2009-12-10 12:47:11 +01:00
Fabio Erculiani 2bbb4735f6 [entropy.db] improve removePackage() speed by 30%
- added primary keys relations by adding foreign keys constaints and ON DELETE CASCADE
- added migration path for older databases
Thanks to Michele Tameni for the advice ;-)
2009-12-10 01:28:13 +01:00
Fabio Erculiani 90978f1ad2 [entropy.client.interfaces.repository] improve debugging output when addPackage fails 2009-12-10 01:24:41 +01:00
Fabio Erculiani 693f0b31d5 [entropy.client.interfaces.package] when loading entropy binpkg db, do it quickly 2009-12-10 01:23:42 +01:00
Fabio Erculiani 26d5794dec [entropy.fetchers] UrlFetcher: do not show negative ETA 2009-12-09 14:46:52 +01:00
Fabio Erculiani b6796b72cf [entropy.client.interfaces.dep] use Graph for inverse dependencies generation 2009-12-08 22:48:38 +01:00
Fabio Erculiani 187e1f8dc8 [entropy.db] cache _isDependsTableSane() calls 2009-12-08 21:33:57 +01:00
Fabio Erculiani e490b1d5b1 [entropy.exceptions] do not copy object the lame way 2009-12-08 15:14:05 +01:00
Fabio Erculiani a3e5af0c31 [entropy.const] add etpConst metadatum, start GPG support implementation 2009-12-08 09:18:10 +01:00
Fabio Erculiani 4ba2ef154f [entropy.security] rename SecurityInterface into System 2009-12-08 09:17:27 +01:00
Fabio Erculiani 4ecd218ca9 [entropy.client/sulfur] make use of entropy.graph.Graph (eventually!) 2009-12-08 00:46:15 +01:00
Fabio Erculiani 34e7656e19 [tests] add entropy.graph.Graph test script 2009-12-07 23:52:55 +01:00
Fabio Erculiani 7bb25139d8 [entropy.exceptions] add DependenciesNotFound exception 2009-12-07 23:52:23 +01:00
Fabio Erculiani e03461b6a1 [entropy.graph] add raw() method to Graph 2009-12-07 22:55:17 +01:00
Fabio Erculiani 368668f713 [entropy.graph] say hello to our outstanding Graph implementation, thanks to Vincenzo Di Massa && Grabriele 2009-12-07 20:51:04 +01:00
Fabio Erculiani a2bcc650c6 [entropy.misc] Lifo: add __len__ and __nonzero__ methods 2009-12-07 20:39:30 +01:00
Fabio Erculiani 696db8b94f [entropy.misc] add insert method to Lifo 2009-12-07 10:23:18 +01:00
Fabio Erculiani 01a7075240 [entropy.client.interfaces.dep] add more debugging output to generate_dependency_tree 2009-12-06 21:03:39 +01:00
Fabio Erculiani 36a614849a [entropy/equo/server] improve support of non-TTY stdout 2009-12-06 20:36:52 +01:00
Fabio Erculiani b5f0422080 [entropy.client.interfaces.trigger] fix typo in function call 2009-12-06 17:25:51 +01:00
Fabio Erculiani df1a74062e [entropy.spm] PortagePlugin: fix function call arguments 2009-12-06 17:11:51 +01:00
Fabio Erculiani df870d9675 [entropy.qa] update brokenlibsmask.conf & brokensyms.conf syntax to allow regexp and non-regexp entries 2009-12-06 13:29:27 +01:00
Fabio Erculiani 39dcc0e930 [entropy.client] fix typo in function call name 2009-12-06 13:29:27 +01:00
Fabio Erculiani 8dff6fe234 [entropy.server] add Spm_class method 2009-12-05 14:12:46 +01:00
Fabio Erculiani 508c5e3142 [entropy.server] fix broken libraries SPM resolution 2009-12-04 23:11:13 +01:00
Fabio Erculiani 80a0fd2857 [entropy.server] do not taint database (update revision) if db is read only 2009-12-04 22:52:37 +01:00
Fabio Erculiani 99ee02f20c [entropy] goodbye etpConst['spm'], implement new SpmPlugin methods, bump SpmPlugin API 2009-12-03 16:59:44 +01:00
Fabio Erculiani 06adc752c0 [entropy.core] EntropyPluginFactory: improve object inspection speed and avoid infinite recursion 2009-12-03 08:08:38 +01:00
Fabio Erculiani 38be948f68 [entropy.spm] drop Portage <2.2 support, remove portage.exception buggy code, fix match_installed_package 2009-11-30 20:24:08 +01:00
Fabio Erculiani a89b13a49c [unittest] fix test_timesched 2009-11-30 10:51:09 +01:00
Fabio Erculiani f126020eab [entropy.spm] PortagePlugin: fix kernel automagic dependencies addition 2009-11-30 10:46:01 +01:00
Fabio Erculiani 4e042c631f [entropy.exceptions] expose __unicode__ builtin method in EntropyException 2009-11-30 10:23:33 +01:00
Fabio Erculiani e46058c1f4 [entropy.transceiver] fix another trivial bug in EntropyTransceiver's SSH URI handler plugin 2009-11-29 22:03:02 +01:00
Fabio Erculiani c4d848cd7c [entropy.transceivers] fix bug in EntropyTransceiver's SSH URI handler 2009-11-29 22:00:24 +01:00
Fabio Erculiani 02a6d2e77c [entropy.client] fix another typo 2009-11-28 23:53:05 +01:00
Fabio Erculiani f4aca2e8f4 [entropy.spm] fix typos around 2009-11-28 23:49:42 +01:00
Fabio Erculiani a67fb78b3f [entropy.fetchers] with lame HTTP servers, download percentage can overflow due to invalid size information provided 2009-11-28 14:45:40 +01:00
Fabio Erculiani 24e2d7289c [entropy.client.interfaces.repository] more code cleanup 2009-11-27 14:11:27 +01:00
Fabio Erculiani 49067be2a6 [entropy.client.interfaces.repository] code style update and cleanup 2009-11-27 14:07:25 +01:00
Fabio Erculiani 860cca6c79 [entropy.client.interfaces.repository] several updates
:: removed deprecated repository file downloads (meta package contains
   everything already)
:: improved meta package sync and unpack (remove files no longer
   provided by repository)
:: reduce the usage of etpConst['spm']
:: misc code cleanup
2009-11-27 13:50:26 +01:00
Fabio Erculiani be0ce63a7b [entropy.client] improve performance of EAPI3 repository sync 2009-11-27 12:43:33 +01:00
Fabio Erculiani d26f1955dc [entropy.transceivers/entropy.fetchers] split entropy.transceivers (add entropy.fetchers), make EntropyTransceiver URI handlers use EntropyPluginFactory (thus add pluggable URI handlers support) 2009-11-26 20:11:45 +01:00
Fabio Erculiani 70848afb62 [entropy.server] add server-side support for post repository update script 2009-11-26 18:58:20 +01:00
Fabio Erculiani 1254d127bd [entropy.client] add client-side support for post repository update script 2009-11-26 18:55:34 +01:00
Fabio Erculiani 853b40d93c [entropy.const] add post repository update script metadata support 2009-11-26 18:54:01 +01:00
Fabio Erculiani 7e92c3b47b [entropy.db] explicitly state that unicode string is required in docstring 2009-11-26 18:53:20 +01:00
Fabio Erculiani 96bf45bc8d [entropy.transceivers] EntropySshUriHandler: make __test_connection a bit more reliable 2009-11-26 17:15:27 +01:00