Commit Graph

5144 Commits

Author SHA1 Message Date
Fabio Erculiani 8364852edf [entropy.spm] drop unused methods: disable_package_compile_options, enable_package_compile_options 2011-09-06 23:18:44 +02:00
Fabio Erculiani e2d5665843 [entropy.transceivers] ftp_plugin: update "raise" syntax 2011-09-06 22:49:01 +02:00
Fabio Erculiani cc6ad786fb Release Entropy 1.0_rc49 2011-09-05 18:09:40 +02:00
Fabio Erculiani 5a74ee403b [entropy.client.misc] when collecting CONFIG_PROTECT* elements, also ask the Source Package Manager about it, closes bug 2480 2011-09-05 17:57:14 +02:00
Fabio Erculiani d70ba28188 [entropy.client.misc] fix undefined reference 2011-09-05 17:49:11 +02:00
Fabio Erculiani c536966e0a [entropy.server] _check_config_file_updates: provide a list of repository identifiers to PackageFileUpdates loader
Using CONFIG_PROTECT* information across all the repositories makes
possible to detect config files changes to be merged even if the
currently working repository (which was available through
entropy.installed_repository() used by entropy.client.misc by
default) is actually empty.
2011-09-05 17:46:24 +02:00
Fabio Erculiani 80b6849c06 [entropy.client.misc] FileUpdates: make possible to look for CONFIG_PROTECT directories across multiple repositories 2011-09-05 17:44:28 +02:00
Fabio Erculiani f2b49cae58 [entropy.client.loaders] add entropy_repository keyword arg to PackageFileUpdates 2011-09-05 17:35:31 +02:00
Fabio Erculiani f2ed1b6c64 [entropy.client.misc] FileUpdates: make possible to provide arbitrary EntropyRepositoryBase objects 2011-09-05 17:32:20 +02:00
Fabio Erculiani ce0844f816 [entropy.server] make use of Entropy SPM "execute_system_qa_tests" method during repository push 2011-09-05 13:25:07 +02:00
Fabio Erculiani 13603bdce8 [entropy.spm] add new method "execute_system_qa_tests" for hooking SPM related, system-wide QA tests 2011-09-05 13:24:07 +02:00
Fabio Erculiani 8ed49f0fbf Release Entropy 1.0_rc48 2011-09-04 23:26:43 +02:00
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