SVNNOTIFY(1p)
NAME π
okay bestie, gather round, because this is svnnotify from the SVNNOTIFY(1p) manual β it's the little tool that yells at your group chat (well, your inbox) every time somebody commits to a Subversion repo. It's giving Subversion activity notification. no cap. π¦
β¨ USAGE β¨
like, the entire vibe in one line:
svnnotify --repos-path "$1" --revision "$2" [options]
that's it. that's the whole thing. you feed it a repo path and a revision and it goes off. π
π OPTIONS π
okay this is the long part but literally every single one matters, so stay with me bestie, we're doing all of them:
-p,--repos-pathPATH β the path to the Subversion repository. Required. no repos, no party. π-r,--revisionREVISION β the commit revision number. Required. again, non-negotiable.-t,--toADDRESS β the email address the notification gets sent to. Required unless you're using--to-regex-map.-x,--to-regex-mapTO=REGEX β a mapping between a destination email address and a regular expression that gets matched against the directories touched by the commit. Required unless you use--toor--to-email-map. the way it's literally routing your mail by folder, iconic. π§--to-email-mapREGEX=TO β the inverse of--to-regex-map: you map a regular expression to an email address instead. Required unless you use--toor--to-regex-map.-f,--fromADDRESS β the email address that goes in theFromheader. who's sending this, bestie?-D,--user-domainDOMAIN β domain name that gets appended to the username so theFromheader has a full, complete email address. β¨-l,--svnlookSVNLOOK β where thesvnlookexecutable lives.-s,--sendmailSENDMAIL β where thesendmailexecutable lives.-E,--set-senderβ sets the envelope sender to the from address. lowkey important, don't sleep on it.--smtpADDRESS β the address of an SMTP server.--smtp-userUSERNAME β username for authenticating to a SMTP server.--smtp-passPASSWORD β password for authenticating to a SMTP server. π€«--smtp-portPORT β the port to connect to on the SMTP server.--smtp-tlsβ enables a TLS/SSL connection to the SMTP server. secure-ish queen. π-c,--encodingENCODING β the character encoding used for reading and writing data.--svn-encodingENCODING β the character encoding of the log message and the repository files.--diff-encodingENCODING β the character encoding of the repository files. (yes, just the files this time π)-g,--languageLANGUAGE β the value for theContent-Languageheader and the$LANGenvironment variable.-d,--with-diffβ include the diff in the message. showing your work, we love that. π₯-a,--attach-diffβ attach the diff to the message instead.-w,--diff-switchesSWITCHES β switches to pass tosvnlook diff.--diff-content-typeTYPE β sets theContent-Typefor diff attachments.-R,--reply-toADDRESS β the address for theReply-Toheader.--add-headerNAME=VALUE β adds an extra header to the email. custom queen behavior.-P,--subject-prefixPREFIX β a string to prepend to the subject line.-C,--subject-cxβ include the context of the commit in the subject. π-X,--strip-cx-regexβ a regex to remove part of the CX file name from the subject.-O,--no-first-lineβ do not include the first line of the log message in the subject.-i,--max-sub-lengthLENGTH β the maximum size of the subject line. keep it cute, keep it short. π-e,--max-diff-lengthLENGTH β the maximum size of the diff output.-H,--handlerHANDLER β the notification handler, like"HTML".-F,--filterFILTER β an output filter, like"Markdown".-A,--author-urlURL β include a link to the specified author URL.-U,--revision-urlURL β include links to the specified Revision URL.-T,--rt-urlURL β include links to the specified Request Tracker URL.-B,--bugzilla-urlURL β include links to the specified Bugzilla URL.-J,--jira-urlURL β include links to the specified JIRA URL.-G,--gnats-urlURL β include links to the specified Gnats URL.--ticket-mapREGEX=URL β a regex and URL for custom ticket identifiers. making your own rules fr fr.--headerHEADER β text header to display before the body.--footerFOOTER β text footer to display at the end of the body.-V,--verboseβ incremental verbose mode. it just keeps talking. π-h,--helpβ prints this usage statement and exits.-m,--manβ prints the complete documentation and exits. (the full lore drop)-v,--versionβ prints the version number and exits.
ngl, more options may be supported by whatever subclass ofSVN::Notifyyou specified with the--handleroption, or by filters you specified with the--filteroption. so consult the docs for those relevant modules, bestie, because there's more where that came from. π«Ά
πΈ SEE ALSO πΈ
see SVN::Notify for the complete documentation. and if you're having issues with character encodings (and honestly, who isn't π), see especially the Character Encoding Support section. that's your girl.
π AUTHOR π
David E. Wheeler <david@justatheory.com> β absolute legend, main character energy, we stan. π
β COPYRIGHT AND LICENSE β
Copyright (c) 2004-2018 David E. Wheeler. Some Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
and that's the whole page, bestie!! π¦β¨ this was written against perl v5.36.0, dated 2022-11-20, and it's the SVNNOTIFY(1p) manual β go commit something cute π π
π¦ where this page comes from
- debian bookworm: libsvn-notify-perl 2.87-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libsvn-notify-perl 2.87-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libsvn-notify-perl 2.87-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libsvn-notify-perl 2.87-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libsvn-notify-perl 2.87-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms