gitbase

SQL interface to Git repositories, written in Go. https://docs.sourced.tech/gitbase

Github星跟踪图

gitbase GitHub version Build Status codecov GoDoc Go Report Card

gitbase, is a SQL database interface to Git repositories.

This project is now part of source{d} Community Edition,
which provides the simplest way to get started with a single command.
Visit https://docs.sourced.tech/community-edition for more information.

It can be used to perform SQL queries about the Git history and
about the Universal AST of the code itself. gitbase is being built to work on top of any number of git repositories.

gitbase implements the MySQL wire protocol, it can be accessed using any MySQL
client or library from any language.

src-d/go-mysql-server is the SQL engine implementation used by gitbase.

Status

The project is currently in alpha stage, meaning it's still lacking performance in a number of cases but we are working hard on getting a performant system able to process thousands of repositories in a single node. Stay tuned!

Examples

You can see some query examples in gitbase documentation.

Motivation and scope

gitbase was born to ease the analysis of git repositories and their source code.

Also, making it MySQL compatible, we provide the maximum compatibility between languages and existing tools.

It comes as a single self-contained binary and it can be used as a standalone service. The service is able to process local repositories and integrates with existing tools and frameworks to simplify source code analysis on a large scale.
The integration with Apache Spark is planned and is currently under active development.

Further reading

From here, you can directly go to getting started.

License

Apache License Version 2.0, see LICENSE

主要指标

概览
名称与所有者src-d/gitbase
主编程语言Go
编程语言Go (语言数: 4)
平台
许可证Apache License 2.0
所有者活动
创建于2016-09-19 10:14:13
推送于2023-10-19 12:50:23
最后一次提交2019-10-29 16:15:31
发布数70
最新版本名称v0.24.0-rc3 (发布于 )
第一版名称v0.0.1 (发布于 )
用户参与
星数2.1k
关注者数30
派生数127
提交数1.4k
已启用问题?
问题数407
打开的问题数16
拉请求数512
打开的拉请求数2
关闭的拉请求数45
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?