aboutsummaryrefslogtreecommitdiff
path: root/porteur.conf.sample
diff options
context:
space:
mode:
authortsne <tsne.dev@outlook.com>2025-01-01 14:58:28 +0100
committertsne <tsne.dev@outlook.com>2025-10-30 08:32:49 +0100
commit44e5ad763794a438ecfd50c8b7f6ea760ea82da5 (patch)
tree575a1fc72ceb1d7f052cf582abc1e038e27f69a3 /porteur.conf.sample
downloadporteur-main.tar.gz
initial commitHEADmain
Diffstat (limited to 'porteur.conf.sample')
-rw-r--r--porteur.conf.sample37
1 files changed, 37 insertions, 0 deletions
diff --git a/porteur.conf.sample b/porteur.conf.sample
new file mode 100644
index 0000000..77f8b12
--- /dev/null
+++ b/porteur.conf.sample
@@ -0,0 +1,37 @@
+# The directory where of the main ports collection.
+# Per default porteur tries to determine the ports directory from the
+# environment. It first reads the PORTSDIR environment variable. If no
+# such variable can be found `/usr/ports` will be used.
+portsdir = /usr/ports
+
+# The directory where porteur creates the distribution files for the ports
+# into. To make the path configuration more flexible, the two variables
+# `TREENAME` and `PORTNAME` can be used which resolve to the name of the
+# ports tree and the name of the port respectively. This value is set in
+# the predefined template variable `.dist.dir`.
+# If no directory is configured, `$PREFIX/porteur/distfiles/{{TREENAME}}`
+# will be used.
+distfiles-dir = /usr/ports/distfiles/{{TREENAME}}/{{PORTNAME}}
+
+# The number of distribution files created for a single port. This can be
+# used for rollbacks.
+# If no number is configured only the last distfile will be kept.
+distfiles-history = 3
+
+# The port's default category that will be used.
+# This will be used as the default value in the `porteur port add` command.
+# If none is configured, a category must be typed explicitly everytime a
+# port is created.
+category = lichterlabs
+
+# The default branch to use for a Git repository.
+# This will be used as the default value in the `porteur port add` command.
+# If none is configured, the `main` branch is used as default value.
+git-branch = dev
+
+# When editing configuration files or variables, porteur needs to know which
+# editor to use. Per default porteur tries to determine the editor from the
+# environment. It reads the VISUAL or the EDITOR environment variable (in
+# this particular order) and uses this editor. When nothing can be found
+# and nothing is configured it falls back to `vi`.
+editor = vim