Development

What’s in the pipeline, how it works, how it’s made…

Time to clear out the distfiles

It’s time to clear old distfiles. Based on Moving distfiles to a new filesystem & deleting unused distfiles, I did the following on the aws-1-ingress01 jail. In short: fetch index list DISTFILES used by index remove DISTFILES not used by index The commands: root@freshports:/usr/ports # make fetchindex /usr/bin/env fetch -am -o /usr/ports/INDEX-14.xz https://download.FreeBSD.org/ports/index/INDEX-14.xz /usr/ports/INDEX-14.xz 1864 […]

Time to clear out the distfiles Read More »

Moving distfiles to a new filesystem & deleting unused distfiles

FreshPorts pulls down a lot of distfiles (the file distributed by the software author which contains the software). Much more than your average user. Every distfile for every commit is fetched. Let’s look at my private FreshPorts development instance: [13:18 dvl-ingress01 dvl /jails/freshports/usr/ports] % du -ch -d 0 distfiles 125G distfiles 125G total That’s 125GB.

Moving distfiles to a new filesystem & deleting unused distfiles Read More »

devel/py-pygit2: AttributeError: ‘_pygit2.Commit’ object has no attribute ‘oid’. Did you mean: ‘id’?

Today I updated the test ingress node of FreshPorts. Not long after, I was told by Nagios monitoring: I had a similar message comparing test to stage. Soon after, I saw this error in the logs: Oct 19 12:18:04 test-ingress01 dvl[12403]: FATAL eror with git-to-freshports-xml.py result: 1 – check git-delta.sh logs for more detail Looking

devel/py-pygit2: AttributeError: ‘_pygit2.Commit’ object has no attribute ‘oid’. Did you mean: ‘id’? Read More »

Using triggers to update a table with calculated values

This was originally written in September 2018, but never published (for unknown reasons). I found it in the drafts section of the website today. In this post, you will see me change approach and not use a secondary table in one instance, but use multiple secondary tables in another. In one case, you will also

Using triggers to update a table with calculated values Read More »

Displaying all ports tree commits on the front page

The front page of FreshPorts is about to change, slightly. At present, the front page contains only the the commits to the main branch of the FreeBSD. More precisely, it does not include: Commits to Mk/ or other similar non-port entities within the ports tree Commits to the quarterly branch (whatever the latest quarter is;

Displaying all ports tree commits on the front page Read More »

Scroll to Top