Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 547878 - 'emerge --sync -q' should print something
Summary: 'emerge --sync -q' should print something
Status: RESOLVED WONTFIX
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:
Depends on:
Blocks:
 
Reported: 2015-04-27 09:03 UTC by Agostino Sarubbo
Modified: 2023-12-14 08:46 UTC (History)
1 user (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 Agostino Sarubbo gentoo-dev 2015-04-27 09:03:54 UTC
We have 2 cases:

1) 'emerge $package -q' prints just what I'm emerging.
2) 'emerge --sync -q' does not print anything.


I think is a good idea make something to to give to the user a chance to understand if the process is going or not.
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2015-04-27 14:57:10 UTC
That would be a side effect of moving the sync code to emaint.  Emaint does not print anything for running from other scripts.

It would be easy to add a few print statements in _emerge.actions again to cover the -q.
Comment 2 Alexander Berntsen (RETIRED) gentoo-dev 2015-06-18 12:34:44 UTC
Some people seem to rely on --sync -q not printing anything for their cron scripts. I agree that it's really bad to have a program print nothing at all, but it's something to keep in mind. We should ask ourselves what users want. Or, rather, we should ask them. I suggest you open a forum poll or gentoo-users ML thread that you can link us to.
Comment 3 Agostino Sarubbo gentoo-dev 2015-06-18 13:24:22 UTC
(In reply to Alexander Berntsen from comment #2)
> Some people seem to rely on --sync -q not printing anything for their cron
> scripts. I agree that it's really bad to have a program print nothing at
> all, but it's something to keep in mind. We should ask ourselves what users
> want. Or, rather, we should ask them. I suggest you open a forum poll or
> gentoo-users ML thread that you can link us to.

If users do not want anything because of cron, they are free to use > /dev/null 2>&1.

I'm just asking a pair of lines that make clear what is happening
Comment 4 Alexander Berntsen (RETIRED) gentoo-dev 2015-06-18 13:28:08 UTC
(In reply to Agostino Sarubbo from comment #3)
> If users do not want anything because of cron, they are free to use >
> /dev/null 2>&1.
Just like they are free to not use Gentoo if they don't like it. Point is: we don't change the UX unless we have to. People get what may be disproportionately upset about minor UI or output changes. And they sure as hell don't like being told YDIW.

> I'm just asking a pair of lines that make clear what is happening
I get that. But I don't like random people yelling at me on IRC about something that didn't really have to change anyway. This change just strikes me as a matter of preference, and I don't have one myself.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-24 21:04:24 UTC
I feel like we can't win here. People want us to be more unix-like and then also they don't. Just check the exit code with -q?
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-14 08:46:30 UTC
(In reply to Sam James from comment #5)
> I feel like we can't win here. People want us to be more unix-like and then
> also they don't. Just check the exit code with -q?

I'm going to call this WONTFIX.