New links to GitLab and GitHub, in addition to the exist cgit.freebsd.org

Based on the Add links to GitHub and GitLab mirrors for ports and commits request, the website has some new links arriving soon. Link to GitHub from each commit A similar link to GitLab Use the one you like. Each git web interface has it’s own followers. Also, while there, the commit hash at the […]

New links to GitLab and GitHub, in addition to the exist cgit.freebsd.org Read More »

Update to Python 3.9 broke commit processing

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

Update to Python 3.9 broke commit processing Read More »

Help needed with shell scripting

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

Help needed with shell scripting Read More »

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 »

pkg-message: UCL type gives: _pkgmessage_UCL found a type is it not prepared for : Array

Recently I started seeing this message in the production logs for FreshPorts: Oct 13 15:35:38 aws-1-nginx01 FreshPorts[75290]: _pkgmessage_UCL found a type is it not prepared for : Array What code produces that message? GitHub makes searching for that message easy. I found it here: syslog(LOG_ERR, ‘_pkgmessage_UCL found a type is it not prepared for :

pkg-message: UCL type gives: _pkgmessage_UCL found a type is it not prepared for : Array Read More »

Scroll to Top