Master/Slave

Branches are simple, but more complex than head

I used to think branches were simple when it came to FreshPorts, but I was wrong. Consider slave ports for example. If we get a commit for databases/mariadb100-server, we have to update the slave ports, but only the slave ports on the branch, not the slave ports on head. That sounds easy enough, but keep […]

Branches are simple, but more complex than head Read More »

Out of date ports tree

Today I noticed a problem with my development machine. It has been in storage for about a month. Yesterday it started processing FreshPorts emails again. Overnight, I noticed a strange error which I could not follow: Unusual System Events =-=-=-=-=-=-=-=-=-=-= Dec 31 20:33:11 ngaio FreshPorts[93781]: error executing make command for sysutils/rsyslog-mysql: This command (FreshPorts code

Out of date ports tree Read More »

Master/slave relationships

At present, master/slave relationships in FreshPorts are not stored optimally. Each port has a field, master_port, which contains the category/port of its master_port, otherwise, it is an empty string. The ideal situation would be a table such as this: create table master_slave ( master_port_id integer not null, slave_port_id integer not null, primary key (master_port_id, slave_port_id)

Master/slave relationships Read More »

MASTERPORT : who uses it?

MASTERPORT is a tool Mark Linimon and I have used for a while. It seems to have entered into common usage now. freshports.org=# select master_port, category, name from ports_active where master_port like ‘/%’ order by category, name; master_port | category | name ———————————————–+————–+————————— /usr/home/dan/ports/devel/ocaml-camlidl | archivers | ocaml-zip /usr/home/dan/ports/devel/ocaml-camlidl | graphics | ocaml-lablgl /usr/home/dan/ports/japanese/kinput2-freewnn/ |

MASTERPORT : who uses it? Read More »

master / slave relationships

As reported by sem@, there is a problem with the display of master/slave relationships within FreshPorts. The relationship is stored in the ports table, with the master_port attribute being a pointer to the master port. This text field typically has values such as this: freshports.org=# SELECT DISTINCT(master_port) freshports.org-# FROM ports_active freshports.org-# where master_port ” freshports.org-#

master / slave relationships Read More »

Scroll to Top