Skip to content
Browse files

Merge branch 'release/v1.3.0.2'

  • Loading branch information...
2 parents de182bb + 8dfd296 commit 11658bd1000464e09064a2d7cc6937fa1af75f2b @petterik petterik committed
Showing with 4 additions and 4 deletions.
  1. +1 −1 bin/fetch_git_repo_data.sh
  2. +1 −1 bin/git_repo_messages.sh
  3. +1 −1 bin/git_source_code.sh
  4. +1 −1 default/app.conf
View
2 bin/fetch_git_repo_data.sh
@@ -62,7 +62,7 @@ print_hashes_and_git_log_numstat ()
# If there are no indexed commits, get the first commit of the repository.
SINCE_COMMIT=""
- HAS_INDEXED_COMMITS=`$SPLUNK search "index=splunkgit repository=$GIT_REPO sourcetype=git_file_change | head 1 | stats count" -auth $SPLUNK_USERNAME:$SPLUNK_PASSWORD -app $APP_NAME | egrep -o '\d+'`
+ HAS_INDEXED_COMMITS=`$SPLUNK search "index=splunkgit repository=$GIT_REPO sourcetype=git_file_change | head 1 | stats count" -auth $SPLUNK_USERNAME:$SPLUNK_PASSWORD -app $APP_NAME | egrep -o '[0-9]+'`
if [ "$HAS_INDEXED_COMMITS" = "0" ]; then
FIRST_COMMIT=`git log --all --no-color --no-renames --no-merges --reverse --pretty=format:'%H' | head -n 1`
SINCE_COMMIT=$FIRST_COMMIT
View
2 bin/git_repo_messages.sh
@@ -59,7 +59,7 @@ print_commit_message_event ()
commit_messages_search="index=splunkgit repository=$GIT_REPO sourcetype=git_commit_messages | head 1 | stats count"
- HAS_INDEXED_COMMITS=`$SPLUNK search "$commit_messages_search" -auth $SPLUNK_USERNAME:$SPLUNK_PASSWORD -app $APP_NAME | egrep -o '\d+'`
+ HAS_INDEXED_COMMITS=`$SPLUNK search "$commit_messages_search" -auth $SPLUNK_USERNAME:$SPLUNK_PASSWORD -app $APP_NAME | egrep -o '[0-9]+'`
if [ "$HAS_INDEXED_COMMITS" = "0" ]; then
FIRST_COMMIT=`git log --all --no-color --no-renames --no-merges --reverse --pretty=format:'%H' | head -n 1`
SINCE_COMMIT=$FIRST_COMMIT
View
2 bin/git_source_code.sh
@@ -75,7 +75,7 @@ print_source_code ()
commit_messages_search="index=splunkgit repository=$GIT_REPO sourcetype=git_source_code | head 1 | stats count"
- HAS_INDEXED_COMMITS=`$SPLUNK search "$commit_messages_search" -auth $SPLUNK_USERNAME:$SPLUNK_PASSWORD -app $APP_NAME | egrep -o '\d+'`
+ HAS_INDEXED_COMMITS=`$SPLUNK search "$commit_messages_search" -auth $SPLUNK_USERNAME:$SPLUNK_PASSWORD -app $APP_NAME | egrep -o '[0-9]+'`
if [ "$HAS_INDEXED_COMMITS" = "0" ]; then
FIRST_COMMIT=`git log --all --no-color --no-renames --no-merges --reverse --pretty=format:'%H' | head -n 1`
SINCE_COMMIT=$FIRST_COMMIT
View
2 default/app.conf
@@ -19,7 +19,7 @@ label=Splunkgit
[launcher]
author=Emre Berge Ergenekon & Petter Eriksson
description=App for git and github repositories. Get an overview over your repositories. Git just got Splunked!
-version=1.3.0.1
+version=1.3.0.2
[package]
id=splunkgit

0 comments on commit 11658bd

Please sign in to comment.
Something went wrong with that request. Please try again.