Fabio Erculiani
c2e7f3b51b
[entropy.db] EntropyRepository: small sqlite3 performance improvement, make it store temp tables in RAM
2010-09-24 14:27:59 +02:00
Fabio Erculiani
32c887e298
Tagging Entropy version 0.99.49.74
2010-09-24 14:26:50 +02:00
Fabio Erculiani
9853d41702
[entropy.db] EntropyRepository: fix performance regression, previous code was 10 times slower
2010-09-24 14:02:06 +02:00
Fabio Erculiani
fbbeeecf80
[entropy.client.interfaces.client] improve speed of Client.shutdown() by not touching SystemSettings plugin (see rational in code)
2010-09-24 13:33:19 +02:00
Fabio Erculiani
6cdd268dfb
[entropy.server.interfaces.mirrors] fix regression in handling repository dump (light version)
2010-09-24 13:27:30 +02:00
Fabio Erculiani
4eaba54c38
[entropy.client.interfaces.db] replace "database" with "repository" in messages
2010-09-24 13:12:42 +02:00
Fabio Erculiani
a722e014cc
Tagging Entropy version 0.99.49.73
2010-09-24 11:36:17 +02:00
Fabio Erculiani
40d12de843
Tagging Entropy version 0.99.49.72
2010-09-23 19:03:20 +02:00
Fabio Erculiani
8acc959842
[entropy.spm] PortagePlugin: fix undefined reference
2010-09-23 19:02:59 +02:00
Fabio Erculiani
acb355d906
Tagging Entropy version 0.99.49.71
2010-09-23 18:45:52 +02:00
Fabio Erculiani
20a1de45ce
[entropy.spm] PortagePlugin: support per repository profiles/updates
2010-09-23 18:45:14 +02:00
Fabio Erculiani
32f251feae
[entropy.db] EntropyRepository.createAllIndexes: call "ANALYZE" stmt after indexes creation
2010-09-22 20:29:33 +02:00
Fabio Erculiani
e62859c6e1
[entropy.db] EntropyRepository: convert remaining closeDB() calls to close()
2010-09-22 20:14:28 +02:00
Fabio Erculiani
caff8cc759
[entropy.db] rename EntropyRepositoryBase.closeDB() to EntropyRepositoryBase.close() keeping backward compatibility
2010-09-21 14:03:44 +02:00
Fabio Erculiani
5b8fd5e28b
[entropy.spm] PortagePlugin.package_names_update: make it work using portage tree from CVS
2010-09-18 14:19:35 +02:00
Fabio Erculiani
33fe258b4a
[entropy.server] do not use EntropyRepository private implementation information, but rather provide a much cleaner implementation of
...
_upload_database
2010-09-17 01:08:14 +02:00
Fabio Erculiani
7864e6a554
Tagging Entropy version 0.99.49.70
2010-09-16 09:22:17 +02:00
Fabio Erculiani
04640671af
[entropy.spm] PortagePlugin: update builtin package sets list
2010-09-16 09:21:18 +02:00
Fabio Erculiani
02e07aea6b
[entropy.server] Server: remove bogus line in ServerFakeClientSystemSettingsPlugin.fake_cli_parser
2010-09-16 09:15:41 +02:00
Fabio Erculiani
dc422b4774
[entropy.server] Server: remove bogus line in ServerFakeClientSystemSettingsPlugin.fake_cli_parser
2010-09-16 09:14:39 +02:00
Fabio Erculiani
904b678ea7
[entropy.spm] PortagePlugin: completely use Portage code to return package sets configuration object
2010-09-16 09:12:22 +02:00
Fabio Erculiani
c26d90fb20
[entropy.tools] move entropy package strings manipulation functions to entropy.dep
2010-09-15 22:06:39 +02:00
Fabio Erculiani
a29341c2b2
[entropy.client] make Client.open_repository only accept validated repository identifiers
...
Enforce restrictions on open_repository() to avoid loading invalid
repository (damaged, etc). This will probably expose some new bugs
that will be promptly killed.
2010-09-15 20:15:28 +02:00
Fabio Erculiani
e27a597881
[entropy.db] EntropyRepository.addPackage: ensure that live cache is empty at the end of the function, too
2010-09-15 19:58:14 +02:00
Fabio Erculiani
4765de8bf5
[entropy.transceivers] EntropyFtpUriHandler: use repr() when showing error string
2010-09-15 16:22:39 +02:00
Fabio Erculiani
e9d380c9a9
[entropy.db] EntropyRepository: explicitly rollback transaction when calling addPackage and removePackage
2010-09-15 14:14:11 +02:00
Fabio Erculiani
3f14d38fde
[entropy.db] EntropyRepository: if sqlite3 connection cannot close, interrupt other threads and call close() again
2010-09-15 14:04:14 +02:00
Fabio Erculiani
ccb57e05d1
[entropy.services] open_session() can return None, state it clearly and handle the case everywhere the function is used
2010-09-15 07:20:45 +02:00
Fabio Erculiani
c95b27e78e
[entropy.tools] movefile: catch OSError/IOError exceptions on the first lstat() too (on src)
2010-09-15 07:08:23 +02:00
Fabio Erculiani
a7d8415dda
[entropy.const] fix typo in etpConst['packagesrelativepaths']
2010-09-15 06:59:09 +02:00
Fabio Erculiani
9d36dcaee4
[entropy.db] EntropyRepository._insertContentSafety: execute query only if contentsafety table is available
2010-09-14 20:00:43 +02:00
Fabio Erculiani
7c5927524d
[entropy.db] EntropyRepository._insertSignatures: make code more robust and handle the case where gpg column is not available
2010-09-14 19:53:48 +02:00
Fabio Erculiani
ec94cceacd
[entropy.tools] start moving Entropy dependency handling functions to entropy.dep module
2010-09-14 09:49:34 +02:00
Fabio Erculiani
3bd2c001ea
[entropy.tools] trivial code updates
2010-09-14 07:54:49 +02:00
Fabio Erculiani
1a301fefdd
Tagging Entropy version 0.99.49.60
2010-09-13 17:38:39 +02:00
Fabio Erculiani
d553108df8
[entropy.spm] PortagePlugin: fix simple Entropy "or" dependencies generator code
2010-09-13 17:38:16 +02:00
Fabio Erculiani
29a320d5c3
[entropy.server.mirrors] when dumping repository light database to file, exclude "contentsafety" table too
2010-09-13 14:21:12 +02:00
Fabio Erculiani
2826538920
Tagging Entropy version 0.99.49.59
2010-09-13 13:49:27 +02:00
Fabio Erculiani
882cb70eff
[entropy.spm] PortagePlugin: remove code duplicated from portage.dep and fix nested conditional dependencies (not yet supported by
...
Entropy)
2010-09-13 13:41:11 +02:00
Fabio Erculiani
8bebcd65e4
[entropy.tools] add helper function flatten()
2010-09-13 13:40:24 +02:00
Fabio Erculiani
a4a52e62d8
[tests] add another Portage related SPM test
2010-09-13 13:40:07 +02:00
Fabio Erculiani
0e7f3630b3
Tagging Entropy version 0.99.49.58
2010-09-12 09:25:17 +02:00
Fabio Erculiani
f053d07fe0
[entropy.client.interfaces.package] include real repository URIs when using original repository id for fetching the package file
2010-09-12 09:22:20 +02:00
Fabio Erculiani
3b69f9a9a7
[entropy.client.interfaces.package] make "equo repo merge" logic fully working
...
Properly setup package file mirrors to the right location used by
the original repository. The trick consists of storing the original
repository id inside the installedtable metadata in EntropyRepository,
and use it afterwards in entropy.client.interfaces.package.
2010-09-12 03:15:49 +02:00
Fabio Erculiani
40cf08effa
[entropy.server] when moving/copying packages, keep track of the originating repository metadata
2010-09-12 02:28:47 +02:00
Fabio Erculiani
21ed35a9ed
Tagging Entropy version 0.99.49.57
2010-09-11 17:09:43 +02:00
Fabio Erculiani
d1571bb8ba
[entropy.client.interfaces.package] implement foundation support for differential package file download
2010-09-11 17:07:40 +02:00
Fabio Erculiani
c17469b1ba
[entropy.fetchers] implement foundations for differential packages download support
2010-09-11 16:46:17 +02:00
Fabio Erculiani
1cdbe349dd
Tagging Entropy version 0.99.49.56
2010-09-11 15:43:12 +02:00
Fabio Erculiani
23b970efa1
[tests] add a new live cache unit test
2010-09-11 15:42:18 +02:00