aboutsummaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2014-07-30tools/generate-change-log: workaround for broken Text::WrapGravatar Sven Nierlein
workaround for broken Text::Wrap: "This shouldn't happen at /usr/share/perl/5.18/Text/Wrap.pm line 84." changing huge to overflow make generating changelogs work again at the price of not having changelog strictly cut of at 80 columns anymore. Words longer than 80 characters will now printed in one line. This mainly affects old sf.net urls. Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2014-07-30no need for the signed off messages in our changelogGravatar Sven Nierlein
Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2014-01-21Capitalize "Monitoring Plugins"Gravatar Holger Weiss
"Monitoring Plugins" is a name.
2014-01-20Minor fixes to be amended into "rename" commitGravatar Holger Weiss
2014-01-19Project rename initial commit.Gravatar Monitoring Plugins Development Team
This is an initial take at renaming the project to Monitoring Plugins. It's not expected to be fully complete, and it is expected to break things (The perl module for instance). More testing will be required before this goes mainline.
2013-10-02tools: Update CVS referencesGravatar Jan Wagner
We moved our stuff from CVS/SourceForge to Git/GitHub.
2013-09-28Add tools/generate-change-logGravatar Holger Weiss
Add the tools/generate-change-log script for auto-generating the ChangeLog file from the Git history when running "make dist".
2013-09-27tools: Remove Drupal/SourceForge scriptsGravatar Holger Weiss
We moved our web site away from Drupal and the snapshots/guidelines away from SourceForge. The new infrastructure scripts will be maintained in a separate repository together with the Markdown source of the new web site.
2013-09-27Remove tools/git2svn.plGravatar Holger Weiss
We no longer mirror out Git repositories into Subversion.
2013-08-30Merge branch 'hw/update-pm'Gravatar Holger Weiss
* hw/update-pm: Use own variable instead of ENV Updated with last working copy of build_perl_modules used by Opsview Conflicts: tools/build_perl_modules
2013-08-23Use own variable instead of ENVGravatar Ton Voon
2013-08-23Updated with last working copy of build_perl_modules used by OpsviewGravatar Ton Voon
2013-08-23perlmods: fixed install_orderGravatar Sven Nierlein
on older systems Module::Build is not available by default, therefore we have to change the order of installation.
2013-08-21Updated perl modulesGravatar Ton Voon
2013-08-20Update the bundled Params::Validate moduleGravatar Holger Weiss
Building the old version fails with recent Perl releases: | Validate.xs: In function `get_type': | Validate.xs:208:5: error: duplicate case value | Validate.xs:205:5: error: previously used here
2012-11-07Fix sfwebcron probe fileGravatar Thomas Guyot-Sionnest
The initial file was created in the user's home and later tested in the doc directory. Instead, just rsync if the file is missing. Also add some temporary files to gitignore/make clean
2012-11-03Update toolsGravatar dermoth
- fix sfwebcron (tool updating sf developer guidelines) - remove obsolete snapshot script
2012-11-03Add scripts that update man pages in drupalGravatar dermoth
2011-01-01Update the README textGravatar Thomas Guyot-Sionnest
2010-10-11sfsnapshotgit: Better handling of remote refsGravatar Thomas Guyot-Sionnest
This commit allow to track branches from unusually-named remote refs and makes possible using external remotes (other than origin) for snapshots.
2010-07-14Added text re: MD5SUM updates in nightlies, but tarballs notGravatar Ton Voon
2010-07-02git-notify: Be careful with "--no-merge"Gravatar Holger Weiss
The "-X" option (which asks git-notify to not report merge commits) was implemented by setting the "--no-merge" option on each invocation of git-rev-list(1). However, we do not only use git-rev-list(1) to get the list of new commits, but also to check whether the old branch head (or tag) is a parent of the new branch head (or tag). For this latter check, the "--no-merge" option should not be set; otherwise, git-notify would be fooled to believe that the branch has been rewritten if the old head was a merge commit.
2010-04-28tools/distclean: use git-clean when possibleGravatar Thomas Guyot-Sionnest
git-clean is much faster and more reliable... Also add confdefs.h in gitignore, although this file is normally removed at the end of the configure script.
2010-04-14git-notify: Fix the ordering of commitsGravatar Holger Weiss
If notifications for multiple commits are created, sort them chronologically instead of in reverse chronological order.
2010-04-12Sync with the latest Gnulib code (177f525)Gravatar Thomas Guyot-Sionnest
Signed-off-by: Thomas Guyot-Sionnest <dermoth@aei.ca>
2009-12-07git-notify: Pipe e-mails directly to sendmail(8)Gravatar Holger Weiss
Use sendmail(8) instead of mail(1) in order to be able to set the "Content-Type" header field on systems where the available mail(1) command doesn't allow for setting it. This makes the "-H" flag (cf. commit 71350c5a) unnecessary.
2009-12-06Enable CIA's commit notificationsGravatar Holger Weiss
We now use CIA's service to send commit notifications to IRC. They are currently sent to the #Nagios-Devel channel on Freenode. See: http://cia.vc/stats/project/nagiosplug/ http://cia.vc/account/bots/15699/
2009-11-19Updated link to sfsnapshotgitGravatar Ton Voon
2009-11-11Fix fetching of remote branchesGravatar Thomas Guyot-Sionnest
2009-11-11Many fixes to snapshot scriptsGravatar dermoth
sfsnapshotgit: - Use fetch/reset instead to pull to avoid merges on forced updates sfsnapshot-upload: - Fix link deletion walking the entire home dir - Allow CLEAN_TIME=0 (no retention) - Re-add per-branch links when CLEAN_TIME > 0 - Add many comments
2009-11-07Git commit notifications via post-receive hookGravatar Holger Weiss
Now that we moved our Git repositories to SourceForge, we don't need to maintain local clones for generating commit notifications anymore, as SourceForge provides shell access to the repositories. Instead, we now run git-notify as a post-receive hook on the SourceForge server. Actually, we use a wrapper which executes git-notify with the desired options and which makes it easy to add other post-receive hooks in the future.
2009-11-07git-notify: Support SourceForge repositoriesGravatar Holger Weiss
The Gitweb URLs for repositories hosted by SourceForge are slightly different than other Gitweb URLs. The correct URL cannot be specified via "-u" if we append "/$repos_name.git/?" to that URL as we usually do. If the new "-S" flag is specified or "notify.sourceforge" is set, we'll append "/$repos_name;" instead, which makes the "-u" option usable for SourceForge repositories.
2009-11-07git-notify: Optionally call mail(1) without "-a"Gravatar Holger Weiss
Not all mail(1) implementations support specifying additional header fields via "-a": with some, this flag is used for attaching files, others don't provide an "-a" flag at all (this is true for the /bin/mail utility currently installed on the SourceForge servers, for example). We now provide the "-H" flag and the "notify.legacyMail" configuration key for these cases.
2009-11-07git-notify: Polish up the "tag notifications"Gravatar Holger Weiss
Use better labels for the tag ref and the SHA1 name of the tag object.
2009-11-07git-notify: Distinguish between tag typesGravatar Holger Weiss
Distinguish between annotated tags and lightweight tags. In the former case, send an annotated "tag notification", in the latter case, send a "ref change notification" (as we did in both cases before).
2009-11-07git-notify: Fix "global" notificationsGravatar Holger Weiss
If the number of commits included with a single push exceeds the maximum specified via "-n", a single notification will be generated instead of individual e-mails. For listing the commits within such a notification, git-rev-list(1)'s "--pretty" option is used. This yields output which the git_rev_list() subroutine didn't accept. That's now fixed.
2009-11-07git-notify: Optionally [tag] the subjectGravatar Holger Weiss
If the new "-T" option is specified or "notify.emitRepository" is set, the subject of e-mail notifications will be prefixed with [<tag>], where <tag> is the name of the updated repository.
2009-11-07git-notify: Optionally omit the author nameGravatar Holger Weiss
If the new "-A" option is specified (or "notify.omitAuthor" is set), the author name will be omitted from the subject of e-mail notifications.
2009-11-07git-notify: Make abbreviating Gitweb URLs optionalGravatar Holger Weiss
The SHA1 object name part of Gitweb URLs is now only shortened if the user requested this by specifying the new "-z" option (or by setting "notify.shortURLs"). While at it, also shorten the additional URL which references a diff in e-mail notifications which don't include that diff inline because its size exceeds the maximum number of bytes specified via "-s". Note that while the abbreviated SHA1 object names will be unique at push time, this cannot be guaranteed for the future, so the shortened URLs might break some day.
2009-11-07git-notify: Make showing the committer optionalGravatar Holger Weiss
Only the author's name and address will now be mentioned in a commit notification by default. However, if the "-C" option is specified (or "notify.showCommitter" is set), the committer's name and address will also be included in the notification if the committer is not the author of the commit (as we previously did by default).
2009-11-07git-notify: Make using a state file optionalGravatar Holger Weiss
Making use of a state file in order to prevent duplicate notifications is now optional. The user must explicitly specify a file path via the "-t" option or by setting the git-config(1) variable "notify.statefile" to activate this functionality.
2009-11-07git-notify: Don't abort if mail(1) exits non-zeroGravatar Holger Weiss
As nothing in git-notify depends on the success of the mail(1) call, don't abort if it fails, just spit out a warning.
2009-11-07git-notify: Drop the $sent_notices variableGravatar Holger Weiss
Now that we don't ignore empty commits anymore, there's no need to keep track of the number of commits actually notified about, as that will always be equal to the number of commits returned by get_new_commits().
2009-11-07Revert "git-notify: Ignore `empty' commits"Gravatar Holger Weiss
This reverts commit db63fbfa036f5cd757aedf4547fef9e195a8c285, as it is no longer needed and we'd like to keep the diff against the git-notify version maintained by the Wine people as small as possible. The purpose of db63fbfa was to suppress notifications on empty merge commits, which can now be requested directly by specifying git-notify's "-X" option. (Our change was implemented before the "-X" option was available, even though the Git history suggests otherwise.) Conflicts: tools/git-notify
2009-11-07Revert "git-notify: Remove unused [...] code"Gravatar Holger Weiss
This reverts commit 5445b9769f254781e482062bacc6603a5cd63059. Alexandre Julliard pointed out that the code in question was used if git-notify was explicitly called with the SHA1 name of an annotated tag object. At the moment, the code in question actually _is_ unused due to later modifications, but it wasn't at the time 5445b976 was committed, and we'll add further changes so that the code will be used again in the future. Conflicts: tools/git-notify
2009-11-06git-notify: Minor cosmetic changesGravatar Holger Weiss
Fix the description of the "-U" option.
2009-10-29Allow rsyncing to local pathsGravatar Thomas Guyot-Sionnest
2009-10-29Add snapshots upload scriptsGravatar Thomas Guyot-Sionnest
2009-10-26git-notify: Make the state file group writableGravatar Holger Weiss
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 subroutineGravatar Holger Weiss
The gitweb_url() subroutine was an unused and empty hangover.