What runs in a FreshPorts jail?
This is what runs in an ingress jail: This runs in a nginx jail:
What runs in a FreshPorts jail? Read More »
What’s in the pipeline, how it works, how it’s made…
This is what runs in an ingress jail: This runs in a nginx jail:
What runs in a FreshPorts jail? Read More »
In this post I’ll talk about how the code intially took the easy way out and how recent changes have tightened that up. In short, the code would raise N messages when just a single notification is sufficient. Today the full vuxml database was reloaded into FreshPorts. This affects approximately 3454 ports and the marking
Changing how we record ports which need cache clearing Read More »
FreshPorts can display a single commit based upon commit id, which is based upon the Message-Id of the commit email (for subversion and cvs) or the commit hash (for git). Commit ids are specified in the URL. Cached entries are stored on disk and are named after the commit. It is because are are using
Changing cache file name for commits Read More »
This documents the git specific code which I need to package and deploy. /usr/local/libexec/freshports This is installed by freshports-scripts-git, and I have the directory symlinked to ~/scripts on devgit.freshports.org for convenience. In this directory, we have the following symlinks to other directories: Ignoring lines 2 and 4 which are not relevant, we have this list
packaging up the git-specific code Read More »
This post documents the database upgrade process. Issues encountered during initial attempts There are permission issues on the database. Not everything is owned by the postgres super-user. In fact, many of them are owned by dan – this database is 20+ years old. To easily resolve the ownership issue, I take the database dump (named
git: database upgrade process Read More »
Just like I moved devgit.freshports.org from github to git.freebsd.org for the doc repo on Thursday, today (Monday), I’m doing the same thing for the src repo. The jail uses storage on an nvd-based zpool. First, create a new filesystem: [dan@slocum:~] $ sudo zfs create nvd/freshports/devgit/ingress/repos/src You can see it appear here in the jail, but
Moving to the FreeBSD git repo for src Read More »
My plan is to update the production website and database in place. To test this process, a copy of the production database has been copied to the pg02.int.unixathome.org PostgreSQL database server and is now available as freshports.dgnew. The first test was the database update process. I think I have that settled now. Pointing the devgit.freshports.org
Testing the database conversion process Read More »
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 »
Some blog posts serve to help me think through to a solution. This blog post is just for that. Today I realized the code needs to handle both git and svn. I thought I would have one cut-over date after which all commits would go through git. I see now that this isn’t the way
Processing git and svn on the same ingress node Read More »
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 »