Caching

Internal error: I was expecting a short description and found nothing for databases/postgresql

Messages such as: Internal error: I was expecting a short description and found nothing for databases/postgresql indicate a cache entry which predates a change to the cache format. I could clear out the entire cache, but I want to try a targeted approach. In issue 339, some detail is provided. The common thread seems to […]

Internal error: I was expecting a short description and found nothing for databases/postgresql Read More »

Changing how we record ports which need cache clearing

In this post I’ll talk about how the code intially took the easy way out and how recent changes have tightened that up. In short, the code would raise N messages when just a single notification is sufficient. Today the full vuxml database was reloaded into FreshPorts. This affects approximately 3454 ports and the marking

Changing how we record ports which need cache clearing Read More »

If packages and ports are cached separately, how is one included in the middle of the other?

A new FreshPorts features is being developed. I’m trying to determine if packages for a port can be cached separately from the port itself. I will explain. When you visit a port page, if it’s not cached, the page is built and then cached. Not the whole page, just the parts pertaining to that port.

If packages and ports are cached separately, how is one included in the middle of the other? 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 »

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 »

Scroll to Top