https://github.com/teodesian/git-elasticsearch
Index your git log in elasticsearch
https://github.com/teodesian/git-elasticsearch
Last synced: about 1 year ago
JSON representation
Index your git log in elasticsearch
- Host: GitHub
- URL: https://github.com/teodesian/git-elasticsearch
- Owner: teodesian
- Created: 2019-03-08T19:04:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-18T18:01:47.000Z (about 7 years ago)
- Last Synced: 2025-02-10T05:24:09.436Z (over 1 year ago)
- Language: Perl
- Size: 17.6 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
Awesome Lists containing this project
README
# Git-Elasticsearch
Index your git log for branch(es) in elasticsearch
Sort of an add-on to App::Prove::Elasticsearch so you can cross-reference test behavior with code changes.
Stores various fields, broken down *per file*:
commit: relevant SHA
branch: relevant branch
time: relevant time commit got recorded in said branch
message: commit message
diff: diff of changes for a particular file
diffstat: total LoC change (add abs of file add/sub)
add: No. Additions
rem: No. Removals
file: file changed
Supposing this tool is installed into your PATH, operation is simple.
`git index`
Default operation is to only operate on the current branch.
In the future we will support branches, and name the index after the repo and branch name.
The tool will only index SHAs it has not yet seen, so it's safe to symlink this as a git post recieve hook.
Said hook will read ~/elastest.conf and update ES for the configured branches on the configured remote.