Jan 292014
 

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 [...]

Jan 292014
 

What do you want out of FreshPorts? You want to know: What is available What version Any notes in UPGRADING Any vulnerabilities You want to know about this for HEAD and for RELENG_9_1_0. You want to know that on HEAD, sysutils/bacula-server is version 5.2.12_3, but on head, it’s 5.2.12. That’s important. That’s commit history. FreshPorts [...]

Jan 282014
 

Today I managed to make quite a bit of progress trying to incorporate multiple ports trees into the commit processing. The diff is about 985 lines long. It’s not as complex as it sounds. I just have to pass $CommitBranch around to various functions. The result: I have the commits going into the database, but [...]

Jan 282014
 

I just realized (although, deep in the recesses of my innocent mind, I suspect I knew) that FreshPorts will require one repo for each branch. The email on the svn ports branches mailing list includes multiple branches. A quick glance around the archives finds me these branches: RELENG_9_1_0 RELENG_9_2_0 2014Q1 I know there will be [...]

Jan 262014
 

As mentioned in my previous post, if FreshPorts is to display commits from every branch, it is going to need one check-out of each branch of the ports tree. Tonight I started looking into that and hit a snag in an unexpected area: name length. I do most of my development work from within jails. [...]

Jan 252014
 

Bernard emailed me, and Tim Stoddard posted in the forum about search not finding what it should find. I quickly agreed; it was wrong. Fortunately, it was a small fix. See also my follow-up post where I fixed the broken data. The problem The problem was searching for ports such as bird didn’t include that [...]