- Remove replacement of obsolete set_rcvar [1]
- Use sqlite3 PHP extension as sqlite is no longer available in PHP 5.4
- Bump PORTREVISION
Submitted by: ohauer [1]
Approved by: itetcu (maintainer)
to just depend on databases/p5-DBD-mysql as that will handle the MYSQL_VER
magic.
This is required as only databases/p5-DBD-mysql supports mariadb-client and
the upcomming perconaXX-client.
Approved by: portmgr (bapt)
Initial patches by: pgollucci
Changelog:
* Correct a mismerge of schema
* Correct some typos
* Properly add the checksum Hooks to the upgrade code
* Fix some variable initialization issues in the webui
* Allow Jails and Builds to be removed when BuildPortsQueue entries exist
Approved by: maintainer implicit
had both lines:
Author: ...
WWW: ....
So standardize on that, and move them to the end of the file when necessary.
Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.
s/AUTHOR/Author/
A few other various formatting issues
Note: this release contains schema/DB changes. Be sure to run the upgrade
procedure to properly incorporate the new changes. There will be at least one
other DB change before 3.4 release, too.
- remove CSUP option, since csup port is gone because csup is in base on all
supported OSVERSIONs
- assure the needed dependencies are installed for sending emails and log
compression via two OPTIONS: EMAILS and LOG_COMPRESS
- flip ON by default the patches for tmpfs and parallel tindy instances
- update plist for hooks/compress_wrkdir and webui's BuildGroups support
Changes:
Fixes from upstream:
- Remove X11BASE support it is now obsolete. (already in ports-mgmt/tinderbox)
- Expand the glob to check for Perl so that it actually
captures lang/perl5.10. (already in ports-mgmt/tinderbox)
- Restore some of the leftover exceptions but use LOCALBASE instead of X11BASE.
- Expand the MySQL glob to match on MySQL 5.4 and 5.5.
- Adjust the SQL query to remove all entries from a BuildPortsQueue. This
makes things more compatible.
Two Experimental patches from Tim Bishop and beat@.
- Tim has added support for multiple tinderd instances at the same
time.
The parallel patch allows to run multiple tinderd instances at the
same time. You can enable multiple tinderd instances via /etc/rc.conf
with tinderd_instances="X"
- beat@ as added support for tmpfs to enable the usage of FreeBSD's
tmpfs implementation.
Both patches are experimental and are not official supported by the Tinderbox
distribution.
Reviewed by: itetcu, beat (thx!)
Approved by: itetcu (maintainer implicit)
Obtained from: tinderbox cvs (snapshot)
- Add a disclaimer to the addJail usage line so that users know to use
createJail instead.
- Trim leading and trailing spaces from the descriptions for Jails,
Builds, and PortsTrees.
- Add /proc to the list of ignored paths. This fixes a race condition
which can occur when multiple builds are run in parallel.
- Run the postPortsTreeUpdate and postJailUpdate Hooks while the file
systems are still mounted. This has the side effect of running the
hooks when an update fails.
- Die if the postPortsTreeUpdate Hook fails.
- Die if a port could not be added to the BuildPortsQueue.
Webui:
- Save some screen space by reducing space between top menu and content.
- Add link to RSS feed to the latest_buildports view.
- Generate RSS feeds per maintainer and add drop down menu for feeds to
homepage.
- Make headers of columns on buildport pages clickable to sort the table.
- Rename All really Build Failures to All Failures.
- Add link to All Build Failures and All Failures on latest_buildports
page.
- To limit the number of shown ports per page a new variable
list_limit_nr could be set in inc_tinderbox.php. This limitation is
disabled by default.
- Bump build_name from 72 characters to 255 characters.
- Sync latest port fail reasons and patterns with pointyhat.
- Switch to cvsup17 as default csup server
- Fix a problem where port directories where not canonicalized, and could end
up looking like dir/../otherdir.
- Save some screen space by reducing space between top menu and content in
queue view in webui.
Note that if upgrading you have to apply the canges to your database by hand.
- Properly check the result of getDbInfo to make sure we don't try to configure
the database when we don't have access.
- Correct a typo which broken copyBuild for packages.
Bump PORTREVISION.
- webui: Fix misuse of TRIM function with PostgreSQL (maintianer address wron
with PG)
- Correct a corner case where cleaning up mounts may kill off processes it
shouldn't. This occurs when you are mounting the ports tree mount via nullfs.
This fix requires that sysutils/lsof be installed on the Tinderbox host (new
OPTION).
- bump PORTREVISION
Here is a summary of changes from Tinderbox 3.1.2 to 3.2:
* A new tc function, ``tbversion'' has been added to print the version
of Tinderbox. This command relies on a ${pb}/.version file which is
generated when the Tinderbox release distribution is created. Be sure
to copy this file if you copy the contents of the Tinderbox release to
another location.
* Log file markup support has been added. Log files can be viewed with
certain patterns colorized to make them easier to spot (e.g. GCC
warnings). Currently, the list of patterns is not easily changeable,
but a facility to add new patterns is forthcoming.
* A new tc function, ``copyBuild'' has been added which allows one to
copy attributes (e.g. env files, ports, packages, etc.) from one Build
to another.
* Quiet tinderd if a port in the queue does not exist.
* The log file header lines in port build logs have been reordered for
easier (human) reading. If this changes causes too much consternation
for existing scripts, it can be reverted.
* Fix a bug with Postgres in that psql wants to output space-delimited
results by default, and this can mess up upgrades.
* A -u argument has been added to ``addBuildPortsQueueEntry'' so that a
username can be set for a queue entry.
* The ``addBuildPortsQueueEntry'' command now looks up users by both
name and ID. This fixes a bug where tinderd doesn't send Build
completion mail.
* The error spit out by ``listBuildPortsQueue'' when the queue is empty
has been removed.
* Two new inc_tinderbox config variables have been added:
reload_interval_latest and reload_interval_current which allow one to
set the reload interval for the ``Current and Latest Builds'' page while
no port is building and while a port is building respectively.
* Some additional error checking has been added to the webui.
* A search interface has been added for searching for ports in the
webui.
* Canonical PHP tags are now used instead of short tags. This makes it
easier to deploy Tinderbox in various configurations.
* The tinderd queue view has been changed. The field for adding new
ports is now first.
* A favicon.ico file is now shipped for the webui.
* Some other bugs have been fixed in the webui.
* The ``tbversion'' command usage has been added.
* An bug in the log file parsing code which could result in fetch
failure false positives has been fixed.
* The search interface has been added to the top of the homepage.
* The Delete buttons have been moved to the top of the page.
* Some migration issues have been fixed.
The contributors to Tinderbox 3.2's development and testing are Beat
Gätzi, Martin Wilke, Matt, Ion-Mihai Tetcu, Frank Wall, Boris
Samorodov, Cory R. King, and Aron Schlesinger.
Add conflicts with ports-mgmt/tinderbox.
MFC after: 3 days
- 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.
* Don't cleanup WRKDIR until after the postPortBuild Hook has run.
* Fix resetBuild in a nullfs environment.
* Fix a regression in the version path.
* Correct a tinderd typo which masked a diagnostic message.
* Show last 30 ports per page in "Current and Latest Builds" page.
(webui)
* When sorting by "Last Build Attempt" in list build page sort
descending -- latest built first. (webui)
The main contributor and tester of this release was Ion-Mihai Tetcu.
(Remove local patches incorporated upstream)
This release brings many bug fixes and some new features, particularly with the
webui frontend:
* The tinderd.sh rc.d script has been renamed tinderd, and modernized.
See the README for more details.
* A tinderd_debug option has been added to the tinderd rc.d script to
control whether or not to write output to /dev/null.
* Add a new tinderd config option, TINDERD_LOGFILE. When this is set, all
tinderbuild output from a tinderd cycle will be appended to this
logfile. By default, the logfile is /dev/null.
* Reintroduce user permissions functionality in the webui from 2.x.
* Add RSS support for the latest_buildports view (webui).
* Add buttons to tinderd queue view to remove all or all built entries from
the queue (webui).
* Automatically set rootdir and wwwrooturi variable (webui).
* Show target port of current build (webui).
* Fix a slew of Postgres upgrade and install bugs. Note: not all upgrade
bugs have been fixed. The schema changes in 3.1 may need to be applied
manually to Postgres databases.
* Fix a case where a failed build could lead to false-positive leftovers.
* Fix a regression where the wrong module name was used. This broke tinderd
configuration.
* Prevent dereferencing a null value in the Build Ports Queue code when a
port is no longer associated to a Build.
* Fix rescanPorts' command line arguments, and allow it to be invoked as a
shell command.
* Use the installed Jail's /usr/share/mk directory when doing a make
distribution. This fixes a Jail build of 7.X on recent -CURRENT.
* Add -k to the conig-recursive command so that it doesn't die if one
chooses to skip a port.
* Don't make it fatal if the rm of the directory fails in cleanDir. This
may very well fail if the target is a mount point.
* Some setup steps in the README have been clarified.
!!!NOTE!!!This release includes a schema change, so be sure to run the
following before using 3.1:
./tc Upgrade
The contributors to this release are Beat Gätzi, Ion-Mihai Tetcu, Aron
Schlesinger, Alexander Logvinov, Wesley Shields, Martin Wilke, and Boris
Samorodov.
Local patches:
- install a favicon for the webui
- show last 30 ports per page in "Current and Latest Builds" page (webui)
- when sorting by "Last Build Attempt" in list build page sort descending --
latest built first (webui)
PR: ports/128785 (based on)
Submitted by: bsam@