GNU bug report logs -
#57646
[PATCH 0/3] teams: Add scope support.
Previous Next
Reported by: Mathieu Othacehe <othacehe <at> gnu.org>
Date: Wed, 7 Sep 2022 15:21:02 UTC
Severity: normal
Tags: patch
Done: Mathieu Othacehe <othacehe <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hey,
> * the dependency on Guile-Git means that the script must be run inside a
> suitable environment now, whereas previously it had no dependencies
> other than Guile. If we can assume that people use Guix perhaps we
> should do what doc/build.scm does and use Guix to arrange for
> dependencies to be available.
Right, for now I went for the easiest solution and proposed the following
example in the documentation:
--8<---------------cut here---------------start------------->8---
$ guix shell -D guix
[env]$ git send-email $(./etc/teams.scm cc-members HEAD~2 HEAD) *.patch
--8<---------------cut here---------------end--------------->8---
> * I don’t like the “if” + “null?” pattern:
>
> + (if (not (null? (team-scope team)))
> + (format #f "scope: ~{~s ~}~%" (team-scope team))
> + ""))
>
> I’d prefer using match:
>
> (match (team-scope team)
> (() "")
> (scope (format #f "scope: ~{~s ~}~%" scope)
>
> * With Liliana’s added support for regexes, the previous patch to record
> scopes for the installer etc should be adjusted.
Fixed!
Thanks,
Mathieu
This bug report was last modified 2 years and 296 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.