Branches

When a port on a branch is deleted, FreshPorts tried, and fails, to refresh it

The original problem was explained and fixed however it seems to have resurfaced. Either that, or it was not fixed at all. In short: FreshPorts sees the first commit for a port on a branch the commit is deleting that port FreshPorts detects that the port has been deleted It forgets, somehow, that the port […]

When a port on a branch is deleted, FreshPorts tried, and fails, to refresh it Read More »

Displaying all ports tree commits on the front page

The front page of FreshPorts is about to change, slightly. At present, the front page contains only the the commits to the main branch of the FreeBSD. More precisely, it does not include: Commits to Mk/ or other similar non-port entities within the ports tree Commits to the quarterly branch (whatever the latest quarter is;

Displaying all ports tree commits on the front page 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 »

A single function for creating a new port

In my two previous posts I talked about creating a new port and copying a port from head to a branch. The goal of this post is the creation of a new function: CreatePortOnBranch($category_name, $port_name, $CommitBranch) The failed start I started out with this stored procedure: Running it gave this message: # select CreatePort(‘sysutils’, ‘bacula-server’,

A single function for creating a new port Read More »

Scroll to Top