Bring in new features and bugfixes from CVS:
- Remove the listBuildPortsQueue error when there are no ports in the queue. - Teach sendBuildCompletionMail how to lookup a user by both name and ID. This will fix the problem where tinderd doesn't send build completion mail. - Add a -u argument to addBuildPortsQueueEntry to set a user name of a queue entry. - Introduce 2 inc_tinderbox config vars, reload_interval_latest and reload_interval_current which allow to set the reload interval for "Current And Latest Builds" page while no port is building and while a port is building respectively. - Use the canonical PHP tag instead of short tags to make Tinderbox more flexible in where it can be deployed. - Introduce logfile markup support. The data base stores regular expressions for things you like to flag in build logs (e.g. GCC warnings indicating missing prototypes). The frontend parse the logs and colorize matching lines. If a port failed to build the port_fail_pattern is automatically highlighted. The frontend allow you to toggle the display of line numbers and toggle which patterns are highlighted. To enable the logfile markup create the logfile_patterns table (see the last table in scripts/sql/schema.[mysql|pgsql].pre) and load the default patterns from scripts/sql/values.lp into the newly created table. Bump PORTREVISION.
This commit is contained in:
parent
1f7af664cd
commit
7a12c47927
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=224858
6 changed files with 7742 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
PORTNAME= tinderbox
|
||||
PORTVERSION= 3.1.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= ports-mgmt
|
||||
MASTER_SITES= http://tinderbox.marcuscom.com/:SOURCES \
|
||||
http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/:SOURCES,FAVICON
|
||||
|
@ -32,6 +33,8 @@ SUB_FILES= pkg-message
|
|||
MAN1= tc-configCcache.1 tc-configDistfile.1 tc-configGet.1 \
|
||||
tc-configJail.1 tc-configTinderd.1 tc-init.1
|
||||
|
||||
PATCH_STRIP= -p2
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(WITH_PGSQL) && defined(WITHOUT_MYSQL)
|
||||
|
@ -94,6 +97,9 @@ post-extract:
|
|||
@${CP} ${_DISTDIR}/favicon.ico ${WRKSRC}/webui
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@cd ${WRKSRC} && ${FIND} . -name '*.orig' -exec ${RM} {} \;
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/tinderbox/scripts
|
||||
@${ECHO_CMD} "Installing man pages ..."
|
||||
|
|
3857
ports-mgmt/tinderbox-devel/files/patch-3.1.2_to_20081227.diff
Normal file
3857
ports-mgmt/tinderbox-devel/files/patch-3.1.2_to_20081227.diff
Normal file
File diff suppressed because it is too large
Load diff
|
@ -35,6 +35,7 @@ tinderbox/scripts/sql/schema.pgsql.post
|
|||
tinderbox/scripts/sql/schema.pgsql.pre
|
||||
tinderbox/scripts/sql/values.config
|
||||
tinderbox/scripts/sql/values.hooks
|
||||
tinderbox/scripts/sql/values.lp
|
||||
tinderbox/scripts/sql/values.pfp
|
||||
tinderbox/scripts/sql/values.pfr
|
||||
tinderbox/scripts/tc
|
||||
|
@ -54,7 +55,9 @@ tinderbox/scripts/upgrade/user_permissions.map
|
|||
%%WEBUI%%tinderbox/scripts/webui/core/BuildPortsQueue.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/core/Config.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/core/Jail.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/core/LogfilePattern.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/core/Port.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/core/PortFailPattern.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/core/PortFailReason.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/core/PortsTree.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/core/TinderObject.php
|
||||
|
@ -69,6 +72,7 @@ tinderbox/scripts/upgrade/user_permissions.map
|
|||
%%WEBUI%%tinderbox/scripts/webui/module/moduleBuildPorts.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/module/moduleBuilds.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/module/moduleConfig.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/module/moduleLogs.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/module/modulePortFailureReasons.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/module/modulePorts.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/module/moduleRss.php
|
||||
|
@ -79,6 +83,7 @@ tinderbox/scripts/upgrade/user_permissions.map
|
|||
%%WEBUI%%tinderbox/scripts/webui/templates/default/current_buildports.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/default/describe_port.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/default/display_login.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/default/display_markup_log.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/default/failed_buildports.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/default/latest_buildports.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/default/list_buildports.tpl
|
||||
|
@ -89,6 +94,7 @@ tinderbox/scripts/upgrade/user_permissions.map
|
|||
%%WEBUI%%tinderbox/scripts/webui/templates/default/please_login.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/default/rss.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/default/tinderstyle.css
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/default/tinderstyle.js
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/default/user_admin.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/default/user_permissions.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/default/user_properties.tpl
|
||||
|
@ -96,6 +102,7 @@ tinderbox/scripts/upgrade/user_permissions.map
|
|||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/current_buildports.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/describe_port.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/display_login.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/display_markup_log.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/failed_buildports.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/footer.inc.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/header.inc.tpl
|
||||
|
@ -109,6 +116,7 @@ tinderbox/scripts/upgrade/user_permissions.map
|
|||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/please_login.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/rss.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/tinderstyle.css
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/tinderstyle.js
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/user_admin.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/user_permissions.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/user_properties.tpl
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
PORTNAME= tinderbox
|
||||
PORTVERSION= 3.1.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= ports-mgmt
|
||||
MASTER_SITES= http://tinderbox.marcuscom.com/:SOURCES \
|
||||
http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/:SOURCES,FAVICON
|
||||
|
@ -32,6 +33,8 @@ SUB_FILES= pkg-message
|
|||
MAN1= tc-configCcache.1 tc-configDistfile.1 tc-configGet.1 \
|
||||
tc-configJail.1 tc-configTinderd.1 tc-init.1
|
||||
|
||||
PATCH_STRIP= -p2
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(WITH_PGSQL) && defined(WITHOUT_MYSQL)
|
||||
|
@ -94,6 +97,9 @@ post-extract:
|
|||
@${CP} ${_DISTDIR}/favicon.ico ${WRKSRC}/webui
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@cd ${WRKSRC} && ${FIND} . -name '*.orig' -exec ${RM} {} \;
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/tinderbox/scripts
|
||||
@${ECHO_CMD} "Installing man pages ..."
|
||||
|
|
3857
ports-mgmt/tinderbox/files/patch-3.1.2_to_20081227.diff
Normal file
3857
ports-mgmt/tinderbox/files/patch-3.1.2_to_20081227.diff
Normal file
File diff suppressed because it is too large
Load diff
|
@ -35,6 +35,7 @@ tinderbox/scripts/sql/schema.pgsql.post
|
|||
tinderbox/scripts/sql/schema.pgsql.pre
|
||||
tinderbox/scripts/sql/values.config
|
||||
tinderbox/scripts/sql/values.hooks
|
||||
tinderbox/scripts/sql/values.lp
|
||||
tinderbox/scripts/sql/values.pfp
|
||||
tinderbox/scripts/sql/values.pfr
|
||||
tinderbox/scripts/tc
|
||||
|
@ -54,7 +55,9 @@ tinderbox/scripts/upgrade/user_permissions.map
|
|||
%%WEBUI%%tinderbox/scripts/webui/core/BuildPortsQueue.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/core/Config.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/core/Jail.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/core/LogfilePattern.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/core/Port.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/core/PortFailPattern.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/core/PortFailReason.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/core/PortsTree.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/core/TinderObject.php
|
||||
|
@ -69,6 +72,7 @@ tinderbox/scripts/upgrade/user_permissions.map
|
|||
%%WEBUI%%tinderbox/scripts/webui/module/moduleBuildPorts.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/module/moduleBuilds.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/module/moduleConfig.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/module/moduleLogs.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/module/modulePortFailureReasons.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/module/modulePorts.php
|
||||
%%WEBUI%%tinderbox/scripts/webui/module/moduleRss.php
|
||||
|
@ -79,6 +83,7 @@ tinderbox/scripts/upgrade/user_permissions.map
|
|||
%%WEBUI%%tinderbox/scripts/webui/templates/default/current_buildports.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/default/describe_port.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/default/display_login.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/default/display_markup_log.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/default/failed_buildports.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/default/latest_buildports.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/default/list_buildports.tpl
|
||||
|
@ -89,6 +94,7 @@ tinderbox/scripts/upgrade/user_permissions.map
|
|||
%%WEBUI%%tinderbox/scripts/webui/templates/default/please_login.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/default/rss.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/default/tinderstyle.css
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/default/tinderstyle.js
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/default/user_admin.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/default/user_permissions.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/default/user_properties.tpl
|
||||
|
@ -96,6 +102,7 @@ tinderbox/scripts/upgrade/user_permissions.map
|
|||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/current_buildports.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/describe_port.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/display_login.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/display_markup_log.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/failed_buildports.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/footer.inc.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/header.inc.tpl
|
||||
|
@ -109,6 +116,7 @@ tinderbox/scripts/upgrade/user_permissions.map
|
|||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/please_login.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/rss.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/tinderstyle.css
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/tinderstyle.js
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/user_admin.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/user_permissions.tpl
|
||||
%%WEBUI%%tinderbox/scripts/webui/templates/paefchen/user_properties.tpl
|
||||
|
|
Loading…
Reference in a new issue