Holger Weiss
a6b3296897
git-nofity: Try to shorten Gitweb URLs
...
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-24 22:55:44 +02:00
Holger Weiss
aa5dfec917
git-notify: Move the Gitweb URL to the bottom
...
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-24 22:55:43 +02:00
Holger Weiss
15920fb433
git-notify: Truncate summary after 50 characters
...
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-24 22:53:55 +02:00
Holger Weiss
a5fa304ce3
git-notify: Send notifications on ref changes, too
...
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-24 11:44:33 +02:00
Holger Weiss
709d238041
git-notify: Call git-rev-list(1) via a subroutine
...
Add a subroutine which abstracts away executing git-rev-list(1) and
checking the result in order to avoid code duplication.
2009-10-24 11:44:29 +02:00
Holger Weiss
e31d34fc90
git-notify: Mention the committer where applicable
...
If the committer is not the author of the commit, mention the committer
in addition to the author.
2009-10-24 11:44:25 +02:00
Holger Weiss
56c46014d0
git-notify: New subroutine for column alignment
...
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-24 11:44:21 +02:00
Holger Weiss
db63fbfa03
git-notify: Ignore "empty" commits
...
Omit notifications regarding commits which don't change the tree
whatsoever.
2009-10-24 11:44:16 +02:00
Holger Weiss
5445b9769f
git-notify: Remove unused tag notification code
...
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-24 11:44:10 +02:00
Holger Weiss
51771dc540
git-notify: Save author without trailing space
...
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-24 11:44:00 +02:00
Holger Weiss
7f1844835d
Import git-update-mirror and git-notify
...
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-10-24 11:42:52 +02:00
Thomas Guyot-Sionnest
c3150e6708
Change default for SFSNAP_DEST
2009-09-26 18:04:34 -04:00
Thomas Guyot-Sionnest
415d5f5bbe
Correcting name and email address
2009-09-26 15:46:11 -04:00
Thomas Guyot-Sionnest
5b801b81a9
Enhancements to tools/sfsnapshotgit
2009-09-26 15:18:01 -04:00
nagiosplugins
9b550c5a96
Add sfsnapshotgit
2009-09-25 09:34:37 +00:00
Thomas Guyot-Sionnest
d5ea0d19fa
Fix logging of STDERR in tinderbox tests phase
2009-03-18 03:34:39 -04:00
Thomas Guyot-Sionnest
1f12b2329d
Build extra-opts in tinderbox so they can be tested
2009-01-19 00:11:59 -05:00
Thomas Guyot-Sionnest
3169745fa2
git2svn: Use --add-author-from with "git set-tree"
2009-01-06 00:49:16 -05:00
Thomas Guyot-Sionnest
c74e49f365
tinderbox_build: Add --enable-libtap configure option
2009-01-06 00:39:57 -05:00
Thomas Guyot-Sionnest
1c62d78750
tinderbox_build: Clarify comment
2009-01-06 00:39:18 -05:00
Ton Voon
d2f56c4e86
Updated to latest due to SF policy changes
2008-12-02 17:24:33 +00:00
Thomas Guyot-Sionnest
538b97cea6
Revert inclusion of libtap into nagiosplugins
...
(except for the NEWS file)
This reverts the following commits (latest first): f3e0909 , 9f16b54 , be8df51 , f31cd40 , 5270c7d , a25083f , f1bfe40 , c503d85 and 6c476db
2008-11-28 03:22:39 -05:00
Thomas Guyot-Sionnest
d40abb2504
tinderbox: Don't alter SunOS path if we're building off a repository tree
...
SunOS make will work only out of snapshots and releases.
2008-11-27 06:27:47 -05:00
Thomas Guyot-Sionnest
bd7a70eef1
tools/distclean: No need to bailout on distclean failures
2008-11-24 02:08:39 -05:00
Thomas Guyot-Sionnest
b505870842
Revert "tinderbox: Comment out additional PATH conponent added for SunOS builds"
...
This reverts commit 088452683c .
2008-11-24 01:45:17 -05:00
Thomas Guyot-Sionnest
088452683c
tinderbox: Comment out additional PATH conponent added for SunOS builds
2008-11-23 17:52:09 -05:00
Thomas Guyot-Sionnest
6fbd14fea5
Removing CVS/SVN tags and replacing with git-based versioning
...
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-23 05:38:47 +00:00
Ton Voon
e77ddaf6db
Helper script to upload tarballs to SF and create md5sum
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2081 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-14 20:38:26 +00:00
Ton Voon
c4c897ea96
Fix for tar on Solaris
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2074 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-08 01:03:39 +00:00
Ton Voon
ab4deccff3
Updated tinderbox server
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2060 f882894a-f735-0410-b71e-b25c423dba1c
2008-10-21 09:11:48 +00:00
Ton Voon
6a8240dd78
Fix regexp of version number of snapshot
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2041 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-21 15:15:54 +00:00
Ton Voon
5270c7d960
Renamed altered tap file to nagios-plugins
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2039 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-21 15:12:11 +00:00
Thomas Guyot-Sionnest
01969557b7
Set -D_FORTIFY_SOURCE=2, and added a comment with link to explaination of this flag.
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2028 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-05 11:14:40 +00:00
Thomas Guyot-Sionnest
9b94f99b2c
Add -D_FORTIFY_SOURCE
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2024 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-10 10:03:49 +00:00
Ton Voon
a25083faf9
Removed libtap configuration for the moment, as tinderbox builds
...
are breaking
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2020 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-08 10:09:11 +00:00
Ton Voon
f5e7e7eb40
Fixed bug in tools/setup if docbook was run
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2015 f882894a-f735-0410-b71e-b25c423dba1c
2008-06-30 14:32:53 +00:00
Ton Voon
6c476db6dc
Adding libtap into distribution to help run C based tests
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2013 f882894a-f735-0410-b71e-b25c423dba1c
2008-06-26 22:00:08 +00:00
Ton Voon
f00e6a9676
Fix where PERL5LIB is blank
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1936 f882894a-f735-0410-b71e-b25c423dba1c
2008-02-28 12:54:49 +00:00
Thomas Guyot-Sionnest
34fdd021f9
make test-debug generate lots of false errors in tinderbox. Turning off 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
2008-01-09 04:27:52 +00:00
Ton Voon
151531173b
Run tinderbox builds in a test debug mode using "make test-debug"
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1866 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-12 01:27:48 +00:00
Thomas Guyot-Sionnest
1ac40064c5
Adding test for base64 lib
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1818 f882894a-f735-0410-b71e-b25c423dba1c
2007-11-09 22:01:33 +00:00
Ton Voon
cf0dee616a
Automatically update website with --help output. Cosmetic
...
fixes for some help output
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1810 f882894a-f735-0410-b71e-b25c423dba1c
2007-10-25 20:43:04 +00:00
Holger Weiss
e91e92e163
Remove "-Wtraditional" from our development GCC flags. We use ANSI C.
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1778 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-15 11:34:48 +00:00
Ton Voon
0708e6fa81
Adding in optional Nagios::Plugin perl module (and
...
dependencies) compilation and installation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1777 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-13 11:36:57 +00:00
Holger Weiss
ff8bf04d3a
If the TMPDIR environment variable is set, use that instead of "/tmp" as
...
the installation directory.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1767 f882894a-f735-0410-b71e-b25c423dba1c
2007-07-27 15:49:01 +00:00
Ton Voon
ff50baf6de
Updated to use svn instead of cvs
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1760 f882894a-f735-0410-b71e-b25c423dba1c
2007-07-24 00:35:16 +00:00
Thomas Guyot-Sionnest
26a7d1c1bc
Making Solaris happy
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1705 f882894a-f735-0410-b71e-b25c423dba1c
2007-05-02 10:11:58 +00:00
Ton Voon
b9b27ab255
Test installs into temporary directories
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1701 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-25 22:21:35 +00:00
Ton Voon
fe856aa957
Sync with gnulib - lots of extraneous code removed in preference to GNU code
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1580 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-24 22:47:25 +00:00
Thomas Guyot-Sionnest
d2a434d4db
Adding my distclean script
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1558 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-04 11:18:41 +00:00