summaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2009-10-26git-notify: Make the state file group writableHolger Weiss1-0/+7
For shared repositories, the state file used by git-notify should usually be group writable, so we now set the umask to 0002 by default. This can be adjusted by setting the "notify.umask" configuration key or by using the "-U" option on the command line.
2009-10-26git-notify: Remove an empty subroutineHolger Weiss1-5/+0
The gitweb_url() subroutine was an unused and empty hangover.
2009-10-25git-update-mirror: Remove a useless sed(1) callHolger Weiss1-1/+1
The sed(1) command in question was a hangover which had no effect anymore.
2009-10-24git-notify: Check the exit status of pipesHolger Weiss1-5/+5
Properly check the exit status of all processes we execute and abort on error.
2009-10-24git-notify: Handle non-UTF-8 commitsHolger Weiss1-5/+8
Make sure that commit messages which use an encoding other than US-ASCII or UTF-8 are handled correctly. Also, assume that the diff contents use the same encoding as the commit message. This assumption may well be wrong, but that's the best we can do.
2009-10-24git-notify: Don't generate duplicate notificationsHolger Weiss1-0/+61
Never notify on a given commit more than once, even if it's referenced via multiple branch heads. We make sure this won't happen simply by maintaining a list of commits we notified about. The file path used for saving this list can be specified using the new "-t" option. (The contrib/hooks/post-receive-email script distributed with Git tries hard to avoid such a list, but it doesn't get the necessary magic right.)
2009-10-24git-nofity: Try to shorten Gitweb URLsHolger Weiss1-1/+18
Instead of using the full SHA1 values of commit object names within Gitweb URLs, try to abbreviate them to a shorter unique name.
2009-10-24git-notify: Move the Gitweb URL to the bottomHolger Weiss1-1/+1
In commit notifications, specify the Gitweb URL (if any) at the bottom of the ASCII "table" which summarizes the commit. That looks better.
2009-10-24git-notify: Truncate summary after 50 charactersHolger Weiss1-1/+15
If the first line of a commit message is longer than 50 characters, truncate it before adding the resulting string to the subject line of a notification. This makes sure the subject line won't get too long (unless the commit author name is unusually long, which we don't check). The Git User's Manual recommends keeping the first line of a commit message shorter than that, anyway: | Though not required, it's a good idea to begin the commit message with | a single short (less than 50 character) line summarizing the change, | followed by a blank line and then a more thorough description. Tools | that turn commits into email, for example, use the first line on the | Subject line and the rest of the commit in the body. [ http://www.kernel.org/pub/software/scm/git/docs/user-manual.html ]
2009-10-24git-notify: Send notifications on ref changes, tooHolger Weiss1-22/+68
Do not only generate notifications on commits, but also if a branch head or lightweight tag was created, removed, or modified. Notifications on branch head updates are omitted if one or more commit notification have been generated and the branch head now references a descendant of the originally referenced commit (which should be the usual case).
2009-10-24git-notify: Call git-rev-list(1) via a subroutineHolger Weiss1-9/+26
Add a subroutine which abstracts away executing git-rev-list(1) and checking the result in order to avoid code duplication.
2009-10-24git-notify: Mention the committer where applicableHolger Weiss1-0/+1
If the committer is not the author of the commit, mention the committer in addition to the author.
2009-10-24git-notify: New subroutine for column alignmentHolger Weiss1-5/+32
Most notifications include an ASCII "table" with two columns. The formatting of these columns is now handled by the new format_table() subroutine, so that the alignment can easily be changed in the future.
2009-10-24git-notify: Ignore "empty" commitsHolger Weiss1-4/+6
Omit notifications regarding commits which don't change the tree whatsoever.
2009-10-24git-notify: Remove unused tag notification codeHolger Weiss1-55/+22
The code which handles notifications regarding tags was unused, as only objects listed by git-rev-list(1) are considered, and git-rev-list(1) never spits out the sha1 of a tag object.
2009-10-24git-notify: Save author without trailing spaceHolger Weiss1-1/+1
Adjust the regular expression which catches the commit author name so that it doesn't include the space character which follows that name.
2009-10-24Import git-update-mirror and git-notifyHolger Weiss2-0/+525
Import the (self-written) git-update-mirror script, which updates clones of Git repositories and then calls git-notify (in just the same way as a post-receive hook would be called by Git). The git-notify script is imported from git://source.winehq.org/git/tools.git (commit: 03d66f34) and generates notifications on repository changes. We'll use these scripts for generating our commit e-mails.
2009-09-26Change default for SFSNAP_DESTThomas Guyot-Sionnest1-1/+1
2009-09-26Correcting name and email addressThomas Guyot-Sionnest1-1/+1
2009-09-26Enhancements to tools/sfsnapshotgitThomas Guyot-Sionnest1-28/+46
2009-09-25Add sfsnapshotgitnagiosplugins1-0/+52
2009-03-18Fix logging of STDERR in tinderbox tests phaseThomas Guyot-Sionnest1-3/+3
2009-01-19Build extra-opts in tinderbox so they can be testedThomas Guyot-Sionnest1-2/+2
2009-01-06git2svn: Use --add-author-from with "git set-tree"Thomas Guyot-Sionnest1-2/+2
2009-01-06tinderbox_build: Add --enable-libtap configure optionThomas Guyot-Sionnest1-2/+2
2009-01-06tinderbox_build: Clarify commentThomas Guyot-Sionnest1-1/+1
2008-12-02Updated to latest due to SF policy changesTon Voon1-15/+22
2008-11-28Revert inclusion of libtap into nagiospluginsThomas Guyot-Sionnest1-3/+0
(except for the NEWS file) This reverts the following commits (latest first): f3e0909, 9f16b54, be8df51, f31cd40, 5270c7d, a25083f, f1bfe40, c503d85 and 6c476db
2008-11-27tinderbox: Don't alter SunOS path if we're building off a repository treeThomas Guyot-Sionnest1-2/+4
SunOS make will work only out of snapshots and releases.
2008-11-24tools/distclean: No need to bailout on distclean failuresThomas Guyot-Sionnest1-2/+1
2008-11-24Revert "tinderbox: Comment out additional PATH conponent added for SunOS builds"Thomas Guyot-Sionnest1-5/+3
This reverts commit 088452683cf881c6ed717cc559ca2eee3faa95ca.
2008-11-23tinderbox: Comment out additional PATH conponent added for SunOS buildsThomas Guyot-Sionnest1-3/+5
2008-11-23Removing CVS/SVN tags and replacing with git-based versioningThomas Guyot-Sionnest5-5/+130
For contrib/, full tags have been imported from subversion git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2091 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-14Helper script to upload tarballs to SF and create md5sumTon Voon1-0/+27
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2081 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-08Fix for tar on SolarisTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2074 f882894a-f735-0410-b71e-b25c423dba1c
2008-10-21Updated tinderbox serverTon Voon1-1/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2060 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-21Fix regexp of version number of snapshotTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2041 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-21Renamed altered tap file to nagios-pluginsTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2039 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-05Set -D_FORTIFY_SOURCE=2, and added a comment with link to explaination of ↵Thomas Guyot-Sionnest1-1/+2
this flag. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2028 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-10Add -D_FORTIFY_SOURCEThomas Guyot-Sionnest1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2024 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-08Removed libtap configuration for the moment, as tinderbox buildsTon Voon1-2/+2
are breaking git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2020 f882894a-f735-0410-b71e-b25c423dba1c
2008-06-30Fixed bug in tools/setup if docbook was runTon Voon1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2015 f882894a-f735-0410-b71e-b25c423dba1c
2008-06-26Adding libtap into distribution to help run C based testsTon Voon2-2/+5
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2013 f882894a-f735-0410-b71e-b25c423dba1c
2008-02-28Fix where PERL5LIB is blankTon Voon1-1/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1936 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-09make test-debug generate lots of false errors in tinderbox. Turning off ↵Thomas Guyot-Sionnest1-2/+2
until we find a solution (so al least we can watch the tinderbox for breakages again) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1904 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-12Run tinderbox builds in a test debug mode using "make test-debug"Ton Voon1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1866 f882894a-f735-0410-b71e-b25c423dba1c
2007-11-09Adding test for base64 libThomas Guyot-Sionnest1-0/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1818 f882894a-f735-0410-b71e-b25c423dba1c
2007-10-25Automatically update website with --help output. CosmeticTon Voon1-0/+44
fixes for some help output git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1810 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-15Remove "-Wtraditional" from our development GCC flags. We use ANSI C.Holger Weiss1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1778 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-13Adding in optional Nagios::Plugin perl module (andTon Voon1-0/+86
dependencies) compilation and installation git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1777 f882894a-f735-0410-b71e-b25c423dba1c