gitbase
gitbase copied to clipboard
Missing function in Gitbase DB (MariaDB)
Hey,
when I try to run the following example in the db
SELECT repository_id, file_path,
JSON_UNQUOTE(JSON_EXTRACT(bl, "$.linenum")),
JSON_UNQUOTE(JSON_EXTRACT(bl, "$.author")),
JSON_UNQUOTE(JSON_EXTRACT(bl, "$.text"))
FROM (SELECT repository_id, file_path,
EXPLODE(BLAME(repository_id, commit_hash, file_path)) AS bl
FROM ref_commits
NATURAL JOIN blobs
NATURAL JOIN commit_files
WHERE ref_name = 'HEAD'
AND NOT IS_BINARY(blob_content)
) as p
WHERE JSON_EXTRACT(bl, "$.text") LIKE '%// TODO%';
I get the following error
ERROR 1105 (HY000): unknown error: A function: 'blame' not found.
I'm new to source{d} and using the community edition. Could you guys point me in the right direction. For some reason SHOW FUNCTION STATUSis working either so I'm having problems debugging this.
Hello,
I have the same thing.
Regards
On my setup, with source{d} default install, version of gitbase is 0.23.1
There is no blame function in 0.23.1....
I have the same problem... It seems that this project hasn't been updated for a long time... Is there anyone still maintaining this project?
Sourced Technologies was dissolved and gitbase is not maintained anymore. Some more background here: https://github.com/src-d/go-mysql-server/issues/873
In short: this repository won't be updated anymore. The project is dead unless someone decides to fork it and maintain it.