Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921944 - repos.conf: set quiet/normal/verbose sync for each repository
Summary: repos.conf: set quiet/normal/verbose sync for each repository
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-12 17:04 UTC by Soren Harward
Modified: 2024-01-12 17:04 UTC (History)
0 users

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 Soren Harward 2024-01-12 17:04:44 UTC
By default, `emaint sync' runs all sync commands at normal verbosity. If the PORTAGE_QUIET environment variable is set, then all sync commands are run quietly. It should be possible to set quiet/verbose for individual repos. Like, main gentoo repo is sync'd quietly, but overlays are sync'd with default output.  

This is somewhat possible by using the sync-*-extra-opts variables in repos.conf.  But it's not completely possible in the case of git.  There's a sync-git-pull-extra-opts variable, by which `git pull' can be made quiet.  But emaint also runs `git merge' (see https://gitweb.gentoo.org/proj/portage.git/tree/lib/portage/sync/modules/git/git.py?id=1339a02103f57c456851d69d427bc130bcb671bc#n411), and the only way to get `git merge' to run quietly is to set PORTAGE_QUIET (see https://gitweb.gentoo.org/proj/portage.git/tree/lib/portage/sync/modules/git/git.py?id=1339a02103f57c456851d69d427bc130bcb671bc#n405).

It would be nice to have a 'sync-quiet' and a 'sync-verbose' option available in the repository section of repos.conf for granular, per-repo setting of sync verbosity, no matter what sync method is used.