<commit_before>class MavenRepository < Versioneye::Model

  include Mongoid::Document
  include Mongoid::Timestamps

  field :name, type: String
  field :url, type: String
  field :replace_with_repo_src, type: String
  field :language, type: String

  validates_uniqueness_of :url, :message => 'm2 repository url exist already.'

  index({ name: 1 }, { name: "name_index", unique: true, background: true })

  def self.fill_it
    repos = Hash.new
    repos['central']            = 'http://repo.maven.apache.org/maven2'
    repos['codeHaus']           = 'http://repository.codehaus.org/'
    repos['typesafe']           = 'http://repo.typesafe.com/typesafe/releases/'
    repos['akka']               = 'http://repo.akka.io/releases'
    repos['ibiblio']            = 'http://mirrors.ibiblio.org/maven2/'
    repos['antelink']           = 'http://maven.antelink.com/content/repositories/central/'
    repos['activity']           = 'https://maven.alfresco.com/nexus/content/repositories/activiti-releases/org/activiti/'
    repos['activity_designer']  = 'https://maven.alfresco.com/nexus/content/repositories/activiti/org/activiti/designer/'
    repos['servicemix']         = 'http://svn.apache.org/repos/asf/servicemix/m2-repo'
    repos['springRelease']      = 'http://maven.springframework.org/release/'
    repos['springMilestone']    = 'http://maven.springframework.org/milestone/'
    repos['primeFaces']         = 'http://repository.primefaces.org/'
    repos['iceFaces']           = 'http://anonsvn.icesoft.org/repo/maven2/releases/'
    repos['glassfish']          = 'http://download.java.net/maven/glassfish/'
    repos['googleCode']         = 'http://google-maven-repository.googlecode.com/svn/repository/'
    repos['gradle']             = 'http://gradle.artifactoryonline.com/gradle/libs/'
    repos['atlassian']          = 'https://maven.atlassian.com/content/repositories/atlassian-public/'
    repos['atlassianContrib']   = 'https://maven.atlassian.com/content/repositories/atlassian-contrib/'
    repos['selenium']           = 'http://nexus.openqa.org/content/repositories/releases/'
    repos['jbossPublic']        = 'http://repository.jboss.org/nexus/content/groups/public-jboss/'
    repos['appFuse']            = 'http://static.appfuse.org/repository/'
    repos['fuse']               = 'http://repo.fusesource.com/maven2/'
    repos['dojo']               = 'http://download.dojotoolkit.org/maven2/'
    repos['ejb3unit']           = 'http://ejb3unit.sourceforge.net/maven2/'
    repos['freehep']            = 'http://java.freehep.org/maven2/'
    repos['geotools']           = 'http://download.osgeo.org/webdav/geotools/'
    repos['fuin']               = 'http://www.fuin.org/maven-repository/'
    repos['guiceyFruit']        = 'http://guiceyfruit.googlecode.com/svn/repo/releases/'
    repos['jasig']              = 'http://developer.jasig.org/repo/content/groups/m2-legacy/'
    repos['javanet']            = 'http://download.java.net/maven/2/'
    repos['objectweb']          = 'http://repository.ow2.org/nexus/content/repositories/releases/'
    repos['restlet']            = 'http://maven.restlet.org/'
    repos['seasar']             = 'http://maven.seasar.org/maven2/'
    repos['smartclient']        = 'http://www.smartclient.com/maven2/'
    repos['abl']                = 'http://resources.automatedbusinesslogic.com/maven2/'
    repos['carbonfive']         = 'http://mvn.carbonfive.com/nexus/content/groups/public/'
    repos['jfrog']              = 'http://repo.jfrog.org/artifactory/libs-releases/'
    repos['eviware']            = 'http://www.eviware.com/repository/maven2/'
    repos['devzendo']           = 'http://devzendo-org-repo.googlecode.com/svn/trunk/releases/'
    repos['pentaho']            = 'http://repository.pentaho.org/artifactory/pentaho/'
    repos['jcenter']            = 'http://jcenter.bintray.com'
    repos['conjars']            = 'http://conjars.org/repo'

    # repo = MavenRepository.new( { :name => 'pentaho', :url => 'http://repository.pentaho.org/artifactory/pentaho/', :language => Product::A_LANGUAGE_JAVA } )
    # repo = MavenRepository.new( { :name => 'jcenter', :url => 'http://jcenter.bintray.com', :language => Product::A_LANGUAGE_JAVA } )

    repos.keys.each do |key|
      repo = MavenRepository.new( { :name => key, :url => repos[key], :language => Product::A_LANGUAGE_JAVA } )
      repo.save
    end

    # repo_conjars = MavenRepository.new( { :name => 'conjars', :url => 'http://conjars.org/repo', :language => Product::A_LANGUAGE_JAVA } )
    repo_clojure = MavenRepository.new( { :name => 'cloJars', :url => 'http://clojars.org/repo', :language => Product::A_LANGUAGE_CLOJURE } )
    repo_clojure.save
  end

end<commit_msg>Add Adobe Repo to Repos List.<commit_after>class MavenRepository < Versioneye::Model

  include Mongoid::Document
  include Mongoid::Timestamps

  field :name, type: String
  field :url, type: String
  field :replace_with_repo_src, type: String
  field :language, type: String

  validates_uniqueness_of :url, :message => 'm2 repository url exist already.'

  index({ name: 1 }, { name: "name_index", unique: true, background: true })

  def self.fill_it
    repos = Hash.new
    repos['central']            = 'http://repo.maven.apache.org/maven2'
    repos['codeHaus']           = 'http://repository.codehaus.org/'
    repos['typesafe']           = 'http://repo.typesafe.com/typesafe/releases/'
    repos['akka']               = 'http://repo.akka.io/releases'
    repos['ibiblio']            = 'http://mirrors.ibiblio.org/maven2/'
    repos['antelink']           = 'http://maven.antelink.com/content/repositories/central/'
    repos['activity']           = 'https://maven.alfresco.com/nexus/content/repositories/activiti-releases/org/activiti/'
    repos['activity_designer']  = 'https://maven.alfresco.com/nexus/content/repositories/activiti/org/activiti/designer/'
    repos['servicemix']         = 'http://svn.apache.org/repos/asf/servicemix/m2-repo'
    repos['springRelease']      = 'http://maven.springframework.org/release/'
    repos['springMilestone']    = 'http://maven.springframework.org/milestone/'
    repos['primeFaces']         = 'http://repository.primefaces.org/'
    repos['iceFaces']           = 'http://anonsvn.icesoft.org/repo/maven2/releases/'
    repos['glassfish']          = 'http://download.java.net/maven/glassfish/'
    repos['googleCode']         = 'http://google-maven-repository.googlecode.com/svn/repository/'
    repos['gradle']             = 'http://gradle.artifactoryonline.com/gradle/libs/'
    repos['atlassian']          = 'https://maven.atlassian.com/content/repositories/atlassian-public/'
    repos['atlassianContrib']   = 'https://maven.atlassian.com/content/repositories/atlassian-contrib/'
    repos['selenium']           = 'http://nexus.openqa.org/content/repositories/releases/'
    repos['jbossPublic']        = 'http://repository.jboss.org/nexus/content/groups/public-jboss/'
    repos['appFuse']            = 'http://static.appfuse.org/repository/'
    repos['fuse']               = 'http://repo.fusesource.com/maven2/'
    repos['dojo']               = 'http://download.dojotoolkit.org/maven2/'
    repos['ejb3unit']           = 'http://ejb3unit.sourceforge.net/maven2/'
    repos['freehep']            = 'http://java.freehep.org/maven2/'
    repos['geotools']           = 'http://download.osgeo.org/webdav/geotools/'
    repos['fuin']               = 'http://www.fuin.org/maven-repository/'
    repos['guiceyFruit']        = 'http://guiceyfruit.googlecode.com/svn/repo/releases/'
    repos['jasig']              = 'http://developer.jasig.org/repo/content/groups/m2-legacy/'
    repos['javanet']            = 'http://download.java.net/maven/2/'
    repos['objectweb']          = 'http://repository.ow2.org/nexus/content/repositories/releases/'
    repos['restlet']            = 'http://maven.restlet.org/'
    repos['seasar']             = 'http://maven.seasar.org/maven2/'
    repos['smartclient']        = 'http://www.smartclient.com/maven2/'
    repos['abl']                = 'http://resources.automatedbusinesslogic.com/maven2/'
    repos['carbonfive']         = 'http://mvn.carbonfive.com/nexus/content/groups/public/'
    repos['jfrog']              = 'http://repo.jfrog.org/artifactory/libs-releases/'
    repos['eviware']            = 'http://www.eviware.com/repository/maven2/'
    repos['devzendo']           = 'http://devzendo-org-repo.googlecode.com/svn/trunk/releases/'
    repos['pentaho']            = 'http://repository.pentaho.org/artifactory/pentaho/'
    repos['jcenter']            = 'http://jcenter.bintray.com'
    repos['conjars']            = 'http://conjars.org/repo'
    repos['adobe']              = 'https://repo.adobe.com/nexus/content/groups/public/'

    # repo = MavenRepository.new( { :name => 'pentaho', :url => 'http://repository.pentaho.org/artifactory/pentaho/', :language => Product::A_LANGUAGE_JAVA } )
    # repo = MavenRepository.new( { :name => 'jcenter', :url => 'http://jcenter.bintray.com', :language => Product::A_LANGUAGE_JAVA } )

    repos.keys.each do |key|
      repo = MavenRepository.new( { :name => key, :url => repos[key], :language => Product::A_LANGUAGE_JAVA } )
      repo.save
    end

    # repo_conjars = MavenRepository.new( { :name => 'adobe', :url => 'https://repo.adobe.com/nexus/content/groups/public/', :language => Product::A_LANGUAGE_JAVA } )
    repo_clojure = MavenRepository.new( { :name => 'cloJars', :url => 'http://clojars.org/repo', :language => Product::A_LANGUAGE_CLOJURE } )
    repo_clojure.save
  end

end
{'fraction_non_alphanumeric': 0.17693274670018855, 'fraction_numerical': 0.003980724910957469, 'mean_word_length': 2.760141788105553, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 35, 'https://': 10, 'lorem ipsum': 0, 'www.': 6, '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': '4507043', 'n_tokens_mistral': 3366, 'n_tokens_neox': 3093, 'n_words': 358}