Fabio Erculiani
20a6315450
[entropy.output] move enlightenatom to entropy.tools, improve it dramatically
2009-12-14 23:55:43 +01:00
Fabio Erculiani
9f58852b20
[entropy.client.interfaces.methods] fix setup_default_file_perms
2009-12-14 22:16:36 +01:00
Fabio Erculiani
2a5ea9f8f8
[entropy.services] for god sake, do not spawn the whole log file or stdout during RPC commands logging
2009-12-14 21:53:50 +01:00
Fabio Erculiani
d6bb675608
[entropy.*] several database size and performance improvements
...
:: implement developer-repo mode (aimed to developers who want to
test stuff and can download the whole packages repository db).
This results in 100% download size reduction for 99% of other users.
:: new "light" database versions now ship without packagechangelogs
table content to improve speed, download time and size.
:: cleanup entropy.client.interfaces.repository code and add support
for developer-repo feature
:: add warnings for users running "equo query changelog" without
developer-repo mode enabled
2009-12-14 21:33:30 +01:00
Fabio Erculiani
30fb022635
[entropy.client.interfaces.package] do not add changelog metadata to installed packages db on packages install
2009-12-14 21:32:47 +01:00
Fabio Erculiani
43afd2c0ec
[entropy.graph] fix typo in docstring
2009-12-14 21:31:01 +01:00
Fabio Erculiani
d3d3bb98eb
[entropy.db/entropy.services] add get_changelog argument to EntropyRepository.getPackageData + EntropyRepository.dropChangelog
...
:: getPackageData features a new get_changelog argument (True by default)
:: EntropyRepository now features a dropChangelog method to drop the whole packages ChangeLog (resulting in speed improvements)
:: make Entropy EAPI=3 repository service to return metadata without ChangeLog information (speed improvement here too)
2009-12-14 21:26:23 +01:00
Fabio Erculiani
b9345f5782
[entropy.client.interfaces.dep] fix possible "conflicts" variable unavailability
2009-12-12 17:03:51 +01:00
Fabio Erculiani
299c19962b
[entropy.graph] add get_node() method to Graph
2009-12-12 16:59:49 +01:00
Fabio Erculiani
d19788b72a
[entropy.graph] Graph: some final methods polishing
2009-12-12 12:55:06 +01:00
Fabio Erculiani
3fdf8ce8ea
[entropy.grah] improve speed of get_adjacency_map
2009-12-12 11:51:57 +01:00
Fabio Erculiani
af5599b1c3
[entropy.graph] fix trans_vals function declaration
2009-12-12 11:50:53 +01:00
Fabio Erculiani
016308106b
[entropy.graph] split solve() into _solve() and solve()
2009-12-12 11:50:16 +01:00
Fabio Erculiani
d7e3d255a5
[entropy.graph] get_adjacency_map should really know shit about GraphNode
2009-12-12 11:23:14 +01:00
Fabio Erculiani
dbd22f482a
[entropy.server] provide easy to use open_repository server (matching client-side method on purpose)
2009-12-12 11:07:23 +01:00
Fabio Erculiani
a7471511d6
[entropy.db] EntropyRepository.insertProvide: reset previously set default provides
2009-12-12 10:32:54 +01:00
Fabio Erculiani
a5d20e7e98
[entropy.db] fix insertProvide fixme hack
2009-12-11 22:47:20 +01:00
Fabio Erculiani
71d1b7b4a8
[entropy.db/entropy.spm] change (backward compat. kept) format of "provide" package metadatum
2009-12-11 22:18:22 +01:00
Fabio Erculiani
19a85efe4b
[entropy.db] EntropyRepository: improve speed of _doesTableExist and _doesColumnInTableExist
2009-12-11 22:17:44 +01:00
Fabio Erculiani
068c3ef149
[entropy.spm] do not crash when elf file cannot be read, but rather raise a warning
2009-12-11 22:16:14 +01:00
Fabio Erculiani
8244e414dd
[unittest] add a new test to the suite, this will test PROVIDE metadata
2009-12-11 22:13:22 +01:00
Fabio Erculiani
1324d9e7c4
[entropy.spm] PortagePlugin.extract_package_data: fix spm_repository setup
2009-12-11 21:03:05 +01:00
Fabio Erculiani
a247095878
[entropy.core.settings.base] fix entropy.conf readability check
2009-12-11 19:29:49 +01:00
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