Fabio Erculiani
f281d67e42
entropy.tools: behavioural and performance updates
...
- created new function locate_edb
- using locate_edb in extract_edb and remove_edb
- updated is_entropy_package_file functions, it didn't work with
empty package files (virtual packages for eg.)
2009-06-04 20:44:22 +02:00
Fabio Erculiani
87f3719317
EAPI1, download light version of the repository database
2009-06-04 19:16:42 +02:00
Fabio Erculiani
f686cfb075
when creating the light version of the EAPI1 database, optimize its size
2009-06-04 18:45:53 +02:00
Fabio Erculiani
0297cc24f7
fix another small typo
2009-06-04 17:59:31 +02:00
Fabio Erculiani
9a010d8d30
fix typo
2009-06-04 17:56:22 +02:00
Fabio Erculiani
feb2ffbf6a
fix typo
2009-06-04 17:46:16 +02:00
Fabio Erculiani
6adb3fe2cc
EAPI1: also upload a light version of the repository database
2009-06-04 17:35:40 +02:00
Fabio Erculiani
6cb70b4de7
new method dropContent
2009-06-04 17:23:07 +02:00
Fabio Erculiani
c6080a3117
code style update
2009-06-04 16:54:07 +02:00
Fabio Erculiani
8b5d50351b
when downloading a repository using EAPI=1, if possible verify the compressed database first
2009-06-04 16:49:38 +02:00
Fabio Erculiani
56188bab0e
also upload compressed database checksum
2009-06-04 14:50:47 +02:00
Fabio Erculiani
a808953b94
do not run treeupdates on repository database upload
2009-06-04 14:30:37 +02:00
Fabio Erculiani
ae46ad8b06
new argument for open_server_database
...
do_treeupdates bool argument tells open_server_database to run
treeupdates or not
2009-06-04 14:29:52 +02:00
Fabio Erculiani
24ba53ce15
improve FtpInterface speed on file uploads and downloads
2009-06-04 08:45:43 +02:00
Fabio Erculiani
94dc7d201b
fix resume support again
2009-06-03 18:37:00 +02:00
Fabio Erculiani
4e4e6f37c1
entropy.server: trivial changes
2009-06-03 11:34:27 +02:00
Fabio Erculiani
a15c411738
entropy.tools, trivial changes
2009-06-03 11:34:10 +02:00
Fabio Erculiani
15b11c1e1e
unit test, tools: add 2 new entropy.tools tests
2009-06-03 11:33:36 +02:00
Fabio Erculiani
47c8f0cc49
really improve suck_xpak function with new seeking tecnhiques
2009-06-03 09:02:19 +02:00
Fabio Erculiani
b730681750
module cleanup
2009-06-03 08:50:06 +02:00
Fabio Erculiani
dd17240a4e
really improved version of extract_edb, new seeking technique
2009-06-03 08:47:39 +02:00
Fabio Erculiani
e0041cf7eb
improve performance of suck_xpak
2009-06-03 01:09:28 +02:00
Fabio Erculiani
f26fb63f31
add deprecation warning
2009-06-02 20:31:31 +02:00
Fabio Erculiani
0fcff4aab4
on package install, clear world and available cache completely
2009-06-02 20:30:24 +02:00
Fabio Erculiani
6ff57b2e03
always use os module constants instead of straight integers
2009-06-02 20:25:41 +02:00
Fabio Erculiani
a0bf9dd02c
entropy.server: improve QA code
2009-06-02 18:29:11 +02:00
Fabio Erculiani
4e1436e69a
fix typo
2009-06-02 17:11:24 +02:00
Fabio Erculiani
abc51a9a77
improve extract_edb reliability
2009-06-02 17:10:02 +02:00
Fabio Erculiani
7455b823d1
more improvements to extract_edb
2009-06-02 16:54:35 +02:00
Fabio Erculiani
76d42edf48
when seeking a file, use os module constants instead of straight numbers
2009-06-02 16:33:06 +02:00
Fabio Erculiani
4fcd5f786b
optimized version of extract_edb
2009-06-02 15:32:53 +02:00
Fabio Erculiani
36cf61c259
improve speed of extract_edb if no metadata is available
2009-06-02 12:37:53 +02:00
Fabio Erculiani
acda9f564b
improve remove_edb function
2009-06-02 01:48:23 +02:00
Fabio Erculiani
df992294d9
when Entropy metadata in package files is not found, give up cleanly
2009-06-02 01:38:23 +02:00
Fabio Erculiani
c051e400d0
improve extract_edb memory usage
2009-06-02 01:35:40 +02:00
Fabio Erculiani
b0987970c2
improve extract_edb reliability
2009-06-02 01:08:30 +02:00
Fabio Erculiani
55a741baf3
when flushing back packages, also check their hashes
2009-06-01 21:24:28 +02:00
Fabio Erculiani
811234d93d
entropy.server.interfaces.mirrors: add QA tests on package uploads
2009-06-01 20:20:31 +02:00
Fabio Erculiani
66b4c2c69b
entropy.qa: add generic method to QA check package files
2009-06-01 20:00:50 +02:00
Fabio Erculiani
11d97e94d2
entropy.services.ugc: always close file descriptor
2009-06-01 19:35:57 +02:00
Fabio Erculiani
71e4f767ee
entropy.db: when loading LocalRepository and it fails, make sure to close the fd
2009-06-01 19:29:14 +02:00
Fabio Erculiani
49a922498d
fix typo
2009-06-01 19:18:57 +02:00
Fabio Erculiani
8b9e0fbc51
more work on neededlibrarypaths
2009-06-01 19:17:12 +02:00
Fabio Erculiani
0d66d1630b
improve entropy.tools.extract_edb
2009-06-01 19:11:07 +02:00
Fabio Erculiani
6c326ca57e
entropy.db: improvements for neededlibrarypaths table
2009-06-01 19:07:03 +02:00
Fabio Erculiani
c36b15ead5
entropy.qa: fix get_missing_rdepends
2009-06-01 18:05:23 +02:00
Fabio Erculiani
2caadbef01
entropy.db: extend resolveNeeded capabilities to match entropy.qa requirements
2009-06-01 18:04:51 +02:00
Fabio Erculiani
5852ee0ed8
update needed_paths metadatum format
2009-06-01 17:53:41 +02:00
Fabio Erculiani
b0f3da2be2
entropy.db: neededlibrarypaths schema update
2009-06-01 17:48:35 +02:00
Fabio Erculiani
2b014c4fa7
entropy.server, try using atomic os.rename method
2009-06-01 17:05:21 +02:00