Fabio Erculiani
eb2b068176
[entropy.client] clean_downloaded_packages: catch exception if branch_dir is not a dir
...
At the same time, also improve fault tolerance of get_removable_packages()
2011-09-04 10:52:55 +02:00
Fabio Erculiani
c7c207dda0
[entropy.client] inform about splitdebug feature being unsupported for direct pkg install, see Sabayon bug #2666
2011-09-04 10:35:15 +02:00
Fabio Erculiani
e9f76d96aa
[entropy.client] don't use "extra download" metadata when installing package files directly, see Sabayon bug #2666
2011-09-04 10:30:21 +02:00
Fabio Erculiani
5df92bad4a
[entropy.qa] trivial code update
2011-09-01 11:32:22 +02:00
Fabio Erculiani
24836e1150
[entropy.client.interfaces.dep] _get_required_packages: improve constraints on forced_matches
2011-09-01 11:25:28 +02:00
Fabio Erculiani
87b679d2e4
Release Entropy 1.0_rc47
2011-08-30 11:39:18 +02:00
Fabio Erculiani
184232f0cc
[entropy.server] when adding missing dependencies, always show the committed changes
2011-08-29 23:44:08 +02:00
Fabio Erculiani
bd996b63f6
Release Entropy 1.0_rc46
2011-08-29 06:56:00 +02:00
Fabio Erculiani
d9dfe06b0a
[entropy.server] make possible to properly handle expiration of extra package files. Enforce file name constraints on them.
2011-08-29 06:37:28 +02:00
Fabio Erculiani
294b1a25e4
[entropy.server] generate an "extra download" list file in order to ease mirrors cleanup when packages expire
2011-08-29 06:12:22 +02:00
Fabio Erculiani
8f9b4e2391
[entropy.db] implement support for listAllExtraDownloads()
2011-08-29 06:07:03 +02:00
Fabio Erculiani
15d9dfed58
[entropy.server.mirrors] simplify _move_files_over_from_upload, make it move all the files inside upload dir
2011-08-29 05:50:46 +02:00
Fabio Erculiani
19d8753fbf
[entropy.server.mirrors] fix typo in _move_files_over_from_upload()
2011-08-28 23:52:28 +02:00
Fabio Erculiani
b2e5bc0117
Release Entropy 1.0_rc45
2011-08-28 20:17:39 +02:00
Fabio Erculiani
942bcc5e39
[entropy.server.mirrors] when moving package files from upload to local store, also consider "extra downloads" ones
2011-08-28 20:16:59 +02:00
Fabio Erculiani
cbeed45b97
[entropy.server] _package_injector: fix license check evaluation
2011-08-28 20:03:36 +02:00
Fabio Erculiani
ffc722c0ea
[entropy.server] _package_injector: move extra_download file in the same packages dir as parent package
2011-08-28 20:00:06 +02:00
Fabio Erculiani
266fc224ab
Release Entropy 1.0_rc44
2011-08-25 19:36:52 +02:00
Fabio Erculiani
6059629452
[entropy.spm] PortagePlugin.add_installed_package: chmod vardb entry to 755 as Portage does
2011-08-25 19:36:00 +02:00
Fabio Erculiani
949f2ab3f3
[entropy.server] add PKG_KEYWORDS variable to those exposed to metadata qa check hook
2011-08-25 18:39:04 +02:00
Fabio Erculiani
b0a2bbf4fe
[entropy.server.mirrors] do not handle .asc files anymore in tidy_mirrors()
2011-08-25 09:52:42 +02:00
Fabio Erculiani
9366621d90
Release Entropy 1.0_rc43
2011-08-21 14:23:02 +02:00
Fabio Erculiani
13c3b7513d
[entropy.server.mirrors] implement herustic able to use remote file copy when possible
...
When dealing with multiple repositories, it is possible that a package file
gets uploaded multiple times when moved from a repository to another.
In this scenario, there is a waste of upload bandwidth. This commit
implements a simple herustic that is able to determine if it's possible
to copy the file remotely instead of uploading it, if and only if:
- package file with the same name is already available on another
tracked repository sharing the same mirror URI
- local package and remote package have the same md5 hash
2011-08-21 14:17:48 +02:00
Fabio Erculiani
a61f6b99cc
[entropy.transceivers] EntropyFtpUriHandler: fix undefined reference
2011-08-21 14:16:23 +02:00
Fabio Erculiani
1446115d33
[entropy.transceivers] implement remote copy method for all transceivers (similar to rename())
2011-08-21 14:13:56 +02:00
Fabio Erculiani
9c55829d00
[entropy.transceivers] EntropyFileUriHandler.rename: fix typo
2011-08-21 14:11:22 +02:00
Fabio Erculiani
0210ee7b97
[entropy.server.transceivers] code style update
2011-08-21 11:13:45 +02:00
Fabio Erculiani
81faac522b
Release Entropy 1.0_rc42
2011-08-20 14:01:23 +02:00
Fabio Erculiani
a70b02610c
Release Entropy 1.0_rc41
2011-08-18 17:53:44 +02:00
Fabio Erculiani
5d2c0b95e7
[entropy.client.interfaces.dep] fix potentially disruptive typo, messed dependency schedule
2011-08-18 17:53:06 +02:00
Fabio Erculiani
5bed18a983
Release Entropy 1.0_rc40
2011-08-15 16:37:39 +02:00
Fabio Erculiani
957679109e
[entropy.client.interfaces.package] re-apply ownership to files after setup phase
...
The setup phase of SPM is where users and groups get added.
Having the package already unpacked causes tar to not apply correct
ownership to files and directories. This commit fixes it.
2011-08-15 16:36:14 +02:00
Fabio Erculiani
8465cb7bc1
[entropy.client.triggers] expose setup phase directly (and not hide it inside preinstall)
2011-08-15 16:35:13 +02:00
Fabio Erculiani
4a3748dbfd
[entropy.spm] PortagePlugin: add comment
2011-08-15 16:34:07 +02:00
Fabio Erculiani
b6b4c0c959
[entropy.tools] add apply_tarball_ownership
2011-08-15 16:33:48 +02:00
Fabio Erculiani
714fe7f800
[entropy.output] xterm_title_reset: call xterm_title using raw=True
2011-08-15 10:43:52 +02:00
Fabio Erculiani
da68170b6f
Release Entropy 1.0_rc39
2011-08-13 11:51:00 +02:00
Fabio Erculiani
2053f69223
[entropy.client] move os.getenv() to static region
2011-08-13 11:47:48 +02:00
Fabio Erculiani
ea67974557
[entropy.server] also account for .asc files, if available (this is for backward compatibility)
2011-08-13 11:14:10 +02:00
Fabio Erculiani
4434cac6bb
[entropy.server] _get_gpg_signature: remove stale file before returning
2011-08-13 11:13:41 +02:00
Fabio Erculiani
5a67de3e30
[entropy.fetchers] handle "out of pty devices" error, fix Sabayon bug 2620
2011-08-12 23:36:41 +02:00
Fabio Erculiani
8f4be276eb
[entropy.client.interfaces.dep] add support for ASAP scheduling of post-dependencies
...
This is a hack. As hack, it is hopefully going away soon.
This is a hack. It just hides broken dependencies (like libreoffice
vs jdom vs jdom-jaxen).
This is a hack. But Portage does ugly things.
This is a hack. But my hope is that it's going to be no longer required soon.
2011-08-12 19:29:17 +02:00
Fabio Erculiani
e2a5c31986
[entropy.graph] make sure cache object becomes None again
2011-08-12 19:28:37 +02:00
Fabio Erculiani
2a4c8a8abf
Release Entropy 1.0_rc38
2011-08-11 16:52:26 +02:00
Fabio Erculiani
8af8a12645
[entropy.spm] fix set() usage
2011-08-11 16:52:10 +02:00
Fabio Erculiani
1a779bb2ef
Release Entropy 1.0_rc37
2011-08-11 07:25:52 +02:00
Fabio Erculiani
b86232a900
[entropy.server] fixup docstring wording
2011-08-11 07:23:35 +02:00
Fabio Erculiani
46cc32b780
[entropy.qa] fix needed library resolution logic in _resolve_needed()
2011-08-11 07:16:44 +02:00
Fabio Erculiani
118ac09282
Release Entropy 1.0_rc36
2011-08-10 10:28:57 +02:00
Fabio Erculiani
1c2739e8d1
[entropy.spm] PortagePlugin.generate_package: change debug package file name
2011-08-10 10:25:04 +02:00