[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-user
Subject:    Re: [gentoo-user] Highlight certain packages being upgraded
From:       Dale <rdalek1967 () gmail ! com>
Date:       2023-07-14 0:02:25
Message-ID: 4209a03a-c728-d3c2-23a3-d5681d7f4132 () gmail ! com
[Download RAW message or body]

Neil Bothwick wrote:
> On Thu, 13 Jul 2023 02:16:13 -0500, Dale wrote:
>
>>> Then run
>>>
>>> emerge --options @world -p --color y | sed -f packages.script
>>>
>>> It highlights any of the packages in your file in bright red. See
>>> https://gist.github.com/fnky/458719343aabd01cfb17a3a4f7296797 for a
>>> list of colour options.
>> Like Wol's idea, that's a extra step.  I was wanting it to just do it
>> when running emerge -auDN world with no additional steps except creating
>> the file for the package list. 
> That is the only extra step, unless you mean that you have to run with -p
> to see the highlighted output. That takes a lot less time than you have
> invested in this so far.
>
> Actually, I've checked and you can run this with --ask instead or -p, so
> no extra steps involved. The only limitation is that you don't see the
> Y/n prompt at the end of the ask output. Create an alias to the command,
> or wrap it in a script that also runs the sed command first and the
> number of extra steps becomes exactly zero.
>
>

And I have no clue how to do any of that.  Like I said, emerge just
isn't ready for anything like this.  I was hoping there may be some
option, config file or something that I can use to do this and it just
work.  I think if there was such a thing, someone would have mentioned
it long ago.  Maybe one day something like this will be added.  Then
again, maybe not. 

Thanks to all for trying tho. 

Dale

:-)  :-) 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic