<commit_before># Ash-Slapshot

Ash-Slapshot is an [Ash](https://github.com/BrandonRomano/ash) module that automates the build + upload process for HockeyApp.

## Getting started

You're going to have to install [Ash](https://github.com/BrandonRomano/ash) to use this module, as it is tightly coupled to the Ash core.

After you have Ash installed, run either one of these two commands depending on your git clone preference:

- `ash self:install <EMAIL>:carrot/ash-slapshot.git`
- `ash self:install https://github.com/carrot/ash-slapshot.git`

You can also add the `--global` flag to install globally, or add this to your `Ashmodules` file depending on your preference.

## Setting up Ash-Slapshot with your application

### Android

Before we get started, you're going to have to have to obtain a HockeyApp API token.  You can create one at `https://rink.hockeyapp.net` in `Account Settings > API Tokens`.

The API token must be set with access to `All Apps` and also have `Full Access` rights if the application hasn't been created yet (This is a requirement of HockeyApp's API).  After you've made your first upload, you are free to create an API Token with access to only your app.

After you have your API token, export it in your [.ashrc file](https://github.com/BrandonRomano/ash#the-ashrc-file) to `SLAPSHOT_HOCKEYAPP_TOKEN`.

```bash
export SLAPSHOT_HOCKEYAPP_TOKEN="<KEY>"
```

After we have our API token setup, we may in our application's base directory call:

```bash
ash slapshot:init
```

You'll note a `slapshot_config.yaml` file has been created in the current directory.  It's possible you may need to tweak the other variables depending on your setup, but the defaults should match a majority of use cases.

To cut a build we can now in the applications base directory run:

```bash
ash slapshot:build
```

After you receive a message logging that you have a successful build, you can now run:

```bash
ash slapshot:upload
```

All subsequent builds will also be cut in the same manner.

### iOS

There is currently not support for iOS.  If there is any interest we can explore adding support for iOS.

## License

[MIT](license.txt)<commit_msg>Repointing license ref in README<commit_after># Ash-Slapshot

Ash-Slapshot is an [Ash](https://github.com/BrandonRomano/ash) module that automates the build + upload process for HockeyApp.

## Getting started

You're going to have to install [Ash](https://github.com/BrandonRomano/ash) to use this module, as it is tightly coupled to the Ash core.

After you have Ash installed, run either one of these two commands depending on your git clone preference:

- `ash self:install git@github.com:carrot/ash-slapshot.git`
- `ash self:install https://github.com/carrot/ash-slapshot.git`

You can also add the `--global` flag to install globally, or add this to your `Ashmodules` file depending on your preference.

## Setting up Ash-Slapshot with your application

### Android

Before we get started, you're going to have to have to obtain a HockeyApp API token.  You can create one at `https://rink.hockeyapp.net` in `Account Settings > API Tokens`.

The API token must be set with access to `All Apps` and also have `Full Access` rights if the application hasn't been created yet (This is a requirement of HockeyApp's API).  After you've made your first upload, you are free to create an API Token with access to only your app.

After you have your API token, export it in your [.ashrc file](https://github.com/BrandonRomano/ash#the-ashrc-file) to `SLAPSHOT_HOCKEYAPP_TOKEN`.

```bash
export SLAPSHOT_HOCKEYAPP_TOKEN="<KEY>"
```

After we have our API token setup, we may in our application's base directory call:

```bash
ash slapshot:init
```

You'll note a `slapshot_config.yaml` file has been created in the current directory.  It's possible you may need to tweak the other variables depending on your setup, but the defaults should match a majority of use cases.

To cut a build we can now in the applications base directory run:

```bash
ash slapshot:build
```

After you receive a message logging that you have a successful build, you can now run:

```bash
ash slapshot:upload
```

All subsequent builds will also be cut in the same manner.

### iOS

There is currently not support for iOS.  If there is any interest we can explore adding support for iOS.

## License

[MIT](LICENSE.txt)
{'fraction_non_alphanumeric': 0.0799265043638034, 'fraction_numerical': 0.0, 'mean_word_length': 4.403225806451613, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 8, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1707191', 'n_tokens_mistral': 1260, 'n_tokens_neox': 1208, 'n_words': 615}