Development

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

Moving devgit.freshports.org from GitHub to git.FreeBSD.org

The doc repo has moved from svn to git. This changeover occurred on 2020-12-09. The last svn commit was: 54737 The first git commit was: 3be01a475855e7511ad755b2defd2e0da5d58bbe To date, devgit.freshports.org has been using https://github.com/freebsd/freebsd-doc/ for processing commits. Today’s work will convert from that GitHub repo to https://cgit.freebsd.org/doc/ (actually, https://git.freebsd.org/). What changes are required The following changes […]

Moving devgit.freshports.org from GitHub to git.FreeBSD.org Read More »

git and svn handle copy differently

As a sanity check, there are several diffs to compare devgit.freshports.org with dev.freshports.org and sometimes they detect a false positive. Case in point, a recent commit to Code_Aster: https://svnweb.freebsd.org/ports?view=revision&revision=556349 https://github.com/freebsd/freebsd-ports/commit/d23fb94b8640d1c9d38c3cafc69c89ed4fe11939 In the svnweb link, you will see: head/science/tfel-edf/ (Copied from head/science/tfel, r555690) It is that repo copy (i.e. svn copy) from science/tfel to science/tfel-edf which

git and svn handle copy differently Read More »

All quarterly commits are being saved on the master branch

In the last post, I found that many commits were to the master branch when they should have been on the quarterly branch. Now I think I see why. See this XML: If it’s quarterly, it should name the branch. Case in point: 2020Q4. I went to https://lists.freebsd.org/pipermail/svn-ports-branches/2020-November/thread.html to look for known quarterly commits. Hmm,

All quarterly commits are being saved on the master branch Read More »

My ansible changes when deploying a new host

This is more for my own sanity for the next time I deploy a new FreshPorts host. There is no useful information here for anyone else. Base this upon the existing host: svn cp host_vars/foo.example.org host_vars/NEWHOST svn cp roles/postgresql-server/templates/hosts/foo.example.org roles/postgresql-server/templates/hosts/NEWHOST Edit these files: host_vars/NEWHOST roles/postgresql-server/templates/hosts/NEWHOST/pg_hba.conf.j2 roles/postgresql-server/templates/hosts/NEWHOST/postgresql.conf.j2 Create ssl certs for: NEWHOST.freshports.org NEWHOST.freshsource.org NEWHOST

My ansible changes when deploying a new host Read More »

Getting the pkg-plist contents for a FreeBSD port/package

One of the lesser known FreshPorts features is searching pkg-plist. You want nslookup and dig but you can’t find the package which installs that. The FreshPorts search can find it for you. When a new commit occurs for a given port, FreshPorts extracts and store the pkg-plist information. This allows you to search. How does

Getting the pkg-plist contents for a FreeBSD port/package Read More »

Scroll to Top