Posts (Latest 10 updated) : Read all

Link List (Edit):
Contents:
  1. Got: Version Control Focused on Simplicity, not Flexibility
    1. Setup and config
    2. Setup of gotd
  2. chown _gotd /git/myrepo.git
  3. su -m _gotd -c ‘gotadmin init /git/myrepo.git’
  4. cat » /etc/gotd.conf «EOF
  5. rcctl restart gotd
  6. Run as the default user:
  7. Listen on the default socket:
  8. This repository can be accessed via ssh://user@example.com/src
  9. This repository can be accessed via
  10. ssh://user@example.com/openbsd/ports
#   ____  ___ _____
#  / ___|/ _ \_   _|
# | |  _| | | || |
# | |_| | |_| || |
#  \____|\___/ |_|
#

Got: Version Control Focused on Simplicity, not Flexibility

Got is a new version control system built on top of git, which is focused on making git a little more easier to use.

Got will always be compatible with git.

Setup and config

TBD

Setup of gotd

  1. mkdir -p /git/myrepo.git
  2. chmod 700 /git/myrepo.git
  3. chown _gotd /git/myrepo.git

  4. su -m _gotd -c ‘gotadmin init /git/myrepo.git’

  5. Add the new repository to gotd.conf(5) granting read-write access to the
  6. flan_hacker user account, and restart gotd:
  7. cat » /etc/gotd.conf «EOF

  8. repository ‘myrepo’ {
    1. path ‘/git/myrepo.git’
    2. permit rw flan_hacker
    3. }
    4. EOF
    5. rcctl restart gotd

    6. Run as the default user:

    7. user _gotd
    8. Listen on the default socket:

    9. listen on “/var/run/gotd.sock”
    10. This repository can be accessed via ssh://user@example.com/src

    11. repository “src” {
      1. path “/var/git/src.git”
      2. permit rw flan_hacker
      3. permit rw :developers
      4. permit ro anonymous
      5. protect branch “main”
      6. protect tag namespace “refs/tags/”
      7. }
      8. This repository can be accessed via

      9. ssh://user@example.com/openbsd/ports

      10. repository “openbsd/ports” {
        1. path “/var/git/ports.git”