unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Tanguy LE CARROUR <tanguy@bioneland.org>
Cc: Christopher Baines <mail@cbaines.net>, guix-devel@gnu.org
Subject: Re: Notes from discussion on Quality Assurance from the 10 Years of Guix event
Date: Wed, 19 Oct 2022 22:31:15 +0300	[thread overview]
Message-ID: <Y1BQgzOlYt6vRm7O@3900XT> (raw)
In-Reply-To: <166610995881.29629.5985110023514931507@localhost>

[-- Attachment #1: Type: text/plain, Size: 3512 bytes --]

On Tue, Oct 18, 2022 at 06:19:18PM +0200, Tanguy LE CARROUR wrote:
> Hi Chris,
> 
> Quoting Tanguy LE CARROUR (2022-10-05 16:01:40)
> > Quoting Christopher Baines (2022-09-18 17:55:30)
> > > […]
> > >  - Maybe script making contributions like updating packages
> > >  - Make a similar tool to Debian's how can I help
> > >    - Try to avoid suggesting updating packages with lots of dependencies
> > 
> > `guix how-can-i-help` would be amazing! Something that would:
> > - list all the packages in my current profile that can be updated,
> >   sorted by number of dependent packages; and
> 
> Just to let you know that, even if I haven't written `guix
> how-can-i-help` (yet), I've just written a `guix-refresh-all` that tells me:
> 
> ```console
> $ guix-refresh-all
> gnu/packages/freedesktop.scm:2164:13: udiskie would be upgraded from 2.3.3 to 2.4.2
> gnu/packages/wm.scm:1584:13: sway would be upgraded from 1.6.1 to 1.7
> gnu/packages/wireservice.scm:205:13: csvkit would be upgraded from 1.0.5 to 1.0.7
> gnu/packages/mail.scm:610:13: neomutt would be upgraded from 20211029 to 20220429
> gnu/packages/mpd.scm:445:13: cantata would be upgraded from 2.4.2 to 2.5.0
> gnu/packages/mail.scm:1326:13: notmuch would be upgraded from 0.36 to 0.37
> gnu/packages/rust-apps.scm:190:13: bat would be upgraded from 0.20.0 to 0.22.1
> gnu/packages/wm.scm:1704:13: swaybg would be upgraded from 1.0 to 1.1.1
> gnu/packages/terminals.scm:1334:13: alacritty would be upgraded from 0.9.0 to 0.16.0
> gnu/packages/gnupg.scm:830:2: pinentry-gtk2 would be upgraded from 1.2.0 to 1.2.1
> gnu/packages/linux.scm:8793:13: wireplumber would be upgraded from 0.4.11 to 0.4.12
> gnu/packages/libreoffice.scm:1059:13: libreoffice would be upgraded from 7.3.5.2 to 7.4.2.3
> gnu/packages/mpd.scm:112:13: mpd would be upgraded from 0.23.8 to 0.23.10
> gnu/packages/linphone.scm:801:13: linphone-desktop would be upgraded from 4.2.5 to 4.4.10
> gnu/packages/messaging.scm:2171:13: profanity would be upgraded from 0.13.0 to 0.13.1
> gnu/packages/gnome.scm:3060:13: libnotify would be upgraded from 0.7.9 to 0.8.1
> gnu/packages/gnupg.scm:287:13: gnupg would be upgraded from 2.2.32 to 2.3.8
> gnu/packages/rust-apps.scm:455:13: fd would be upgraded from 8.1.1 to 8.4.0
> gnu/packages/curl.scm:66:12: curl would be upgraded from 7.79.1 to 7.85.0
> gnu/packages/terminals.scm:929:13: go-github-com-junegunn-fzf would be upgraded from 0.25.0 to 0.34.0
> gnu/packages/xorg.scm:1767:13: setxkbmap would be upgraded from 1.3.2 to 1.3.3
> gnu/packages/file.scm:65:13: file would be upgraded from 5.41 to 5.43
> gnu/packages/ncurses.scm:45:13: ncurses would be upgraded from 6.2.20210619 to 6.3
> ```
> 
> So now, I know what I'll do tomorrow! 😅
> 
> 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.

> Yeah, I know… ugly! But, it does (part of) the job! 😎
> 
> Happy hacking!
> 
> -- 
> Tanguy
> 

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2022-10-19 19:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-18 15:55 Notes from discussion on Quality Assurance from the 10 Years of Guix event Christopher Baines
2022-10-05 14:01 ` Tanguy LE CARROUR
2022-10-05 16:51   ` Christopher Baines
2022-10-09 15:58     ` Tanguy LE CARROUR
2022-10-18 16:19   ` Tanguy LE CARROUR
2022-10-19  9:57     ` zimoun
2022-10-23 15:40       ` Tanguy LE CARROUR
2022-10-24  7:34         ` zimoun
2022-10-24 11:43           ` Tanguy LE CARROUR
2022-10-23 21:33       ` kiasoc5
2022-10-19 19:31     ` Efraim Flashner [this message]
2022-10-23 15:48       ` Tanguy LE CARROUR
2022-10-24  7:44         ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y1BQgzOlYt6vRm7O@3900XT \
    --to=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    --cc=mail@cbaines.net \
    --cc=tanguy@bioneland.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).