dot

packages and services management
Log | Files | Refs | README

commit 3ef5056676cc7fb3398c53ce2f76f2c3e85100fe
parent 6b60ce81dec340a2fac577b10aee7bb0536c016c
Author: Josuah Demangeon <mail@josuah.net>
Date:   Wed, 14 Feb 2018 21:01:46 +0100

[fix] for some reason it could not generate the ruler

Diffstat:
Mbin/git-gph | 12++++++------
Mskel/crontab | 3++-
2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/bin/git-gph b/bin/git-gph @@ -5,16 +5,16 @@ p=$(printf '%s/commit/' "$1" | sed 's/[\&/]/\\&/g') cat << EOF > index.gph ---- $(basename "$PWD" | awk '{ for (i = length($0); i < 76; i++) printf("-");}') +--- $(basename "$(pwd)") --- - git clone git://josuah.net:9000/$(basename "$PWD") + git clone git://josuah.net:9000/$(basename "${PWD}") $(git ls-tree -r --name-only master | sort | sed 's/^/ /') $(git log --graph --all --date=short --decorate --tags --branches --remotes \ - --format='%H %ad %an <%ae>%n %s%n' | sed -r ' -/[0-9a-f]{40}/ { -s/\|/\\&/g + --format='%H %ad %an <%ae>%n %s%n' | sed -r ' + /[0-9a-f]{40}/ { + s/\|/\\&/g s/(.*)([0-9a-f]{8})([0-9a-f]{32})(.*)/[0|\1\2\4|'"$p"'\2\3.txt|server|port]/ }') EOF @@ -24,5 +24,5 @@ for commit in $(git log --format=%H) do [ -f "commit/$commit.txt" ] && continue printf '%s\n' "$commit" 1>&2 - git show --stat -U3 "$commit" --color=never > "commit/$commit.txt" + git show --stat -U3 "$commit" > "commit/$commit.txt" done diff --git a/skel/crontab b/skel/crontab @@ -10,4 +10,5 @@ #40 6 * * * back rsync "${HOME}/back/4" #50 6 * * * back rsync "${HOME}/back/5" -#* * * * * cd "${HOME}/srv" && collectd-ploot +#* * * * * collectd-ploot "${HOME}/.cache/collectd" "${HOME}/srv/stat" +