<commit_before>#!/bin/bash
set -e

declare -A aliases
aliases=(
	[openjdk-7-jdk]='jdk latest'
	[openjdk-7-jre]='jre'
)
defaultType='jdk'
defaultFlavor='openjdk'

cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"

versions=( */ )
versions=( "${versions[@]%/}" )
url='git://github.com/docker-library/java'

echo '# maintainer: InfoSiftr <<EMAIL>> (@infosiftr)'

for version in "${versions[@]}"; do
	commit="$(git log -1 --format='format:%H' -- "$version")"
	
	flavor="${version%%-*}" # "openjdk"
	javaVersion="${version#*-}" # "6-jdk"
	javaType="${javaVersion##*-}" # "jdk"
	javaVersion="${javaVersion%-*}" # "6"
	
	fullVersion="$(grep -m1 'ENV JAVA_VERSION ' "$version/Dockerfile" | cut -d' ' -f3 | tr '~' '-')"<commit_msg>Move the "latest" tag to point to "java:8"<commit_after>#!/bin/bash
set -e

declare -A aliases
aliases=(
	[openjdk-8-jdk]='jdk latest'
	[openjdk-8-jre]='jre'
)
defaultType='jdk'
defaultFlavor='openjdk'

cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"

versions=( */ )
versions=( "${versions[@]%/}" )
url='git://github.com/docker-library/java'

echo '# maintainer: InfoSiftr <<EMAIL>> (@infosiftr)'

for version in "${versions[@]}"; do
	commit="$(git log -1 --format='format:%H' -- "$version")"
	
	flavor="${version%%-*}" # "openjdk"
	javaVersion="${version#*-}" # "6-jdk"
	javaType="${javaVersion##*-}" # "jdk"
	javaVersion="${javaVersion%-*}" # "6"
	
	fullVersion="$(grep -m1 'ENV JAVA_VERSION ' "$version/Dockerfile" | cut -d' ' -f3 | tr '~' '-')"
{'fraction_non_alphanumeric': 0.2607215793056501, 'fraction_numerical': 0.010211027910142955, 'mean_word_length': 5.074380165289257, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '5260206', 'n_tokens_mistral': 608, 'n_tokens_neox': 577, 'n_words': 113}