GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - src-d/gitbase: SQL interface to git repositories, written in Go. https://docs.sourced.tech/gitbase

BranchesTags
Open more actions menu

Latest commit

 

History

1,352 Commits
1,352 Commits

Folders and files

NameName
Last commit message
Last commit date
_testdata
_testdata
 
 
cmd/gitbase
cmd/gitbase
 
 
docs
docs
 
 
e2e
e2e
 
 
internal
internal
 
 
tools/rev-upgrade
tools/rev-upgrade
 
 
.gitbook.yaml
.gitbook.yaml
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CODEOWNERS
CODEOWNERS
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
DCO
DCO
 
 
Dockerfile
Dockerfile
 
 
Jenkinsfile
Jenkinsfile
 
 
LICENSE
LICENSE
 
 
MAINTAINERS
MAINTAINERS
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
blobs.go
blobs.go
 
 
blobs_test.go
blobs_test.go
 
 
checksum.go
checksum.go
 
 
checksum_test.go
checksum_test.go
 
 
commit_blobs.go
commit_blobs.go
 
 
commit_blobs_test.go
commit_blobs_test.go
 
 
commit_files.go
commit_files.go
 
 
commit_files_test.go
commit_files_test.go
 
 
commit_trees.go
commit_trees.go
 
 
commit_trees_test.go
commit_trees_test.go
 
 
commits.go
commits.go
 
 
commits_test.go
commits_test.go
 
 
common_test.go
common_test.go
 
 
database.go
database.go
 
 
database_test.go
database_test.go
 
 
env.go
env.go
 
 
files.go
files.go
 
 
files_test.go
files_test.go
 
 
filters.go
filters.go
 
 
filters_test.go
filters_test.go
 
 
fs_error_test.go
fs_error_test.go
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
index.go
index.go
 
 
index_test.go
index_test.go
 
 
init.sh
init.sh
 
 
integration_test.go
integration_test.go
 
 
packfiles.go
packfiles.go
 
 
packfiles_test.go
packfiles_test.go
 
 
partition.go
partition.go
 
 
path_utils.go
path_utils.go
 
 
path_utils_test.go
path_utils_test.go
 
 
pull_request_template.md
pull_request_template.md
 
 
ref_commits.go
ref_commits.go
 
 
ref_commits_test.go
ref_commits_test.go
 
 
references.go
references.go
 
 
references_test.go
references_test.go
 
 
regression_test.go
regression_test.go
 
 
remotes.go
remotes.go
 
 
remotes_test.go
remotes_test.go
 
 
repositories.go
repositories.go
 
 
repositories_test.go
repositories_test.go
 
 
repository_pool.go
repository_pool.go
 
 
repository_pool_test.go
repository_pool_test.go
 
 
session.go
session.go
 
 
session_test.go
session_test.go
 
 
squash.go
squash.go
 
 
squash_iterator.go
squash_iterator.go
 
 
squash_iterator_test.go
squash_iterator_test.go
 
 
table.go
table.go
 
 
table_test.go
table_test.go
 
 
tree_entries.go
tree_entries.go
 
 
tree_entries_test.go
tree_entries_test.go
 
 
utils.go
utils.go
 
 

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

About

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

Topics

astgitgolangsqlsql-interface

Resources

Readme
Apache-2.0 license

Contributing

Contributing
Activity
Custom properties

Stars

2.1k stars

Watchers

27 watching

Forks

125 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.