<commit_before># Copyright 2006-2008 by <NAME>. All rights reserved.
Capistrano::Configuration.instance(:must_exist).load do 
  namespace :deprec do
    namespace :bash do

      SYSTEM_CONFIG_FILES[:bash] = [
        
        {:template => "bash_global",
         :path => '.bash_global',
         :mode => 0644,
         :owner => 'root:root'}
      ]
      
      task :config_gen do        
        SYSTEM_CONFIG_FILES[:bash].each do |file|
          deprec2.render_template(:bash, file)
        end
      end
      
      desc "Push bash config files to server"
      task :config do
        deprec2.push_configs(:bash, SYSTEM_CONFIG_FILES[:bash].collect{|file| file.merge(:owner => user)})
        deprec2.append_to_file_if_missing('.bashrc', '. .bash_global')
      end

    end
  end
end
<commit_msg>bugfix: path to file was relative to cwd<commit_after># Copyright 2006-2008 by <NAME>. All rights reserved.
Capistrano::Configuration.instance(:must_exist).load do 
  namespace :deprec do
    namespace :bash do

      SYSTEM_CONFIG_FILES[:bash] = [
        
        {:template => "bash_global",
         :path => '.bash_global',
         :mode => 0644,
         :owner => 'root:root'}
      ]
      
      task :config_gen do        
        SYSTEM_CONFIG_FILES[:bash].each do |file|
          deprec2.render_template(:bash, file)
        end
      end
      
      desc "Push bash config files to server"
      task :config do
        deprec2.push_configs(:bash, SYSTEM_CONFIG_FILES[:bash].collect{|file| file.merge(:owner => user)})
        deprec2.append_to_file_if_missing('.bashrc', '. ~/.bash_global')
      end

    end
  end
end

{'fraction_non_alphanumeric': 0.11610942249240122, 'fraction_numerical': 0.0182370820668693, 'mean_word_length': 2.3118712273641853, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '6856659', 'n_tokens_mistral': 556, 'n_tokens_neox': 491, 'n_words': 117}