<commit_before>Amazon-hosted instances benefit from the availability supplemental tools provided by Amazon. Amazon does not generally make these tools directly availabile for download and porting. Instead, it is necessary to:

1. Instantiate an Amazon Linux AMI
2. Identify the AWS tools you wish to port
3. Use the `get_reference_source` Python script to pull copies of the SRPMs from the S3 hosted software repos
4. Copy the SRPMs to your target installation environment (e.g., "CentOS 6")
5. Use the `rpmbuild` utility (found in the "Development tools" Yum package-group) to create RPMs from the SRPMs.
6. Install the resultant RPMs to your instance.

As of the creation of this RPM, the following AWS-related packages were available for pull-down using the `get_reference_source` method:

* aws-amitools-ec2-1.5.7-1.0.amzn1.src.rpm
* aws-apitools-as-1.0.61.6-1.0.amzn1.src.rpm
* aws-apitools-common-1.1.0-1.9.amzn1.src.rpm
* aws-apitools-ec2-1.7.3.0-1.0.amzn1.src.rpm
* aws-apitools-elb-1.0.35.0-1.0.amzn1.src.rpm
* aws-apitools-mon-1.0.20.0-1.0.amzn1.src.rpm
* aws-cfn-bootstrap-1.4-9.4.amzn1.src.rpm
* aws-cli-1.8.2-1.24.amzn1.src.rpm
* ec2-utils-0.4-1.23.amzn1.src.rpm
* get_reference_source-1.2-0.4.amzn1.src.rpm

Most of the AWS packages change fairly infrequently. It's recommended that the procedures noted at the head of this README be executed on approximately a quarterly-basis.

Notes:
* The `aws-cli` is not relevant to CentOS 6. It is recommended to get its functionality via the [install-bundle ZIP](http://docs.aws.amazon.com/cli/latest/userguide/installing.html).
* The `get_reference_source` is only relevant for the original AWS-hosted source-RPMs. It is provided in this bundle for completeness but is not otherwise usefully-functional
* The Amazon python-boto RPM requires Python 2.7. This version is not compatible with current Enterprise Linux 6 derivatives.
* Installation of these RPMs will pull in the following package-dependencies:
  * alsa-lib
  * compat-readline5
  * fontconfig
  * freetype
  * giflib
  * java-1.8.0-openjdk
  * java-1.8.0-openjdk-headless
  * jpackage-utils
  * libICE
  * libSM
  * libX11
  * libX11-common
  * libXau
  * libXext
  * libXfont
  * libXi
  * libXrender
  * libXtst
  * libfontenc
  * libjpeg-turbo
  * libpng
  * libxcb
  * rsync
  * ruby
  * ruby-libs
  * ttmkfdir
  * tzdata-java
  * xorg-x11-font-utils
  * xorg-x11-fonts-Type1
<commit_msg>Update README to reflect additional information from EL7-based builds<commit_after>Amazon-hosted instances benefit from the availability supplemental tools provided by Amazon. Amazon does not generally make these tools directly availabile for download and porting. Instead, it is necessary to:

1. Instantiate an Amazon Linux AMI
2. Identify the AWS tools you wish to port
3. Use the `get_reference_source` Python script to pull copies of the SRPMs from the S3 hosted software repos
4. Copy the SRPMs to your target installation environment (e.g., "CentOS 6")
5. Use the `rpmbuild` utility (found in the "Development tools" Yum package-group) to create RPMs from the SRPMs.
6. Install the resultant RPMs to your instance.

As of the creation of this RPM, the following AWS-related packages were available for pull-down using the `get_reference_source` method:

* aws-amitools-ec2-1.5.7-1.0.amzn1.src.rpm
* aws-apitools-as-1.0.61.6-1.0.amzn1.src.rpm
* aws-apitools-common-1.1.0-1.9.amzn1.src.rpm
* aws-apitools-ec2-1.7.3.0-1.0.amzn1.src.rpm
* aws-apitools-elb-1.0.35.0-1.0.amzn1.src.rpm
* aws-apitools-mon-1.0.20.0-1.0.amzn1.src.rpm
* aws-cfn-bootstrap-1.4-9.4.amzn1.src.rpm
* aws-cli-1.8.2-1.24.amzn1.src.rpm
* ec2-utils-0.4-1.23.amzn1.src.rpm
* get_reference_source-1.2-0.4.amzn1.src.rpm

Most of the AWS packages change fairly infrequently. It's recommended that the procedures noted at the head of this README be executed on approximately a quarterly-basis.

Notes:
* The `aws-cli` RPM is not relevant to Red Hat or CentOS 6/7. It is recommended to get its functionality via the [install-bundle ZIP](http://docs.aws.amazon.com/cli/latest/userguide/installing.html).
* The `get_reference_source` is only relevant for the original AWS-hosted source-RPMs. It is provided in this bundle for completeness but is not otherwise usefully-functional
* The Amazon python-boto RPM requires Python 2.7. This version is not compatible with current Enterprise Linux 6 derivatives.
* If building on CentOS 7, it is recommended to add `%dist .el7` to `${HOME}/.rpmmacros`. Otherwise, RPMs will have `el7.centos` within their Release-name field.
* Installation of these RPMs will pull in the following package-dependencies:
  * alsa-lib
  * compat-readline5
  * fontconfig
  * freetype
  * giflib
  * java-1.8.0-openjdk
  * java-1.8.0-openjdk-headless
  * jpackage-utils
  * libICE
  * libSM
  * libX11
  * libX11-common
  * libXau
  * libXext
  * libXfont
  * libXi
  * libXrender
  * libXtst
  * libfontenc
  * libjpeg-turbo
  * libpng
  * libxcb
  * rsync
  * ruby
  * ruby-libs
  * ttmkfdir
  * tzdata-java
  * xorg-x11-font-utils
  * xorg-x11-fonts-Type1

{'fraction_non_alphanumeric': 0.09847735811746094, 'fraction_numerical': 0.03935139410717817, 'mean_word_length': 3.6403669724770644, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 8, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '278501', 'n_tokens_mistral': 1897, 'n_tokens_neox': 1816, 'n_words': 545}