Author name: Dan Langille

I've been playing with Open Source software, starting with FreeBSD, since New Zealand Post installed DSL on my street in 1998. From there, I started writing at The FreeBSD Diary, moving my work here after I discovered WordPress. Along the way, I started the BSDCan and PGCon conferences. I slowly moved from software development into full time systems administration and now work for very-well known company who has been a big force in the security industry.

Search doesn’t display enough commits per page

Bjoern A. Zeeb pointed out a problem today. On the following URL, there should be more commits per page. Only three are shown (at the time of writing). http://www.freshports.org/search.php?stype=committer&method=exact&query=jb&num=100&orderby=category&orderbyupdown=asc&search=Search&include_src_commits=include_src_commits The page is showing 100 results per page. This should be 100 commits, but the result set is showing only 100 files. The SQL query has

Search doesn’t display enough commits per page Read More »

RESTRICTED not correctly reported

The RESTRICTED value on ports has been incorrectly recorded for some time. The code fix: $ cvs di port.pm Index: port.pm =================================================================== RCS file: /home/repositories/freshports-1/scripts/port.pm,v retrieving revision 1.54 diff -r1.54 port.pm 168c168 < $restricted_alt = FreshPorts::Utilities::NULLIfEmpty($dbh, $this->{restricted_alt}); — > $restricted_alt = FreshPorts::Utilities::NULLIfEmpty($dbh, $this->{restricted}); This is clearly a case of insufficient testing. I found this bug

RESTRICTED not correctly reported Read More »

Virtual category: docs

The new virtual category docs was recently added. Interestingly enough, FreshPorts has a /docs/ directory, which directly conflics with this. As such, if you were to browe to http://www.freshports.org/docs/, you’d see this: Index of /docs Name Last modified Size Description Parent Directory – 404-for-virtual-pages.php 25-Oct-2007 12:57 8.2K Using 404 errors to serve up virtual pages

Virtual category: docs Read More »

Scroll to Top