<commit_before><!--
    This Source Code Form is subject to the terms of the Mozilla Public
    License, v. 2.0. If a copy of the MPL was not distributed with this
    file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->

<!--
    Copyright (c) 2018, Joyent, Inc.
-->

# sdc-papi

This repository is part of the Joyent Triton project. See the [contribution
guidelines](https://github.com/joyent/triton/blob/master/CONTRIBUTING.md) --
*Triton does not use GitHub PRs* -- and general documentation at the main
[Triton project](https://github.com/joyent/triton) page.

Packages API is an HTTP interface to packages used for provisioning.

## Testing

Just run `./test/runtests` from within the PAPI VM.

Note that every package needed by the tests cases will be created and removed
by the test suite setup/teardown.

The packages required to test other Triton components, like CloudAPI, can be
created using `sdcadm post-setup dev-sample-data` from Triton's Headnode Global
Zone.
<commit_msg>TOOLS-2327 move repos out of Gerrit (drop referral to Gerrit for CR) (#3)<commit_after><!--
    This Source Code Form is subject to the terms of the Mozilla Public
    License, v. 2.0. If a copy of the MPL was not distributed with this
    file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->

<!--
    Copyright 2019 Joyent, Inc.
-->

# sdc-papi

This repository is part of the Joyent Triton project. See the [contribution
guidelines](https://github.com/joyent/triton/blob/master/CONTRIBUTING.md)
and general documentation at the main
[Triton project](https://github.com/joyent/triton) page.

Packages API is an HTTP interface to packages used for provisioning.

## Testing

Just run `./test/runtests` from within the PAPI VM.

Note that every package needed by the tests cases will be created and removed
by the test suite setup/teardown.

The packages required to test other Triton components, like CloudAPI, can be
created using `sdcadm post-setup dev-sample-data` from Triton's Headnode Global
Zone.

{'fraction_non_alphanumeric': 0.0880597014925373, 'fraction_numerical': 0.010447761194029851, 'mean_word_length': 3.7096018735363, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '6008239', 'n_tokens_mistral': 633, 'n_tokens_neox': 579, 'n_words': 265}