aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* egencache: Fix correct variable for repo_path.infraRobin H. Johnson2015-11-221-1/+1
| | | | | | Copy & paste error :-(. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* egencache --update-changelogs: Respect GIT_DIRMichał Górny2015-11-221-5/+1
| | | | | | | | | | | | Allow generating ChangeLogs from external git checkout via using GIT_DIR, rather than requiring the repository to be git. Note: zmedico's suggestion to drop the chdir included. X-URL: https://archives.gentoo.org/gentoo-portage-dev/message/181d99a68918ef659d5947b27c3ff322 X-URL: https://archives.gentoo.org/gentoo-portage-dev/message/24c479a4e994c5d896526a0f65f3db46 Acked-by: Zac Medico <zmedico@gentoo.org> Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* portage.util.locale: fix python2.7 setlocale ValueError (bug 566372)Zac Medico2015-11-221-1/+3
| | | | | | | | The locale.setlocale function raises ValueError with python2.7 if it is given a unicode argument. X-Gentoo-Bug: 566372 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=566372
* portage.util.locale: enable absolute_import (bug 566372)Zac Medico2015-11-211-2/+1
| | | | | | | | | Since commit e5ba8d096e56495a9b516cea818d48e104d62bca, absolute_import is required for python2 compatibility. Fixes: e5ba8d096e56 ("EAPI 6: Enforce posixish LC_CTYPE") X-Gentoo-Bug: 566372 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=566372
* eapply_user: die if current phase is not src_prepareZac Medico2015-11-181-0/+2
|
* src_prepare: Do not expect eapply_user in EAPIs not having itMichał Górny2015-11-181-1/+1
|
* EAPI 6: Fail if eapply_user is not called in src_prepare()Michał Górny2015-11-172-0/+7
|
* Updates for a releasev2.2.25Brian Dolbec2015-11-173-1/+19
|
* repoman: Update in_iuse & get_libdir inherit check for EAPI 6Michał Górny2015-11-161-1/+6
| | | | | | Update the eclass inherit check not to complain about in_iuse and get_libdir in EAPI 6 since they no longer require the respective eclasses.
* util/locale: Fix IndentationError in check_localeZac Medico2015-11-151-0/+1
| | | | Fixes: 90ccd027ee56 ("util/locale: Cache check_locale() results for specific locales")
* util/locale: Cache check_locale() results for specific localesMichał Górny2015-11-151-9/+21
|
* Enable EAPI 6Michał Górny2015-11-151-1/+1
|
* EAPI 6: Enforce posixish LC_CTYPEMichał Górny2015-11-152-4/+32
|
* EAPI 6: Enforce LC_COLLATE=C in ebuild environmentMichał Górny2015-11-153-2/+33
|
* Warn if LC_CTYPE does not transform ASCII chars like POSIXMichał Górny2015-11-152-0/+93
| | | | | | Output a warning if LC_CTYPE is set to a value that causes libc toupper() and/or tolower() conversions not apply correctly to printable ASCII characters.
* __eapi6_src_prepare: Silence 'declare -p PATCHES' errorsMichał Górny2015-11-141-1/+1
| | | | | | Silence the error message when PATCHES array is not declared. Reviewed-by: Zac Medico <zmedico@gentoo.org>
* eapply: Ensure that files are sorted lexicallyMichał Górny2015-11-141-3/+8
| | | | | | | Ensure that patch files are sorted lexically even when both *.diff and *.patch files co-exist within a single directory. Reviewed-by: Zac Medico <zmedico@gentoo.org>
* eapply: Fix off-by-one error when parsing optionsMichał Górny2015-11-141-1/+1
| | | | | | | Fix off-by-one error that skipped the first path when processing options without a double-hyphen. Reviewed-by: Zac Medico <zmedico@gentoo.org>
* eapply: Fix typoMichał Górny2015-11-141-1/+2
| | | | Reviewed-by: Zac Medico <zmedico@gentoo.org>
* _emerge.main.emerge_main(): Make locale variables from configuration files ↵Arfrever Frehtes Taifersar Arahesis2015-11-131-1/+14
| | | | affect locale of emerge process.
* GenChangeLogs: parallelize remaining git calls, scale linearly (bug 565540)Zac Medico2015-11-131-15/+18
| | | | | | | | | Move all git calls to the subprocesses, so performance scales linearly with --jobs. X-Gentoo-Bug: 565540 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=565540 Acked-by: Alexander Berntsen <bernalex@gentoo.org>
* FindVCS: support optional cwd argumentZac Medico2015-11-131-5/+15
| | | | | | | | Since os.chdir calls may not be safe to use in threads, iterators, or event-driven code, make FindVCS support a cwd argument which defaults to the current working directory. Acked-by: Alexander Berntsen <bernalex@gentoo.org>
* ebuild: unset all funcs/vars that start with ___Mike Frysinger2015-11-121-1/+3
| | | | | | Since the __* (two) namespace is reserved, and ___* (three) has rarely (if ever) been used in ebuilds, we can nuke all funcs/vars that start with that. It makes clean up easier for us.
* ebuild: clear __bashpid & __start_distcc from envMike Frysinger2015-11-121-0/+1
| | | | These are internal funcs that should not be exported into the env.
* ebuild: set up bash compat levelsMike Frysinger2015-11-123-1/+51
| | | | | | | | To try and provide better stability across bash versions, set the language compat level based on the current EAPI. This does not ban newer features, it tells bash to use the older bash behavior when the behavior changes across versions.
* bin/phase-helpers: Fix accidental syntax errorMichał Górny2015-11-121-2/+2
|
* egencache: fix results when GIT_DIR is used in the environment.Robin H. Johnson2015-11-121-8/+22
| | | | | | | | | | | | If GIT_DIR is used, and .git is outside the root of the checkout, then --work-tree=... needs to be specified, otherwise any Git command that relies on relative directories to the root will be wrong. Also ensure that diff-tree's --relative argument is explicitly told what path to make the relative output for, rather rely on it being relative to work-tree. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* eapply: Order files using POSIX localeMichał Górny2015-11-121-0/+1
|
* eapply: Pass exit status through on non-fatal failuresMichał Górny2015-11-121-4/+6
|
* eapply_user: Make idempotent per changes to EAPI 6Michał Górny2015-11-121-0/+4
|
* EAPI 6: Revert support for profile- and repo-level directoriesMichał Górny2015-11-121-1/+1
| | | | | Revert the support for profile- and repository-level directories that has been voted out of EAPI 6.
* eapply: Update default patch argumentsMichał Górny2015-11-121-1/+4
|
* eapply: Update parameter splitting to match the specMichał Górny2015-11-121-10/+34
|
* in_iuse: Make fatal in global scopeMichał Górny2015-11-121-0/+1
| | | | Reference: https://archives.gentoo.org/gentoo-pms/message/4a6bb2839e47407fa71cecb19a054375
* Merge branch 'master' of git+ssh://git.gentoo.org/proj/portageBrian Dolbec2015-11-1211-58/+139
|\
| * egencache: Delay updating Manifests until all other tasks completeMichał Górny2015-11-121-23/+23
| | | | | | | | | | | | | | | | Since thick Manifests can reference other files (ChangeLogs especially), their generation should be run as the lask task done by egencache, followed only by timestamp update. Fixes: https://bugs.gentoo.org/565626
| * egencache: parallelize --update-changelogs (bug 565540)Zac Medico2015-11-122-6/+23
| | | | | | | | | | | | | | | | | | Use the TaskScheduler class to parallelize GenChangeLogs. Fix AsyncFunction so it does not re-define 'args' in __slots__. X-Gentoo-Bug: 565540 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=565540 Acked-by: Brian Dolbec <dolsen@gentoo.org>
| * bin/save-ebuild-env.sh: remove bogus __1 function namesZac Medico2015-11-111-1/+1
| | | | | | | | | | | | | | | | | | In commit 9b19ac5696c487dab58d7c10990fe07fd7f1f731, these bogus __1 values were inserted where unset_colors and set_colors used to be. The unset_colors and set_colors function have been renamed to have __ prefixes, and they are correctly unset further down. Fixes: 9b19ac5696c4 ("Convert funcs of isolated-functions.sh to __ prefixed namespace.")
| * checkbashisms: also flag echo -e/-n usageMike Frysinger2015-11-101-1/+1
| | | | | | | | | | Since we don't require echo support the -e or -n flag, and we know some shells do not support them, make sure we flag them in our scripts too.
| * repos.conf: support sync-hooks-only-on-change attribute (bug 565172)Zac Medico2015-11-104-18/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If sync-hooks-only-on-change is set to true, do not trigger postsync hooks unless hooks would have executed for a master repository or the repository has changed since the previous sync operation. If the user has not explicitly enabled sync-hooks-only-on-change in repos.conf, then execute all hooks regardless of whether or not anything has changed (for backward compatibility). X-Gentoo-Bug: 565172 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=565172 Acked-by: Brian Dolbec <dolsen@gentoo.org>
| * GitSync: skip metadata-transfer when appropriate (bug 564988)Zac Medico2015-11-071-1/+10
| | | | | | | | | | | | | | | | Set updatecache_flg to False if the git revision is unchanged. X-Gentoo-Bug: 564988 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=564988 Acked-by: Brian Dolbec <dolsen@gentoo.org>
| * RsyncSync: skip metadata-transfer when appropriate (bug 564988)Zac Medico2015-11-071-7/+10
| | | | | | | | | | | | | | | | | | | | Fix flaws in logic involving the updatecache_flg variable, in order to skip metadata-transfer when sync fails (or the server timestamp has not changed). X-Gentoo-Bug: 564988 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=564988 Acked-by: Brian Dolbec <dolsen@gentoo.org>
| * emerge-delta-webrsync: fix incorrect bzip2 file path argumentXiami2015-11-051-1/+1
| |
* | Bump version, update RELEASE-NOTESv2.2.24Brian Dolbec2015-11-042-1/+20
|/ | | | Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* AbstractEbuildProcess: validate cgroup release agentZac Medico2015-11-031-0/+18
| | | | | | | | | Since commit e6be71af3f67ea274db455e9c24d5f84bd372c39, the release agent can refer to a temporary file if it was set while portage was updating itself. Fix it to reset the release agent when necessary. Fixes: e6be71af3f67 ("AbstractEbuildProcess: remove cgroup with release_agent (bug 561264)") Acked-by: Brian Dolbec <dolsen@gentoo.org>
* egencache --update-changelogs: Support reversing orderMichał Górny2015-11-022-3/+16
|
* egencache --update-changelogs: Support setting ChangeLog file nameMichał Górny2015-11-022-3/+17
|
* egencache --update-changelogs: Replace $Header$ with autogen noteMichał Górny2015-11-021-1/+1
|
* egencache --update-changelogs: Ignore all ChangeLog* filesMichał Górny2015-11-021-1/+1
|
* setup: clean up various lint warningsMike Frysinger2015-11-011-8/+11
| | | | | | Import print_function since we already use print as a func here. Delete unused vars or mark them with _ prefixes.