Bug fixes

New categories

New categories in the FreeBSD ports tree do not come along often, but when they do, FreshPorts is ready to pull the details in and get the category name right. def ProcessCategoryNew(): syslog.syslog(syslog.LOG_NOTICE, ‘We have a new category’) urllib.urlretrieve(“http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/www/en/ports/categories?rev=HEAD;content-type=text%2Fplain”, ‘/usr/websites/freshports.org/dynamic/caching/tmp/categories’); Touch(WWWENPortsCategoriesFlag) Touch(JOBWAITING) No. It’s not. That’s cvs. Won’t work. It will redirect to https://svnweb.freebsd.org/ports/head/en/ports/categories and

New categories Read More »

cache invalidation

Today, kwm mentioned that http://www.freshports.org/Mk/bsd.port.mk was out of date, showing the most recent commit as back in March. My first concern was the system had stopped recording such commits. To check on that, I looked at https://svnweb.freebsd.org/ports/head/Mk/bsd.port.mk and searched my email for the most recent commit message. Extracting the message id from that email, I

cache invalidation Read More »

mail error is breaking sanity test reporting

A mail error is breaking many things, including the daily reports and sanity test failures. This problem is only on production, not on dev. The error is: could not open Mail::Sender. from=’FreshPorts Sanity Daemon <FreshPorts@example.org>’ to=’kwm@example.org’ subject=’FreshPorts sanity checking’ errorcode=’-24′ errormsg=’IO::Socket::SSL- >start_SSL failed: SSL connect attempt failed with unknown error error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed’ I

mail error is breaking sanity test reporting Read More »

FreshSource getting outdated

Tonight I found out that FreshSource is getting out of date. Xride told me that the display commit was no longer working. For example, http://www.freshsource.org/commit.php?message_id=200609292014.k8TKEV98041749@repoman.freebsd.org gives a blank page. Checking the web logs, I see the cause: [Fri Oct 25 02:59:35 2013] [error] [client 71.185.48.53] PHP Fatal error: Call to undefined function freshports_cvsweb_Revision_Link() in /usr/local/www/freshsource.org/www/commit.php

FreshSource getting outdated Read More »

Scroll to Top