Oct 142021
 

Recently I started seeing this message in the production logs for FreshPorts: What code produces that message? GitHub makes searching for that message easy. I found it here: What port has this issue? Searching the webserver logs, I find: Always be able to reproduce the issue If I cannot reproduce the issue myself, I cannot […]

Aug 252021
 

These are the steps I’m following to add the ports_to_refresh table. This is a list of issues I will track through this upgrade. branch badge not populated for commits on branch #327 base/binutils page broken #328 Wrong info about hplip-plugin port when using search #322 Package message not presented for x11/nvidia-hybrid-graphics/files/pkg-message.in … #321 404: Warning: […]

Jul 282021
 

I was asked: Why does FreshPorts have links to both git and subversion repos? The short answer is: because at the time, the commits were committed to those respective repos. The links to the other repo do not exist. FreeBSD moved from using subversion to git. During the transition, the subversion repo became read-only. All […]

Jul 042021
 

Right now, we have have: dev.freshports.org devgit.freshports.org test.freshports.org testgit.freshports.org stage.freshports.org stagegit.freshports.org The goal: three hosts: dev, test, stage. I’ll delete the existing: dev, test, stage I’ll rename: devgit -> dev testgit -> test stagegit -> stage I think this will be easier than moving content from one jail to another. Each of the three renamed […]

Jun 272021
 

This outlines the steps for putting the new git-delta.sh script into use. These steps will be required on each ingress node. stop ingress commit processing Look at the output of sudo tail /var/log/freshports/git.log and you should see something like this: [dan@devgit-ingress01:~] $ sudo tail /var/log/freshports/git.log 2021.06.27 17:21:05 git-delta.sh Repodir is /var/db/ingress/repos/src 2021.06.27 17:21:05 git-delta.sh Running: […]

Jun 272021
 

Following on from last weekend’s work, today I’m learning more about git, and the difference between Plumbing and Porcelain commands. The original intent was to use git tag -l freshports/$refname to detect if a tag exists. The problem there, it always returns 0. [dan@mydev:/var/db/ingress/repos/ports] $ git tag -l | head 10-eol 4-eol 5-eol 6-eol 7-eol […]

Jun 262021
 

When upgrading packages on a FreshPorts ingress node (that is usually a jail which processes incoming commits and loads them into the database), I believe there is a possibility of interrupting commit processing. It’s a race condition between pkg removing a file and that file being required by the commit processing. This post serves to […]