<commit_before># Use the omnibus-build resource to build the project

directory '/var/cache/omnibus-project' do
  owner node[:omnibus][:build_user]
end

git '/var/cache/omnibus-project' do
  repository 'https://github.com/omniti-labs/ansible-dk.git'
  action :sync
  user node[:omnibus][:build_user]
end

omnibus_build 'ansible-dk' do
  project_dir '/var/cache/omnibus-project/omnibus-ansible-dk'
  config_overrides({dummy: 'value' })
end<commit_msg>symlink generic omnibus gitconfig to project directory because it is outside vagrant user home directory<commit_after># Use the omnibus-build resource to build the project

directory '/var/cache/omnibus-project' do
  owner node[:omnibus][:build_user]
end

git '/var/cache/omnibus-project' do
  repository 'https://github.com/omniti-labs/ansible-dk.git'
  action :sync
  user node[:omnibus][:build_user]
end

link '/var/cache/omnibus-project/omnibus-ansible-dk/.gitconfig' do
  to "/home/#{node[:omnibus][:build_user]}/.gitconfig"
end

omnibus_build 'ansible-dk' do
  project_dir '/var/cache/omnibus-project/omnibus-ansible-dk'
  config_overrides({dummy: 'value' })
end
{'fraction_non_alphanumeric': 0.13059033989266547, 'fraction_numerical': 0.0, 'mean_word_length': 5.114754098360656, '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': '5699023', 'n_tokens_mistral': 424, 'n_tokens_neox': 402, 'n_words': 85}