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

  SRC_PACKAGES[:aoe] = {
    :filename => 'aoe6-56.tar.gz',   
    :md5sum => "93689aaad32f647a788c15c82bd0158e  aoe6-56.tar.gz", 
    :dir => 'aoe6-56',  
    :url => "http://www.coraid.com/support/linux/aoe6-56.tar.gz",
    :unpack => "tar zxf aoe6-56.tar.gz;",
    :make => 'make;',
    :install => 'make install;'
  }
    
  namespace :deprec do
    namespace :aoe do

      desc "Install aoe drivers required to mount Coraid block devices"
      task :install do
        install_deps
        deprec2.download_src(SRC_PACKAGES[:aoe], src_dir)
        deprec2.install_from_src(SRC_PACKAGES[:aoe], src_dir)
      end

      task :install_deps do
        apt.install( {:base => %w(build-essential linux-headers-$(uname -r) vblade aoetools)}, :stable )
      end

    end

    
    SRC_PACKAGES[:cec] = {
      :url => "http://easynews.dl.sourceforge.net/sourceforge/aoetools/cec-8.tgz",
      :md5sum => "7899dc549f9a368e532f9c39ed819f71  cec-8.tgz"
    }
    
    namespace :cec do
  
      desc "install CEC (Coraid Ethernet Console)"
      task :install do
        deprec2.download_src(SRC_PACKAGES[:cec], src_dir)
        deprec2.install_from_src(SRC_PACKAGES[:cec], src_dir)
      end
      
    end
    
    SRC_PACKAGES[:ddt] = {
      :url => "http://support.coraid.com/support/sr/ddt-6.tgz",
      :md5sum => "5e1e8a58a8621b93440be605113f7bc0  ddt-6.tgz"
    }
    
    namespace :ddt do
  
      desc "install DDT (tool for testing performance)"
      task :install do
        deprec2.download_src(SRC_PACKAGES[:ddt], src_dir)
        deprec2.install_from_src(SRC_PACKAGES[:ddt], src_dir)
      end
      
    end
    
    SRC_PACKAGES[:aoemask] = {
      :url => "http://support.coraid.com/support/sr/aoemask-1.tgz",
      :md5sum => "379461a28d511e269f4593b846bd1288  aoemask-1.tgz"
    }
    
    namespace :aoemask do
  
      desc "install aoemask"
      task :install do
        deprec2.download_src(SRC_PACKAGES[:aoemask], src_dir)
        deprec2.install_from_src(SRC_PACKAGES[:aoemask], src_dir)
      end
      <commit_msg>* Restricted all tasks to :role => :aoe * Updated packages * Put in values to override :setup_defaults task in capistrano_extensions<commit_after># Copyright 2006-2008 by <NAME>. All rights reserved.
Capistrano::Configuration.instance(:must_exist).load do 

  SRC_PACKAGES[:aoe] = {
    :url => "http://support.coraid.com/support/linux/aoe6-64.tar.gz",
    :md5sum => "c5e1ebb734e3b29c0a3d886a700ca44a  aoe6-64.tar.gz",
    :configure => ''
  }
  
  SRC_PACKAGES[:cec] = {
    :url => "http://easynews.dl.sourceforge.net/sourceforge/aoetools/cec-8.tgz",
    :md5sum => "7899dc549f9a368e532f9c39ed819f71  cec-8.tgz",
    :configure => '',
    :install => "test -f /usr/sbin/cec && rm /usr/sbin/cec; make install;"
  }
  
  SRC_PACKAGES[:ddt] = {
    :url => "http://support.coraid.com/support/sr/ddt-8.tgz",
    :md5sum => "256a58aba5e05f9995fb9de6aadadf92  ddt-8.tgz"
  }
  
  SRC_PACKAGES[:aoemask] = {
    :url => "http://support.coraid.com/support/sr/aoemask-1.tgz",
    :md5sum => "379461a28d511e269f4593b846bd1288  aoemask-1.tgz"
  }
    
  namespace :deprec do
    namespace :aoe do
      
      desc "Install aoe drivers required to mount Coraid block devices"
      task :install, :roles => :aoe do
        install_deps
        deprec2.download_src(SRC_PACKAGES[:aoe], src_dir)
        deprec2.install_from_src(SRC_PACKAGES[:aoe], src_dir)
      end

      task :install_deps, :roles => :aoe do
        apt.install( {:base => %w(build-essential linux-headers-$(uname -r) vblade aoetools)}, :stable )
      end
      
      desc "Install all AoE related software"
      task :install_all, :roles => :aoe do
        top.deprec.aoe.install
        top.deprec.cec.install
        top.deprec.ddt.install
        top.deprec.aoemask.install
      end
      
    end

    namespace :cec do
      desc "install CEC (Coraid Ethernet Console)"
      task :install, :roles => :aoe do
        deprec2.download_src(SRC_PACKAGES[:cec], src_dir)
        deprec2.install_from_src(SRC_PACKAGES[:cec], src_dir)
      end
    end
    
    namespace :ddt do
      desc "install DDT (tool for testing performance)"
      task :install, :roles => :aoe do
        deprec2.download_src(SRC_PACKAGES[:ddt], src_dir)
        deprec2.install_from_src(SRC_PACKAGES[:ddt], src_dir)
      end
    end
    
    namespace :aoemask do
      desc "install aoemask"
      task :install, :roles => :aoe do
        deprec2.download_src(SRC_PACKAGES[:aoemask], src_dir)
        deprec2.install_from_src(SRC_PACKAGES[:aoemask], src_dir)
      end
{'fraction_non_alphanumeric': 0.1255069370330843, 'fraction_numerical': 0.05208110992529349, 'mean_word_length': 2.7338645418326695, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 38, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3711384', 'n_tokens_mistral': 1943, 'n_tokens_neox': 1758, 'n_words': 312}