Branches

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 »

cache invalidation

Today, kwm mentioned that http://www.freshports.org/Mk/bsd.port.mk was out of date, showing the most recent commit as back in March. My first concern was the system had stopped recording such commits. To check on that, I looked at https://svnweb.freebsd.org/ports/head/Mk/bsd.port.mk and searched my email for the most recent commit message. Extracting the message id from that email, I

cache invalidation Read More »

Commits to multiple branches

Tonight I started doing some database structure changes for branches. I thought: Hopefully nobody commits to two branches at once. Yes. They do. Oh oh. mat gave me a few examples: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=758626+0+current/svn-src-all http://docs.freebsd.org/cgi/getmsg.cgi?fetch=747218+0+current/svn-src-all http://docs.freebsd.org/cgi/getmsg.cgi?fetch=735782+0+current/svn-src-all Look at those URLs and you’ll see: Changes in other areas also in this revision. The code already ignores everything after

Commits to multiple branches Read More »

Scroll to Top