From 854490dc4a8a6a661b4750730c3ff749519f6e36 Mon Sep 17 00:00:00 2001 From: Philip McGrath Date: Sun, 14 Nov 2021 10:14:24 -0500 Subject: [PATCH] sendgmail: accept and ignore a "-gsuite" flag Accepting a "-gsuite" flag provides compatability with https://github.com/Flameeyes/gmail-oauth2-tools/commit/eabb456 so users do not have to change their scripts or config files. Full hash of original: eabb45608ff4ce04045ff4ea92d05450e789ac81 Related to https://github.com/google/gmail-oauth2-tools/pull/17 --- go/sendgmail/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/go/sendgmail/main.go b/go/sendgmail/main.go index 405aa1b..5cfd0c1 100644 --- a/go/sendgmail/main.go +++ b/go/sendgmail/main.go @@ -40,6 +40,7 @@ var ( setUp bool dummyF string dummyI bool + gsuite bool ) func init() { @@ -47,6 +48,7 @@ func init() { flag.BoolVar(&setUp, "setup", false, "If true, sendgmail sets up the sender's OAuth2 token and then exits.") flag.StringVar(&dummyF, "f", "", "Dummy flag for compatibility with sendmail.") flag.BoolVar(&dummyI, "i", true, "Dummy flag for compatibility with sendmail.") + flag.BoolVar(&gsuite, "gsuite", true, "Dummy flag for compatibility with other forks of sendgmail.") } func main() { -- 2.32.0 ets?id=096f442d7d98246eb9d003592f68689a631fd6af'>commitdiff
path: root/etc/snippets
AgeCommit message (Expand)Author
2019-05-09Add (guix bzr-download)....* guix/bzr-download.scm, guix/build/bzr.scm, etc/snippets/scheme-mode/guix-bzr-reference: New files. * Makefile.am (MODULES): Add them. * etc/snippets/scheme-mode/guix-origin: Add "bzr-fetch" to the origin choices. Maxim Cournoyer
2019-03-26etc: Add "rename" snippet....* etc/snippets/text-mode/guix-commit-message-rename-package: New file. Pierre Neidhardt
2019-03-08etc: snippets: Prefill package name....* etc/snippets/text-mode/guix-commit-message-add-package: Extract package name from diff. Ricardo Wurmus
2019-03-07etc: snippets: Prefill package name and version....* etc/snippets/text-mode/guix-commit-message-update-package: Extract package name and version from git diff output. Ricardo Wurmus
2018-10-10etc: Use git-file-name if origin is git-fetch....* etc/snippets/scheme-mode/guix-origin: Use git-file-name. Pierre Neidhardt
2018-07-13etc: snippets: Add guix-commit-message-use-https-home-page....* etc/snippets/text-mode/guix-commit-message-use-https-home-page: New file. * doc/contributing.texi (The Perfect Setup): Document new snippet. Arun Isaac
2018-07-13etc: snippets: Add new build systems to package snippet....* etc/snippets/scheme-mode/guix-package: Add android-ndk-build-system and scons-build-system as possibilities for the build-system field. Arun Isaac
2017-12-15etc: Add snippets....* etc/snippets/scheme-mode/guix-cvs-reference, etc/snippets/scheme-mode/guix-git-reference, etc/snippets/scheme-mode/guix-hg-reference, etc/snippets/scheme-mode/guix-origin, etc/snippets/scheme-mode/guix-package, etc/snippets/scheme-mode/guix-svn-reference, etc/snippets/text-mode/guix-commit-message-add-package, etc/snippets/text-mode/guix-commit-message-update-package: New files. * doc/contributing.texi (The Perfect Setup): Document snippets. Ricardo Wurmus