stash-log-parser / logparser /

Filename Size Date modified Message
..
src
tests
9.9 KB
564 B
1.4 KB
2.3 KB
78 B
2.3 KB

Build

To build the logparser run

$> cabal configure
$> cabal build

If any of the dependencies are missing run:

$> cabal install --only-dependencies

To copy it into the cabal bin directory that should be in the $PATH, run

$> cabal copy

Tests

Enable tests

$> cabal configure --enable-tests
$> cabal build
$> cabal test

Access log notes

If the clone cache plugin is installed, additional information will be available in the labels section of the access log line.

As of 1.1.2, the clone cache plugin adds whether the response was a cache hit or a cache miss.

HTTP(s)/Authenticated

Up-to-date fetch/ls-remote:

59.167.133.99,172.16.1.187 | https | i48x27018x1 | - | 2012-09-20 00:48:05,425 | "GET /scm/TEST/stefan-test.git/info/refs HTTP/1.1" | "" "git/1.7.11.4" | - | - | - | 
59.167.133.99,172.16.1.187 | https | o48x27018x1 | - | 2012-09-20 00:48:05,435 | "GET /scm/TEST/stefan-test.git/info/refs HTTP/1.1" | "" "git/1.7.11.4" | - | 10 | - | 
59.167.133.99,172.16.1.187 | https | i48x27019x1 | - | 2012-09-20 00:48:05,648 | "GET /scm/TEST/stefan-test.git/info/refs HTTP/1.1" | "" "git/1.7.11.4" | - | - | - | 
59.167.133.99,172.16.1.187 | https | o48x27019x1 | ssaasen | 2012-09-20 00:48:05,837 | "GET /scm/TEST/stefan-test.git/info/refs HTTP/1.1" | "" "git/1.7.11.4" | - | 189 | 1iufqo7 |

First response is a 401, seconds a 200 with the ref advertisement

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.