Jul 092022
 

The July 4th tweet announced “dev, test, and stage .freshports.org are now running Python 3.9”. Three days later, “Is it coincidental that dev, test, and stage are all stuck on commits from July 4?” I took notes as I explored the problem. The first clue was: 2022.07.07 00:12:03 git-delta.sh /usr/local/libexec/freshports/git-to-freshports-xml.py –repo ports –path /var/db/ingress/repos/ports –branch […]

Apr 202022
 

I need some help with the git processing shell script. Look at line 82 in this script please. See those hardcoded branch names? That’s my problem. Let’s reduce the shell script to a simple proof of concept. % cat ~/tmp/poc.sh #!/bin/sh git for-each-ref –format ‘%(objecttype) %(refname)’ \ | sed -n ‘s/^commit refs\/remotes\///p’ \ | while […]

Jan 122022
 

One of the known limitations of mkjail is updating of jails within jails. Unless you’re running a FreshPorts node or poudriere while you’re running mkjail, this is unlikely to affect you. For me, to avoid this stoppage, this is my plan: ssh to each jail: csshX [dev,test,stage]-ingress01 disable commit processing: sudo service freshports stop stop […]

Oct 232021
 

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 […]

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 […]