Latest Vulnerabilities includes deleted ports
John Marino wrote in to mention that the list of latest vulnerabilities (see the right hand column of the
Latest Vulnerabilities includes deleted ports Read More »
John Marino wrote in to mention that the list of latest vulnerabilities (see the right hand column of the
Latest Vulnerabilities includes deleted ports Read More »
FreshPorts processes commits via email. That is, email coming in from the mailing list are received by FreshPorts, parsed, and the resulting data loaded into the database. Today a problem arose. I received these error messages: This List-Id/Message-Id combination is not known to this script. List-Id=’SVN commit messages for the ports tree for head ‘
Variation in ListId values Read More »
A mail error is breaking many things, including the daily reports and sanity test failures. This problem is only on production, not on dev. The error is: could not open Mail::Sender. from=’FreshPorts Sanity Daemon <FreshPorts@example.org>’ to=’kwm@example.org’ subject=’FreshPorts sanity checking’ errorcode=’-24′ errormsg=’IO::Socket::SSL- >start_SSL failed: SSL connect attempt failed with unknown error error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed’ I
mail error is breaking sanity test reporting Read More »
Yesterday I tweeted that FreshPorts now directs you to bugs.freebsd.org for a PR. I noticed the URL typo but I was headed to bed. Today, @FreeBSDHelp told me that links involving a category were wrong. Here’s the patch: The first half fixed the case for ports/1234 etc. The second half fixes: PR 1234, 123, and
Bugzilla and htmlify Read More »
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 »
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
What branches means to FreshPorts Read More »
Yesterday, I wrote about some great progress on getting FreshPorts to work with multiple repositories to cater for the branches of the FreeBSD ports tree. At the end of that post, I talked briefly about wanting global settings or variables for my stored procedures. Shortly after posting that, I found a solution in the form
Session variables! Almost. Not quite. Read More »
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
Multiple repos – good progress Read More »
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
Multiple branches, multiple repos Read More »
In a recent post, I said: That second patch uses the same string you saw above in the previous patch. Yes, it would be better to have added that string to just one place. I welcome patches for that change. Today I will show you that code. With help from Matthias Andree on IRC, I
Adding code, removing more code to reduce duplication Read More »