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....
View ArticleMultiple ports trees for FreshPorts
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...
View ArticleAdding code, removing more code to reduce duplication
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...
View ArticleMultiple branches, multiple repos
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...
View ArticleMultiple repos – good progress
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...
View ArticleSession variables! Almost. Not quite.
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...
View ArticleWhat branches means to FreshPorts
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...
View ArticleVariation in ListId values
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...
View Articlecache 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....
View ArticleNote to self: dev ain’t working
I noticed a few days ago: http://dev.freshports.org/ is out of date with respect to vuxml. That’s because the input processing for that website takes place in one jail, and the website (the output)...
View ArticleOpen sourcing the website
Today, lattera & Shirkdog and I sat down and converted the website repository from subversion to git. That repo is sitting there, ready to go. That process took about an hour. We ran this command:...
View ArticleNot all ports have packages
Sir l33tname asked: @DLangille is it possible to show on freshports when there is no package for a port? — Sir l33tname (@l33tname) December 29, 2015 That’s a good question. It took some more questions...
View ArticleImproving the home page query
See the issue raised here. On 1 April 2016, we had some large commits (you can see them all here). This ground the front page to a halt. But as you can see, that link above loads rather quickly. Why?...
View ArticleBranches 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...
View ArticleBranches – add a new port automagically
The tracking of branches has turned out to be more involved than I thought. Many functions are already branch-aware and return / do the right thing. Tonight, I tried my recent idea of using head to get...
View ArticleCopying a port from head to a branch
In my previous post, I wrote about the need to copy a port from head to a branch in some circumstances, specifically when a master-port is updated and the slave ports do not already exist in the...
View ArticleA single function for creating a new port
In my two previous posts I talked about creating a new port and copying a port from head to a branch. The goal of this post is the creation of a new function: CreatePortOnBranch($category_name,...
View ArticleA downside of storing the exact results of ‘make -V’
As you know, I’ve been working on branches this long holiday weekend. Today, I managed to get the display of a port on a branch to correctly. Along the way, I discovered a downside to storing raw data...
View ArticleIt’s not me. It’s you.
I was asked if this was a known bug. It’s not. I don’t think anyone knows about it. dvl: ping. FreshPorts truncates COMMENT. Known issue? https://www.freshports.org/devel/include-what-you-use/ Here’s...
View ArticleHey 142.217.121.133, what are you doing?
$ grep -c 142.217.121.133 /usr/websites/log/freshports.org-access.log.0 72446
View Article