OpenBSD Git repository mirror

This is a mirror of OpenBSD source code repositories, seeded directly by the OpenBSD project's CVS-to-Git conversion.

The Git repositories hosted on this mirror contain sources for OpenBSD -current only. Use anoncvs instead to access source code for OpenBSD -stable branches and release tags.

The latest commit in our Git repositories corresponds at most to the second-to-last commit made to CVS repositories, due to the way the conversion script works.

This mirror is operated by the Game of Trees Hub admin team. See here for how to contact us.

Cloning

Cloning and fetching repositories manually on demand is encouraged. Please read the "Mirroring" section below before running automated sync jobs.

The repositories and their public clone URLs are:

src.git
ssh://anonymous@openbsd.gothub.org/src.git
ports.git
ssh://anonymous@openbsd.gothub.org/ports.git
xenocara.git
ssh://anonymous@openbsd.gothub.org/xenocara.git
www.git
ssh://anonymous@openbsd.gothub.org/www.git

The SSH public key fingerprints of openbsd.gothub.org are:

256 SHA256:xRm4ch84zUr7Zf7US3UB3AZgDGYG75z8+EbNCO3kbPw (ECDSA)
256 SHA256:Z/sUj2/mxd8Im8MfPEKq+Yytu5Hqhyv3ZY6Ws5DoZJA (ED25519)
3072 SHA256:vWHaIZvTw1/yRak2OnFgO5xsC04AM+vwuC7bVmSYris (RSA)

Example got.conf remote entry:

remote "origin" {
	server anonymous@openbsd.gothub.org
	protocol ssh
	repository "src.git"

	# For repository mirrors hosted on servers:
	mirror-references yes
}
Mirroring

To prevent thundering herd problems at the top of the hour, automated syncing with cronjobs should be done at a random minute. Please restrict cronjobs to one sync in every two hours.

Example crontab entry:

~ */2 *	* * -sn got fetch -q -r /git/src.git

If you run a public mirror of these repositories, please let is know so we can list them here.

Operators of public mirrors should ask us to create a dedicated user account for syncing, to avoid connection limits which apply to anonymous access.

Syncing at a random minute every 30 minutes with a dedicated user account is fine.