git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/3] Improve checks for valid_fqdn in send-email and update documentation
@ 2025-05-08 10:31 Aditya Garg
  2025-05-08 10:31 ` [PATCH v5 1/3] send-mail: improve checks for valid_fqdn Aditya Garg
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Aditya Garg @ 2025-05-08 10:31 UTC (permalink / raw)
  To: Junio C Hamano, git
  Cc: M Hickford, Julian Swagemakers, sandals, Eric Sunshine, Zi Yao,
	Kristoffer Haugsbakk

Hi all

This series of patches mainly has two changes:

1. Improve the checks for valid_fqdn in send-email to be more strict and
   compliant with RFC1035.
2. Update the documentation for send-email to include examples of using
   OAuth2.0 with Gmail and Outlook, as well as links to the credential
   helpers for these services.

P.S. I have used `git-credential-outlook` linked in the second and third
patch for this email!

v2: - Improve grammar and add missing "" in second patch.
    - Separate footnotes and the trailer block with a blank line in the first
      patch.

v3: - Change link for email helpers since old one was too long.

v4: - Improve log message of first and second patch.
    - Update valid_fqdn check in first patch to allow one or more <upto 63
      octet run of alnum or hyphen that does not begin or end with hyphen>,
      separated by a single dot in between each.
    - Revert the documentation regarding sending patches to a mailing list
      in the second patch.

v5: - Simplify the regex in the first patch to check for valid FQDN.
    - Fix formatting in the second patch to make it more readable.

Aditya Garg (3):
  send-mail: improve checks for valid_fqdn
  docs: improve send-email documentation
  docs: add credential helper for outlook and gmail in OAuth list of
    helpers

 Documentation/git-send-email.adoc | 63 +++++++++++++++++++++++++++----
 Documentation/gitcredentials.adoc |  4 ++
 git-send-email.perl               |  4 +-
 3 files changed, 62 insertions(+), 9 deletions(-)

-- 
2.49.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-05-08 14:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-08 10:31 [PATCH v5 0/3] Improve checks for valid_fqdn in send-email and update documentation Aditya Garg
2025-05-08 10:31 ` [PATCH v5 1/3] send-mail: improve checks for valid_fqdn Aditya Garg
2025-05-08 10:31 ` [PATCH v5 2/3] docs: improve send-email documentation Aditya Garg
2025-05-08 10:31 ` [PATCH v5 3/3] docs: add credential helper for outlook and gmail in OAuth list of helpers Aditya Garg
2025-05-08 14:56 ` [PATCH v5 0/3] Improve checks for valid_fqdn in send-email and update documentation Junio C Hamano

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 NNTP newsgroup(s).