Fabio Erculiani
4eb7fc1f67
unit testing, tools: new test on xpak-only file
2009-06-09 12:13:23 +02:00
Fabio Erculiani
54c33e4126
make suck_xpak working on a xpak-only file too
2009-06-09 12:10:30 +02:00
Fabio Erculiani
aef2b9431a
entropy.db: trivial output fix
2009-06-09 12:10:09 +02:00
Fabio Erculiani
c7d9cae649
entropy.client: when syncing repos using EAPI3, catch db exceptions on add/remove
2009-06-08 19:49:40 +02:00
Fabio Erculiani
e6759981c1
when a boot service is not removed due to collisions, do not disable it in postremove
2009-06-06 19:00:08 +02:00
Fabio Erculiani
479c23f8c6
tweak output
2009-06-06 18:59:59 +02:00
Fabio Erculiani
877929cd55
fix typo
2009-06-06 18:59:46 +02:00
Fabio Erculiani
41143f873c
update documentation, complete entropy.const and fix entropy.cache
2009-06-06 13:08:01 +02:00
Fabio Erculiani
c35e34043c
complete docstrings for entropy.cache
2009-06-06 09:12:25 +02:00
Fabio Erculiani
53c38c842f
correctly handle resume on timeout errors
2009-06-06 07:31:20 +02:00
Fabio Erculiani
01c61e0d00
fix array unpack error
2009-06-06 07:28:23 +02:00
Fabio Erculiani
dc6b857431
add Portage EAPI2 SRC_URI handling
2009-06-05 23:43:30 +02:00
Fabio Erculiani
4a412c7f0b
complete Portage EAPI2 use dependencies support
2009-06-05 23:13:38 +02:00
Fabio Erculiani
5e88ceb760
fix stop method of EntropyCacher to not make use of the watchdog timer
2009-06-05 19:37:07 +02:00
Fabio Erculiani
f255f9f241
do not run cleanups on client db close
2009-06-05 19:23:42 +02:00
Fabio Erculiani
72b579e2c2
remove unused method
2009-06-05 15:47:26 +02:00
Fabio Erculiani
42845bd1bf
entropy.spm: better Portage EAPI2 support, add "!!conflict" support
2009-06-05 15:42:29 +02:00
Fabio Erculiani
77cbf8d01f
sometimes treeupdates is not necessary
2009-06-05 15:15:57 +02:00
Fabio Erculiani
6749a99634
when showing package sets on mirrors sync, only print the ones of the current repository
2009-06-05 13:00:19 +02:00
Fabio Erculiani
d99c172fbd
entropy.misc: fix RSS class when description metadatum is not available
2009-06-05 12:29:51 +02:00
Fabio Erculiani
be14ab6b82
entropy.qa: improve entropy_package_checks
2009-06-05 09:08:58 +02:00
Fabio Erculiani
bd4ec10402
create md5 hash of packages when using the flushback tool
2009-06-04 22:26:33 +02:00
Fabio Erculiani
75c717e89d
entropy.transceivers: improve FtpInterface, download_file method
2009-06-04 20:55:34 +02:00
Fabio Erculiani
d6d8120c30
unit testing, add a new entropy.tools test (remove_edb)
2009-06-04 20:45:53 +02:00
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