Jul 022015
hostname change causes missing links and pathnames

FreshPorts is a tender beast. It is both massive and sensitive. One example of that sensitivity came to light today. Jeffrey Bouquet wrote in to tell me of a problem with paths on FreshSource (our sister website, which displays more, but less). The problem has been corrected, but I took screen shots to illustrate this […]

Apr 062015

I noticed a few days ago: http://dev.freshports.org/ is out of date with respect to vuxml. That’s because the input processing for that website takes place in one jail, and the website (the output) takes places in another jail. There is no way for one to tell the other that something is ready for processing. This […]

Jan 192015
Bad portrevision

mandree reported a problem with security/openvpn-auth-ldap. Looking in the database: Looking at the database, the webpage is displaying what is there: Let’s looking at that commit in the database: OK, that’s not the commit which changed the BROKEN flag. Let’s look at that commit: The the date_added fields? These commits were processed out of order. […]

Jan 032015

Today I noticed a bug with the recently added Fetch, Patch, and Extract dependencies. The are correctly displayed on the port page, but not on the dependent port page. The problem If you look at sysutils/libchk, you will see lang/ruby20 listed under Extract dependencies. However, at lang/ruby20, there is no mention of Patch, Fetch, or […]

Nov 082014

I noticed the server load was high. I saw that several instances of search by date where still running. Looking at the query in question: The analysis for this query is available at http://explain.depesz.com/s/uCT I redesigned the query to make use of explicit JOINs: The analysis for that query is at http://explain.depesz.com/s/p3wn. I’ll let readers […]

Oct 052014

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 […]

Oct 052014

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 […]

Jul 092014

FreshPorts processes commits via email. That is, email coming in from the mailing list are received by FreshPorts, parsed, and the resulting data loaded into the database. Today a problem arose. I received these error messages: This List-Id/Message-Id combination is not known to this script. List-Id=’SVN commit messages for the ports tree for head ‘ […]