OpenBSD CVS

CVS log for src/usr.bin/cvs/trigger.c


[BACK] Up to [local] / src / usr.bin / cvs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.23 / (download) - annotate - [select for diffs], Thu Nov 5 09:48:21 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, HEAD
Changes since 1.22: +19 -31 lines
Diff to previous 1.22 (colored)

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

Revision 1.22 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:07 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.21: +5 -5 lines
Diff to previous 1.21 (colored)

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 1.21 / (download) - annotate - [select for diffs], Wed Jan 8 13:23:55 2014 UTC (10 years, 4 months ago) by okan
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.20: +6 -5 lines
Diff to previous 1.20 (colored)

unsigned char for ctype. ok deraadt

Revision 1.20 / (download) - annotate - [select for diffs], Fri May 20 19:22:47 2011 UTC (13 years ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.19: +1 -2 lines
Diff to previous 1.19 (colored)

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 1.19 / (download) - annotate - [select for diffs], Fri Oct 29 17:49:37 2010 UTC (13 years, 6 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

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

From Michael W Bombardieri via ray@.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jul 23 21:46:05 2010 UTC (13 years, 9 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.17: +35 -35 lines
Diff to previous 1.17 (colored)

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

OK xsa zinovik

Revision 1.17 / (download) - annotate - [select for diffs], Thu Mar 19 09:55:19 2009 UTC (15 years, 2 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.16: +5 -4 lines
Diff to previous 1.16 (colored)

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 1.16 / (download) - annotate - [select for diffs], Fri Aug 29 09:51:21 2008 UTC (15 years, 8 months ago) by tobias
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.15: +87 -24 lines
Diff to previous 1.15 (colored)

Support for variable expansion in trigger files added.

ok joris

Revision 1.15 / (download) - annotate - [select for diffs], Fri Aug 29 09:46:10 2008 UTC (15 years, 8 months ago) by tobias
Branch: MAIN
Changes since 1.14: +16 -17 lines
Diff to previous 1.14 (colored)

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

ok joris

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jun 17 17:15:56 2008 UTC (15 years, 11 months ago) by tobias
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.13: +8 -4 lines
Diff to previous 1.13 (colored)

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

ok joris

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jun 17 17:09:21 2008 UTC (15 years, 11 months ago) by tobias
Branch: MAIN
Changes since 1.12: +1 -5 lines
Diff to previous 1.12 (colored)

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

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jun 11 02:02:08 2008 UTC (15 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

spacing

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jun 10 14:40:54 2008 UTC (15 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.10: +10 -10 lines
Diff to previous 1.10 (colored)

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

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jun 10 05:01:36 2008 UTC (15 years, 11 months ago) by tobias
Branch: MAIN
Changes since 1.9: +5 -7 lines
Diff to previous 1.9 (colored)

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

ok joris

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jun 10 04:38:46 2008 UTC (15 years, 11 months ago) by tobias
Branch: MAIN
Changes since 1.8: +7 -4 lines
Diff to previous 1.8 (colored)

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

ok joris

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jun 10 04:01:41 2008 UTC (15 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.7: +9 -1 lines
Diff to previous 1.7 (colored)

append "- Imported sources" for imports.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jun 10 03:55:50 2008 UTC (15 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.6: +14 -2 lines
Diff to previous 1.6 (colored)

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

ok tobias@

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jun 10 03:33:21 2008 UTC (15 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.5: +8 -3 lines
Diff to previous 1.5 (colored)

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

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jun 10 03:18:59 2008 UTC (15 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.4: +8 -3 lines
Diff to previous 1.4 (colored)

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

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jun 10 02:36:31 2008 UTC (15 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

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

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jun 10 02:08:49 2008 UTC (15 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

missing header

Revision 1.2 / (download) - annotate - [select for diffs], Tue Jun 10 02:07:58 2008 UTC (15 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

style

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jun 10 01:00:35 2008 UTC (15 years, 11 months ago) by joris
Branch: MAIN

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@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.