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

go env
go get -v github.com/google/go-licenses

export GOPATH=$(go env GOPATH)
export LIBRARY_LICENCES_PATH="$RECIPE_DIR/library_licenses/"
export TEMP_DIR=$(mktemp -d)
export KUBELOGIN_PATH="$TEMP_DIR/kubelogin"
export PATH=$PATH:$GOPATH/bin

echo $LIBRARY_LICENCES_PATH
echo $TEMP_DIR
echo $HOME

cd $TEMP_DIR
git clone https://github.com/Azure/kubelogin.git
cd kubelogin/

rm -fr $LIBRARY_LICENCES_PATH
$HOME/go/bin/go-licenses save $KUBELOGIN_PATH --save_path=$LIBRARY_LICENCES_PATH

cd $RECIPE_DIR
rm -fr $TEMP_DIR<commit_msg>Extra logging<commit_after>#!/bin/sh
set -e

export GOPATH=$(go env GOPATH)
export LIBRARY_LICENCES_PATH="$RECIPE_DIR/library_licenses/"
export TEMP_DIR=$(mktemp -d)
export KUBELOGIN_PATH="$TEMP_DIR/kubelogin"
export PATH=$PATH:$GOPATH/bin

go env
go get -v github.com/google/go-licenses

find / -name "go-licenses.*"

echo $LIBRARY_LICENCES_PATH
echo $TEMP_DIR
echo $HOME

cd $TEMP_DIR
git clone https://github.com/Azure/kubelogin.git
cd kubelogin/

rm -fr $LIBRARY_LICENCES_PATH
$HOME/go/bin/go-licenses save $KUBELOGIN_PATH --save_path=$LIBRARY_LICENCES_PATH

cd $RECIPE_DIR
rm -fr $TEMP_DIR
{'fraction_non_alphanumeric': 0.11830742659758203, 'fraction_numerical': 0.0, 'mean_word_length': 5.777777777777778, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4616167', 'n_tokens_mistral': 496, 'n_tokens_neox': 485, 'n_words': 97}