History log of /openbsd-current/usr.bin/cvs/trigger.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.23 05-Nov-2015 nicm

Remove xfree(), like already done for RCS. From Michael W Bombardieri,
ok mmcc


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.22 16-Jan-2015 deraadt

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.21 08-Jan-2014 okan

unsigned char for ctype. ok deraadt


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.20 20-May-2011 nicm

Remove a silly XXX for a bit of code that is only used once - no value
in making it a function. From Michael W Bombardieri.


Revision tags: OPENBSD_4_9_BASE
# 1.19 29-Oct-2010 nicm

Nuke some unused variables and remove an unnecessary call to dirname().

From Michael W Bombardieri via ray@.


Revision tags: OPENBSD_4_8_BASE
# 1.18 23-Jul-2010 ray

Reduce variable/function name and whitespace differences between
cvs/rcs.

OK xsa zinovik


Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.17 19-Mar-2009 joris

only pass the real $var to expand_vars() instead of the entire
line, this way commitinfo and stuff works again.

found by myself the hard way, fix by tobias@
who's not around to commit.


Revision tags: OPENBSD_4_5_BASE
# 1.16 29-Aug-2008 tobias

Support for variable expansion in trigger files added.

ok joris


# 1.15 29-Aug-2008 tobias

If parsing of a command in one of the trigger files fails, treat this as an
error instead of ignoring it.

ok joris


Revision tags: OPENBSD_4_4_BASE
# 1.14 17-Jun-2008 tobias

Plug memory and file descriptor leaks, diff by Jonathan Armani.

ok joris


# 1.13 17-Jun-2008 tobias

Regular expressions to match repository are allowed to have % in front.
Diff by Jonathan Armani.


# 1.12 11-Jun-2008 joris

spacing


# 1.11 10-Jun-2008 joris

files that have been removed should be passing "NONE" to scripts
as their new revision, so they can be picked up as being removed.


# 1.10 10-Jun-2008 tobias

We have a cvs_buf_puts implementation now, also use cvs_buf_putc instead
of cvs_buf_append where appropiate.

ok joris


# 1.9 10-Jun-2008 tobias

If we encounter an error during expanding line of a trigger file, print an
actually useful error message.

ok joris


# 1.8 10-Jun-2008 joris

append "- Imported sources" for imports.


# 1.7 10-Jun-2008 joris

newly added directories need "- New directory" to be passed to the
loginfo script.

ok tobias@


# 1.6 10-Jun-2008 joris

pass the basename(3) for file_path to the script, so we do not get
weird double modules names in the logs;


# 1.5 10-Jun-2008 joris

newly added files should pass "NONE" for their initial revision, unbreaks
more scripts that depend on this.


# 1.4 10-Jun-2008 joris

loginfo allows 't' as well - unbreaks certain loginfo scripts.


# 1.3 10-Jun-2008 joris

missing header


# 1.2 10-Jun-2008 joris

style


# 1.1 10-Jun-2008 joris

New trigger framework that allows us to run the required scripts
defined in CVSROOT/commitinfo and CVSROOT/loginfo and so on.

This enables the use of log_accum2 and all that other nice stuff we like.

This was mostly written by Jonathan Armani with help from tobias@ and myself.

ok tobias@