[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Notes from discussion on Quality Assurance from the 10 Years of Guix
From: |
Tanguy LE CARROUR |
Subject: |
Re: Notes from discussion on Quality Assurance from the 10 Years of Guix event |
Date: |
Sun, 23 Oct 2022 17:48:36 +0200 |
User-agent: |
alot/0.10 |
Hi Efraim,
Quoting Efraim Flashner (2022-10-19 21:31:15)
> On Tue, Oct 18, 2022 at 06:19:18PM +0200, Tanguy LE CARROUR wrote:
> > Quoting Tanguy LE CARROUR (2022-10-05 16:01:40)
> > > Quoting Christopher Baines (2022-09-18 17:55:30)
> > […]
> > This is no magic scheme, it's just an alias for:
> >
> > ```console
> > $ guix package -I | awk '{print $1}' | tr '\n' ' ' | xargs guix refresh
> > 2>&1 | ag -v "already" | ag -v "failed" | ag -v "no updater" | ag -v
> > "warning"
> > ```
>
> I'd like to suggest swapping out the ag options for a grep option:
> grep -v -E '(already|failed|no updater|warning|redirection)'
> _should_ work, but I haven't tested that myself yet.
Right! Those multiple `-v` looked weird!
Thanks to your suggestion, I now have:
```console
$ guix package -I | awk '{print $1}' | tr '\n' ' ' | xargs guix refresh 2>&1 \
| ag -v '(already|failed|no updater|warning|redirection)'
```
Regards,
--
Tanguy