From a5ecd1b2302d0def2f6f8349747022a615a9f017 Mon Sep 17 00:00:00 2001 From: Tamas K Lengyel Date: Tue, 26 May 2020 13:27:50 -0600 Subject: [PATCH] Don't limit to email with @gmail.com --- go/sendgmail/main.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/go/sendgmail/main.go b/go/sendgmail/main.go index b35ef23..405aa1b 100644 --- a/go/sendgmail/main.go +++ b/go/sendgmail/main.go @@ -30,7 +30,6 @@ import ( "log" "net/smtp" "os" - "strings" "golang.org/x/oauth2" googleOAuth2 "golang.org/x/oauth2/google" @@ -52,9 +51,6 @@ func init() { func main() { flag.Parse() - if atDomain := "@gmail.com"; !strings.HasSuffix(sender, atDomain) { - log.Fatalf("-sender must specify an %v email address.", atDomain) - } config := getConfig() tokenPath := fmt.Sprintf("%v/.sendgmail.%v.json", os.Getenv("HOME"), sender) if setUp { -- 2.32.0 > Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/system/file-systems.scm
AgeCommit message (Expand)Author
2020-10-01Instantiate nscd in each system container....* gnu/system/linux-container.scm (%nscd-container-caches): New variable. (containerized-operating-system): Instantiate nscd-service with smaller caches and add it to the generated operating-system, replacing any nscd-service specified by the caller. * gnu/system/file-systems.scm: (%network-file-mappings): Remove "/var/run/nscd". Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Jason Conroy
2020-08-03file-systems: Leave room for extension in serialized specs....* gnu/system/file-systems.scm (spec->file-system): Ignore extra fields. (file-system->spec): Add comment. Ludovic Courtès
2020-07-31file-system: Add efivarfs support....Tools such as efibootmgr rely on the deprecated /sys/firmware/efi/vars API as well as on the new /sys/firmware/efi/efivars API. The latter needs to be mounted. Reported by Keyhenge here: https://lists.gnu.org/archive/html/bug-guix/2020-04/msg00274.html Here is the efivarfs documentation: https://www.kernel.org/doc/Documentation/filesystems/efivarfs.txt. * gnu/system/file-systems.scm (%efivars-file-system): New exported variable, (%base-file-systems): add it. * gnu/system/install.scm (%efivars-file-system): Add it. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Mathieu Othacehe
2020-07-31file-system: Add mount-may-fail? option....* gnu/system/file-systems.scm (<file-system>): Add a mount-may-fail? field. (file-system->spec): adapt accordingly, (spec->file-system): ditto. * gnu/build/file-systems.scm (mount-file-system): If 'system-error is raised and mount-may-fail? is true, ignore it. Otherwise, re-raise the exception. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Mathieu Othacehe
2020-07-31file-systems: Add %debug-file-system....* gnu/system/file-systems.scm (%debug-file-system): New variable, (%base-file-systems): add it. Mathieu Othacehe
2020-07-25file-systems: Convey hint via '&fix-hint'....* gnu/system/file-systems.scm (btrfs-store-subvolume-file-name): Use '&fix-hint' for the hint. Ludovic Courtès