Aug 112020
 

This idea came to me today from swills: stupid question, would it be possible to make the urls on freshports case insensitive? so that like https://www.freshports.org/x11/libx11 would go to https://www.freshports.org/x11/libX11 After confirming this was for manually typed URLs (as opposed to generated links), I started looking into it. This is what I found. In this […]

Jul 092020
 

I want to document some of the not-visible differences between a git commit and a subversion commit when in the database. subversion git id 808224 808303 message_id 202007091812.069IC6QK044004@repo.freebsd.org a1d2d5b40fba4186daf29b2b2e9ff2dd8b7d8039 message_date 2020-07-09 18:12:06+00 2020-07-09 18:12:06+00 message_subject svn commit: r541803 – in head/devel: . py-absl-py [null] date_added 2020-07-09 18:39:53.510006+00 2020-07-09 18:59:49.863092+00 commit_date 2020-07-09 18:12:06+00 2020-07-09 18:12:06+00 committer […]

Jul 042020
 

This is another post in the FreshPorts-git series. Yesterday was good progress. This morning (at Sat Jul 4 13:05:10 UTC 2020) I manually initiated another import of commits from git. It looked like this: This created one XML file for each git commit. The files are dropped into the ~freshports/messages-queues/incoming directory. The freshports-git daemon (well, […]

Jun 302020
 

I’m documenting this as a go along because I’m sure I’ll be doing something that I later wish I had written down. Create the repo This creates a FreeBSD git-based port repo. echo git clone https://github.com/freebsd/freebsd-ports.git /var/db/freshports/ports-jail/var/db/repos/PORTS-head-git | sudo su -l freshports The latest local commit This tells us the hash of the latest commit […]

Jun 282020
 

Recently, a new use of ZFS snapshots was introduced for a cache on FreshPorts. This approach involves creating a snapshot on the empty cache, then rolling back to that snapshot when the cache needs to be cleared. This idea came from this Tweet after much discussion on how to properly and safely delete directory contents […]

Jun 212020
 

git is coming to FreeBSD. The initial FreshPorts work for git started in September, then was abandoned for unknown reasons. It just fell off the RADAR. This week, it came back to my attention. References Some of the initial research was over Twitter. I’m saving those references here for future reference. The Tweet about the […]