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
Fabio Erculiani
3d8e110c2d
[entropy.spm] PortagePlugin.generate_package: do not return debug package file path if it's empty
2011-08-10 10:23:05 +02:00
Fabio Erculiani
b27592bc8c
Release Entropy 1.0_rc35
2011-08-09 22:17:54 +02:00
Fabio Erculiani
c0ac76d3d4
[entropy.debug] add GraphDrawer class
2011-08-09 17:03:17 +02:00
Fabio Erculiani
eca7078313
[entropy.graph] add Graph._graph_debug method
2011-08-09 17:02:55 +02:00
Fabio Erculiani
69900bd2dc
[entropy.const] const_setup_entropy_pid: deal with EACCES, pid directory might not be writeable
2011-08-09 13:05:24 +02:00
Fabio Erculiani
22a25ca4f4
[entropy.server] re-generate extra_download GPG data when moving package across repos
2011-08-09 13:02:27 +02:00
Fabio Erculiani
91d2b4b93c
[entropy.client] implement support for split package files
2011-08-09 12:40:38 +02:00
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