Skip to content

src-d/gitbase

Folders and files

NameName
Last commit message
Last commit date
Aug 23, 2019
Aug 23, 2019
Oct 29, 2019
Apr 4, 2019
Oct 29, 2019
Jun 11, 2019
Jun 28, 2018
Jun 13, 2019
Aug 7, 2019
Oct 29, 2019
Oct 11, 2019
Oct 23, 2018
Jun 4, 2018
Aug 7, 2019
Oct 23, 2019
Apr 23, 2018
Oct 11, 2019
Jun 18, 2019
Jul 2, 2019
Jul 4, 2019
Jun 20, 2019
Jun 20, 2019
Jun 20, 2019
Jul 4, 2019
Jun 20, 2019
Jul 4, 2019
Jul 5, 2019
Jul 4, 2019
Jun 20, 2019
Jul 4, 2019
Jun 20, 2019
Aug 23, 2019
Jun 11, 2019
Jun 28, 2019
Apr 10, 2018
Jul 5, 2019
Jul 5, 2019
Jun 11, 2019
Jun 11, 2019
Jul 3, 2019
Oct 28, 2019
Oct 28, 2019
Jun 11, 2019
Jun 20, 2019
Jul 19, 2019
Oct 29, 2019
Jun 20, 2019
Jun 28, 2019
Jul 3, 2019
May 20, 2019
Jun 11, 2019
May 31, 2019
Jul 4, 2019
Jun 20, 2019
Jul 4, 2019
Jun 20, 2019
Jun 11, 2019
Jul 3, 2019
Jun 20, 2019
Jul 3, 2019
Jun 21, 2019
Jun 28, 2019
Jul 5, 2019
Jun 19, 2019
Jun 19, 2019
Jul 3, 2019
Jun 24, 2019
Jun 28, 2019
Jun 11, 2019
Jun 11, 2019
Jul 4, 2019
Jun 20, 2019
Jun 11, 2019

Repository files navigation

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