Bug fixes

Duplicate dependency issues – avoiding duplicate rows

Databases use relational integrity to enforce expected situations. A common scenario is duplicates. Case in point, I present the port_dependencies table: For those not familiar with FreeBSD ports, each port (you could also refer to them as a package or application) can have zero or more dependencies. The FreshPorts database extracts and lists these dependencies […]

Duplicate dependency issues – avoiding duplicate rows Read More »

Details of the vuxml processing problem

For several weeks, FreshPorts had a vuxml processing problem. In this blog post, I will share what I found. Introduction Incoming events for FreshPorts are handled by a small Python script which checks for flags and incoming commits. This ensures that work is carried out serially because parallel work can have unintended consequences. After each

Details of the vuxml processing problem Read More »

Display the updated dependencies when a dependent port updates

A great feature of FreshPorts is the ability to see all the ports which are dependent upon a given port. For example, it allows you to see what ports depend upon security/polarssl. This list is stored in a the port_dependencies table, which looks like this: This information is gathered when a port is updated. The

Display the updated dependencies when a dependent port updates Read More »

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.

Bad portrevision Read More »

Scroll to Top