FreeBSD (new) Committer's Tools
This repo contains notes from my new-committer period, as well as links to useful FreeBSD resources (mostly for new committers) and some tools of mixed parentage.
- Committer's Guide -- log messages
- Porter's Handbook
- FreeBSD bugzilla
- FreeBSD phab
- FreeBSD package builders
This script uses
dialog(1)to ask a few questions, and then installs the software and configuration needed for that workstation-use. It is tailored to my needs, but accepts PRs for other uses.
This script checks out a (writable) ports-tree suitable for working on individual ports. The ports tree is checked out in sparse mode, which means that you only get the bits needed to modify and build the ports you ask for. Can also be used to create a ports tree from a Phab review. Joint work with tcberner@
Typical use is to create a writable checkout (that is, one over ssh which you can commit from) with a particular name, for one or more ports that need to be modified: sparse-ports-checkout.sh -w -n ports-tree-name -p category/portname
This script bumps the
PORTREVISIONvalue in each named port, by editing the Makefile. If no
PORTREVISIONexists, adds one with value 1.
- Ports graphs perl python
Both scripts use dot (
graphics/graphviz) to produce a graph of the dependencies for a given port. Both use the output from
pkgto obtain the dependency tree.
The work in this repository is not only my own. Other contributors alphabetically by first name or nickname are:
- Tobias Berner