Sep 102022
 

Today I learned, or at best, relearned, a new make target: root@freshports:/usr/ports/sysutils/anvil # make create-manifest root@freshports:/usr/ports/sysutils/anvil # ls -lt | head total 14 drwxr-xr-x 3 root wheel 3 Sep 10 17:26 work -rw-r–r– 1 root wheel 337 Sep 10 16:06 pkg-descr -rw-r–r– 1 root wheel 182 Sep 10 16:06 distinfo -rw-r–r– 1 root wheel 1050 […]

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