Introducing the Git-Compatible Version Control System Got 0.100 Release

OpenBSD Project Developers published version control release Got 0.100 (Game of Trees), in the development of which the main emphasis is on simplicity of design and use. To store versioned data, Got uses storage compatible with the disk format of Git repositories, which allows you to work with the repository using the Got and Git tools. For example, you can use Git to do work that is not implemented in Got. Code distributed by under the free ISC license.

The project's main goal is to support the development of OpenBSD with an eye to the specifics of the project. Among other things, Got uses OpenBSD security rules (such as separation of privileges and the use of pledge and unveil calls) and coding style. The toolkit is designed for the development process with a common centralized repository and local branches for developers, external access via SSH and review of changes via email.

A utility is offered for version control got with the usual set of commands. To simplify the work, the utility supports only the minimum required set of commands and options, sufficient to perform basic operations without unnecessary complications. For advanced operations, it is suggested to use regular git. Repository management operations are moved to a separate utility gotadmin, which performs tasks such as initializing the repository, packing indexes, and cleaning data. A web interface is offered to navigate through the data in the repository. gotwebd and utility tog to interactively view the contents of the repository from the command line.

Among
changes:

  • Added 'got init' command as an alternative to 'gotadmin init' command.
  • Changed to using the readdir function instead of readdir_r.
  • The web interface provides the ability to change the user ID under which the gotwebd process runs. In the gotwebd.conf configuration file, the “listen on socket off”, “unix_socket off” and “unix_socket_name” options have been removed. The number of temporary files used has been reduced.
  • Bugs and memory leaks have been fixed.

Thanks for reading: