Fabio Erculiani
ccd2b569fc
[entropy.db] update schema for packagedownloads, add on-disk size column
2011-08-09 12:02:08 +02:00
Fabio Erculiani
5546d77c69
[entropy.tools] add get_uncompressed_size function
2011-08-09 11:56:20 +02:00
Fabio Erculiani
8f60f3ecd5
[entropy.spm] PortagePlugin.extract_package_metadata: correctly account on-disk size
...
entropy.tools.sum_file_sizes_hardlinks() should always get files only.
Otherwise the accounted on-disk size can grow indefinitely.
2011-08-09 11:33:45 +02:00
Fabio Erculiani
d5d63dba6b
[entropy.tools] uncompress_tarball: do not use os.listdir() to prove that tarball has been uncompressed
2011-08-09 08:54:34 +02:00
Fabio Erculiani
711c66038e
[entropy.spm] PortagPlugin.generate_package: improve entropy of debug package file name hash
2011-08-09 08:54:03 +02:00
Fabio Erculiani
286b70c530
[entropy.spm] PortagePlugin.generate_package() chmod 0644 generated files
2011-08-08 22:18:33 +02:00
Fabio Erculiani
4e15c9915d
[entropy.const] change default extension for debug package file
2011-08-08 22:17:35 +02:00
Fabio Erculiani
6d5db82f67
[entropy.db] remove debug code
2011-08-08 21:06:13 +02:00
Fabio Erculiani
14fa75edbb
[entropy.db] change schema of packagedownloads table, add size column
2011-08-08 21:05:39 +02:00
Fabio Erculiani
3ae8e6ae93
[entropy.server] make possible to split package file into multiple "extra" package files
...
This introduces a backward-compatible feature (server-side in this commit)
that makes possible to associate more than one package file to a single
package_id. This opens the door to a wide range of future opportunities
but also makes possible to decouple debuginfo files from the rest.
2011-08-08 18:16:54 +02:00
Fabio Erculiani
ddd289f766
[entropy.tools] dump_entropy_metadata(): check if file is empty before using mmap()
2011-08-08 18:14:41 +02:00
Fabio Erculiani
2a186df4e6
[entropy.server.db] when downloading the repository, execute the download actions in alphabetical order for atomicity
2011-08-08 14:39:38 +02:00
Fabio Erculiani
061328d31b
[entropy.server] beautify metadata QA check output
2011-08-08 14:25:22 +02:00
Fabio Erculiani
d6aac29234
[entropy.services] fix undefined reference
2011-08-08 12:18:58 +02:00
Fabio Erculiani
ed2a745b0b
[entropy.server.mirrors] fix loop nesting in tidy_mirrors()
2011-08-08 11:51:58 +02:00
Fabio Erculiani
bc858bb3d6
[entropy.server.main] improve os.rename() exception handling
2011-08-08 11:10:27 +02:00
Fabio Erculiani
af17476bf2
[entropy.server] improve os.rename() exception handling
2011-08-08 11:09:54 +02:00
Fabio Erculiani
6158d523bc
[entropy.spm] PortagePlugin.generate_package: unlock vardb only when locked
2011-08-08 06:42:00 +02:00
Fabio Erculiani
3caeb36f86
[entropy.server] _external_metadata_qa_hook_test: improve output
2011-08-08 06:38:28 +02:00
Fabio Erculiani
0e169cd9f3
[entropy.server] make sure to remove tmp_repo_orig_path
2011-08-08 06:19:03 +02:00
Fabio Erculiani
03c3c86bfa
Release Entropy 1.0_rc34
2011-08-07 18:39:25 +02:00
Fabio Erculiani
a4a3d8fe9d
Release Entropy 1.0_rc33
2011-08-06 23:17:21 +02:00
Fabio Erculiani
b60637d4d1
[entropy.server] fix non-interactive usage of __user_filter_out_missing_deps()
2011-08-06 23:16:24 +02:00
Fabio Erculiani
4e3b7b98d3
[entropy.qa] add support for externally inferred (via config files) broken libraries for test_missing_runtime_libraries()
2011-08-06 18:08:21 +02:00
Fabio Erculiani
8b62b034fe
[entropy.qa] beautify output of test_missing_runtime_libraries()
2011-08-05 22:57:37 +02:00
Fabio Erculiani
438e194470
[entropy.server,entropy.qa] move test_missing_runtime_libraries to entropy.qa, make it reusable
2011-08-05 22:40:05 +02:00
Fabio Erculiani
46d67f2570
[entropy.server] improve output of _external_metadata_qa_hook_test()
2011-08-05 19:04:13 +02:00
Fabio Erculiani
8ec0edd6af
[entropy.server] missing_runtime_libraries_test: also print info regarding possible library owners
2011-08-04 17:01:36 +02:00
Fabio Erculiani
c769c073b3
[entropy.server] missing_runtime_libraries_test: also return collected data
2011-08-04 16:50:00 +02:00
Fabio Erculiani
a7732fefd6
[entropy.server] tweak missing_runtime_libraries_test() output
2011-08-04 16:48:23 +02:00
Fabio Erculiani
a97c2821a7
[entropy.server] add missing runtime libraries QA
...
Use collected packages ELF metadata (retrieveNeeded(),
resolveNeeded()) to look for potentially missing
shared libraries. This is very handy in case of library breakages
across multiple server-side repositories.
For example: you bump libfoo, which provides new library, the SPM forces
you to rebuild foouser, which uses libfoo. You put both into a testing
repository but then you only move foouser to the base repository without
realizing the potential breakage users could run into.
However, since there can be false positives, this routine cannot block
you from doing this mistakes.
Please note that the base repository is the first listed in server.conf
and will always be considered as self-contained, meaning that all the
dependencies and sonames must be available within the same.
The code first tries to resolve the soname inside the same repository,
then falls back to other ones, if any.
2011-08-04 16:39:16 +02:00
Fabio Erculiani
1489bfedba
Release Entropy 1.0_rc32
2011-08-04 10:26:04 +02:00
Fabio Erculiani
92c599b928
[€ntropy.server] trivial output tweak
2011-08-03 09:54:44 +02:00
Fabio Erculiani
4edb7cb848
Release Entropy 1.0_rc31
2011-08-03 09:41:57 +02:00
Fabio Erculiani
e1eefb57ab
[entropy.spm] when calling add_packages_to_repository(), pass proper ask= value based on etpUi['interactive']
...
This is required by non-interactive packages that expect no real
interactivity by implicit actions taken by Entropy routines, such
as package_names_update() called whenever a package gets renamed or
slot-moved.
2011-08-02 23:14:23 +02:00
Fabio Erculiani
01a1b18250
[entropy.const] add etpUi['interactive'] global setting
2011-08-02 23:13:53 +02:00
Fabio Erculiani
51cd80cb9d
Release Entropy 1.0_rc30
2011-08-02 19:47:04 +02:00
Fabio Erculiani
09db576b3a
[entropy.server] fix super() usage
2011-08-02 17:37:19 +02:00
Fabio Erculiani
44dc33121b
[entropy.server] improve missing dependencies QA tests
2011-08-02 17:31:52 +02:00
Fabio Erculiani
3258b7f4bc
Release Entropy 1.0_rc29
2011-08-02 08:22:31 +02:00
Fabio Erculiani
0e4c6e2ed8
[entropy.server] fix typo
2011-08-02 08:20:33 +02:00
Fabio Erculiani
24fb3c4419
[entropy.server] properly test base repository against missing deps
2011-08-02 08:16:36 +02:00
Fabio Erculiani
10bb393128
[entropy.server] dependencies_test: restore original behaviour, making possible to exploit more use cases
2011-08-02 08:12:57 +02:00
Fabio Erculiani
7f544dfa2f
Release Entropy 1.0_rc28
2011-08-02 07:29:11 +02:00
Fabio Erculiani
eb90a2f4b9
[entropy.spm.skel] update docstring for generate_package()
2011-08-01 11:06:28 +02:00
Fabio Erculiani
ea7e5af4c1
[entropy.tools] acquire_entropy_locks: make it modular, add acquire_entropy_resources_locks
2011-07-30 23:02:57 +02:00
Fabio Erculiani
59db6b8dbd
[entropy.const] const_setup_entropy_pid: make pid handling completely atomic and blocking (required by auto-builder)
2011-07-30 22:56:37 +02:00
Fabio Erculiani
5d1ec48fc6
[entropy.client.interfaces.methods] lock_resources: add support for blocking mode
2011-07-30 22:23:19 +02:00
Fabio Erculiani
e664c7ae63
[entropy.tools] acquire_entropy_locks: remove useless duplicated call
2011-07-30 22:21:16 +02:00
Fabio Erculiani
d9fad847ee
[entropy.client.interfaces.methods] _create_pid_file_lock: get lock file via function call arguments
2011-07-30 22:20:19 +02:00