Search Results for: branches

Processing commits on branches with git – part 2

Following on from last weekend’s work, today I’m learning more about git, and the difference between Plumbing and Porcelain commands. The original intent was to use git tag -l freshports/$refname to detect if a tag exists. The problem there, it always returns 0. [dan@mydev:/var/db/ingress/repos/ports] $ git tag -l | head 10-eol 4-eol 5-eol 6-eol 7-eol […]

Processing commits on branches with git – part 2 Read More »

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 »

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 »

Processing the first port commit from svn-ports-branches

Over the past few weeks, I’ve made some progress towards supporting the branches for FreshPorts. Today, I started making the first code changes and I wanted to share that with you as I went along. Finding the messages FreshPorts processes commits by parsing the messages from the mailing list. I think it might be feasible

Processing the first port commit from svn-ports-branches Read More »

Scroll to Top