<commit_before># build-monitor-clj [![Build Status](https://travis-ci.org/cowley05/build-monitor-clj.svg?branch=master)](https://travis-ci.org/cowley05/build-monitor-clj)

A Clojure application designed to run an interesting build monitor.

It uses the *cctray.xml* format which is supported by nearly all CI servers. (I'm looking at you Bamboo)

See a demo at http://build-monitor-clj.herokuapp.com

## How to Run

The build monitor runs on port 5000 (by default).

```
export CCTRAY_URL=https://builds.apache.org/cc.xml
lein ring server
```

# Config

All configuration variables are read from the environment (see http://12factor.net/config). 
Under *nix operating systems you can use the `export` command and under Windows the `set` command to easily set this values in a start up script.

Name              | Required? | Default Value | Description | Example
------------------|-----------|---------------|-------------|---------
CCTRAY_URL        | Yes       | N/A           | The absolute url to the cctray.xml file to parse | https://builds.apache.org/cc.xml
INCLUDED_PROJECTS | No        | All projects  | A comma separated list of projects to include, this list is matched against the sentanceized project name and may include regular expressions | "foo service, .\*environment, test.\*" 
EXCLUDED_PROJECTS | No        | None          | A comma separated list of projects to exclude, this list is matched against the sentanceized project name and may include regular expressions | "sandbox environment, test external stuff"
PORT              | No        | 5000          | The port to start on, if this is not a valid port number you'll get an error while trying to start the application | 1337

# Contributing

## CC Tray XML Spec

See https://github.com/robertmaldon/cc_dashboard/blob/master/README.md#summary

## TODO

* Themeable - Zero broken/building builds screen (http-status-cats, keep calm and keep committing, Days since last accident)
* Themeable - Build status change noises
* D3 screen

## License

Copyright © 2014 <NAME>, <NAME>, <NAME> and friends (insert your name here!)

Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.
<commit_msg>Minor changes to make config easier to understand<commit_after># build-monitor-clj [![Build Status](https://travis-ci.org/cowley05/build-monitor-clj.svg?branch=master)](https://travis-ci.org/cowley05/build-monitor-clj)

A Clojure application designed to run an interesting build monitor.

It uses the *cctray.xml* format which is supported by nearly all CI servers. (I'm looking at you Bamboo)

See a demo at http://build-monitor-clj.herokuapp.com

## How to Run

The build monitor runs on port 5000 (by default).

```
export CCTRAY_URL=https://builds.apache.org/cc.xml
lein ring server
```

# Config

All configuration variables are read from the environment (see http://12factor.net/config). 
Under *nix operating systems you can use the `export` command and under Windows the `set` command to easily set this values in a start up script.

Name              | Required? | Default Value | Description | Example
------------------|-----------|---------------|-------------|---------
CCTRAY_URL        | Yes       | N/A           | The absolute url to the cctray.xml file to parse | https://builds.apache.org/cc.xml
INCLUDED_PROJECTS | No        | ".\*" (i.e. Include everything)  | A comma separated list of projects to include, this list is matched against the sentanceized project name and may include regular expressions | "foo service, .\*environment, test.\*" 
EXCLUDED_PROJECTS | No        | nil (i.e. Exclude nothing) | A comma separated list of projects to exclude, this list is matched against the sentanceized project name and may include regular expressions | "sandbox environment, test external stuff"
PORT              | No        | 5000          | The port to start on, if this is not a valid port number you'll get an error while trying to start the application | 1337

# Contributing

## CC Tray XML Spec

See https://github.com/robertmaldon/cc_dashboard/blob/master/README.md#summary

## TODO

* Themeable - Zero broken/building builds screen (http-status-cats, keep calm and keep committing, Days since last accident)
* Themeable - Build status change noises
* D3 screen

## License

Copyright © 2014 <NAME>, <NAME>, <NAME> and friends (insert your name here!)

Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.

{'fraction_non_alphanumeric': 0.11316140506891952, 'fraction_numerical': 0.011116051578479324, 'mean_word_length': 3.1812267657992566, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1101291', 'n_tokens_mistral': 1279, 'n_tokens_neox': 1207, 'n_words': 523}