Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 753546 Details for
Bug 825066
eapply_user(): Improve output
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
portage.patch (text/plain), 1.77 KB, created by
Arfrever Frehtes Taifersar Arahesis
on 2021-11-19 22:42:01 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Arfrever Frehtes Taifersar Arahesis
Created:
2021-11-19 22:42:01 UTC
Size:
1.77 KB
patch
obsolete
>From acdf9df76271256f69c33fb263ffbe5ad201befc Mon Sep 17 00:00:00 2001 >From: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> >Date: Fri, 19 Nov 2021 22:00:00 +0000 >Subject: [PATCH] eapply_user(): Add message about applying user patches and > minor decoration. > >Bug: https://bugs.gentoo.org/825066 >Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> >--- > bin/phase-helpers.sh | 14 +++++++++++++- > 1 file changed, 13 insertions(+), 1 deletion(-) > >diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh >index 94f4f24f2..6a078caad 100644 >--- a/bin/phase-helpers.sh >+++ b/bin/phase-helpers.sh >@@ -1139,6 +1139,10 @@ if ___eapi_has_eapply_user; then > > local basedir=${PORTAGE_CONFIGROOT%/}/etc/portage/patches > >+ local columns=${COLUMNS:-0} >+ [[ ${columns} == 0 ]] && columns=$(set -- $( ( stty size </dev/tty ) 2>/dev/null || echo 24 80 ) ; echo $2) >+ (( columns > 0 )) || (( columns = 80 )) >+ > local applied d f > local -A _eapply_user_patches > local prev_shopt=$(shopt -p nullglob) >@@ -1170,6 +1174,11 @@ if ___eapi_has_eapply_user; then > while read -r -d '' f; do > f=${_eapply_user_patches[${f}]} > if [[ -s ${f} ]]; then >+ if [[ -z ${applied} ]]; then >+ einfo "${PORTAGE_COLOR_INFO}$(for ((column = 0; column < ${columns} - 3; column++)); do echo -n =; done)${PORTAGE_COLOR_NORMAL}" >+ einfo "Applying user patches from ${basedir} ..." >+ fi >+ > eapply "${f}" > applied=1 > fi >@@ -1179,7 +1188,10 @@ if ___eapi_has_eapply_user; then > > ${prev_shopt} > >- [[ -n ${applied} ]] && ewarn "User patches applied." >+ if [[ -n ${applied} ]]; then >+ einfo "User patches applied." >+ einfo "${PORTAGE_COLOR_INFO}$(for ((column = 0; column < ${columns} - 3; column++)); do echo -n =; done)${PORTAGE_COLOR_NORMAL}" >+ fi > } > fi > >-- >2.34.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 825066
:
753542
| 753546