Archive for the 'New ideas' Category

make showconfig + OPTIONSFILE

Thursday, January 24th, 2008

Two posts ago, I wrote about adding the output of showconfig to each port. I also mentioned how I should override OPTIONSFILE so FreshPorts shows the default options settings, not those particular to the FreshPorts server.
Here is the output of show config for sysutils/bacula-server:

$ cd /usr/ports/sysutils/bacula-server
$ make show config
===> The following configuration options […]

Configuration options - showconfig

Friday, January 18th, 2008

When people ask me about packages versus ports, the one main advantage of ports over packages is the ability to set the configuration options. To set the configuration options for a given port, issue this command:
make config
Configuration options are stored in /var/db/ports. For example, the options for sysutils/bacula-server are:

$ less /var/db/ports/bacula-server/options
# This file […]

Master/slave relationships

Friday, October 12th, 2007

At present, master/slave relationships in FreshPorts are not stored optimally. Each port has a field, master_port, which contains the category/port of its master_port, otherwise, it is an empty string.
The ideal situation would be a table such as this:

create table master_slave
(
master_port_id integer […]

Open Sourcing FreshPorts

Saturday, July 28th, 2007

I am just back from OSCON.
While there, I attempted to incorporate some CSS patches into FreshPorts…. I failed.
It is time to Open Source FreshPorts. It uses PHP (website), Perl (message processing), and Python (cache). It’ll take me a while to get the infrastructure into place. I have servers suitable for this purpose. […]

How much is that repo in the window?

Friday, July 6th, 2007

Søren Straarup brought this up today. FreshSource does not link to the right place in CVSWEB for commits to CVSROOT. For example, look at this commit. If you click on the diff link, it goes to the wrong place. It goes to
http://www.freebsd.org/cgi/cvsweb.cgi/CVSROOT/modules.diff?r1=1.18319&r2=1.18318
instead of
http://www.freebsd.org/cgi/cvsweb.cgi/CVSROOT-ports/modules.diff?r1=1.18319&r2=1.18318
After discussions with Simon Nielsen and is Søren […]

Stripping HTML from announcements

Friday, April 6th, 2007

Some of you may be noticing HTML in the daily outgoing messages. I apologise for that. You must have seen the various notices that appear at the top of each FreshPorts webpage. At present, they look like this:

Absolute BSD - $25 shipped - order yours now

I’m looking for work. […]

Flagging commits on FreshPorts

Wednesday, December 6th, 2006

I recently mentioned that Robert Watson suggested that the ability to flag commits in FreshSource. Over the past few days, durings flights and waiting for flights, I’ve managed to put together a quick and dirty try-me session.
If you visit the BETA site, and log in, you’ll notice a flag beside each commit. Click […]

Finding another way to parse URLs

Tuesday, November 7th, 2006

Central to how FreshPorts works is the parsing of the URL. Almost everying in FreshPorts is in a database, not in a static file somewhere. I need to improve the URL parsing.

Commit drill downs

Sunday, October 22nd, 2006

A drill down refers to moving from summary information to detailed data by focusing in on something. On a ports commit, you can drill down in several ways. Take this commit for example. You can the following ways to drill down:
takes you to the FreeBSD email archive
takes you to the […]

All commits under a point in the tree

Sunday, October 15th, 2006

Have you ever wanted to see all the commits to devel before? What about all the commits to the various Apache ports?