<commit_before># agent-go

The new Buildbox Agent written in Go (Golang)

### Background

TODO

### How does it work?

When a job is ready to be run on the agent, it runs your Bootstrap script with all the Environment variables required.

The Bootstrap script is responsible for creating the build directory, checking out the code, and running the build script.

### Installation

Install the agent

    $ bash -c "`curl -sL https://agent.buildbox.io/install.sh`"

The bootstrap script is by default installed to: `$HOME/.buildbox/bootstrap.sh`

Once installed, you should now be able to run the agent

    $ buildbox-agent start --access-token token<PASSWORD>

For more help with the command line interface

    $ buildbox-agent help

### Development

`brew install go --cross-compile-common`

### Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

### Copyright

Copyright (c) 2014 <NAME>. See LICENSE for details.<commit_msg>Added clone instructions.<commit_after># agent-go

The new Buildbox Agent written in Go (Golang)

### Background

TODO

### How does it work?

When a job is ready to be run on the agent, it runs your Bootstrap script with all the Environment variables required.

The Bootstrap script is responsible for creating the build directory, checking out the code, and running the build script.

### Installation

Install the agent

    $ bash -c "`curl -sL https://agent.buildbox.io/install.sh`"

The bootstrap script is by default installed to: `$HOME/.buildbox/bootstrap.sh`

Once installed, you should now be able to run the agent

    $ buildbox-agent start --access-token token<PASSWORD>

For more help with the command line interface

    $ buildbox-agent help

### Development

`mkdir -p $GOPATH/src/github.com/buildboxhq/agent-go
`git clone git@github.com:buildboxhq/agent-go.git $GOPATH/src/github.com/buildboxhq/agent-go`

`brew install go --cross-compile-common`

### Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

### Copyright

Copyright (c) 2014 <NAME>. See LICENSE for details.
{'fraction_non_alphanumeric': 0.09430008382229674, 'fraction_numerical': 0.0075440067057837385, 'mean_word_length': 3.9216494845360823, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '5460729', 'n_tokens_mistral': 716, 'n_tokens_neox': 680, 'n_words': 310}