Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875812 - emerge --quiet --sync is not quiet for git any more
Summary: emerge --quiet --sync is not quiet for git any more
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on: 873757
Blocks: 559012
  Show dependency tree
 
Reported: 2022-10-07 08:32 UTC by Micha Glave
Modified: 2023-12-14 09:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Micha Glave 2022-10-07 08:32:12 UTC
Since a couple of days, `emerge-sync` returns on std-out the path to the synced git-repositories: 

```
~> emerge --sync -q 
/var/db/repos/alpha-quadrant
/var/db/repos/qownnotes-overlay
~>
```
Comment 1 Larry the Git Cow gentoo-dev 2022-10-21 02:34:21 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=f101272f139e1494dcef90554bbc24db5f66d401

commit f101272f139e1494dcef90554bbc24db5f66d401
Author:     Philipp Rösner <rndxelement@protonmail.com>
AuthorDate: 2022-10-18 20:40:03 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-20 23:36:19 +0000

    sync: git: Fix sync printing local repo path
    
    In the add_safe_directory method in the git sync module
    the subprocess calling 'git config --get safe.directory <repo_location>'
    prints the path to the local repo.
    Directing the subprocess output to DEVNULL fixes the issue.
    
    Bug: https://bugs.gentoo.org/875812
    Signed-off-by: Philipp Rösner <rndxelement@protonmail.com>
    Closes: https://github.com/gentoo/portage/pull/924
    Signed-off-by: Sam James <sam@gentoo.org>

 NEWS                                | 2 ++
 lib/portage/sync/modules/git/git.py | 6 ++++--
 2 files changed, 6 insertions(+), 2 deletions(-)
Comment 2 Larry the Git Cow gentoo-dev 2022-11-20 03:05:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=203e0d0083b5e7d8098785ec8862c02f6baf5534

commit 203e0d0083b5e7d8098785ec8862c02f6baf5534
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-11-20 03:04:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-20 03:05:40 +0000

    sys-apps/portage: add 3.0.39
    
    Closes: https://bugs.gentoo.org/365655
    Closes: https://bugs.gentoo.org/757525
    Closes: https://bugs.gentoo.org/871573
    Closes: https://bugs.gentoo.org/875812
    Closes: https://bugs.gentoo.org/875860
    Closes: https://bugs.gentoo.org/877215
    Closes: https://bugs.gentoo.org/877271
    Closes: https://bugs.gentoo.org/877357
    Closes: https://bugs.gentoo.org/877419
    Closes: https://bugs.gentoo.org/873757
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/portage/Manifest              |   1 +
 sys-apps/portage/portage-3.0.39.ebuild | 273 +++++++++++++++++++++++++++++++++
 2 files changed, 274 insertions(+)