Jump to: navigation, search

Ripplor Repository List

Revision as of 06:17, 13 May 2010 by Spowell.vmware.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is an extract from the Ripplor.rb script. Here is where the repository chain is defined for rippling, and where the basic parameters of each repository are specified.

# from Repository.rb:
# def initialize(repo_root, name, path, variable, targets = 'clean clean-integration test publish', master_branch = 'master')
 
ALL_REPOS = [
  Repository.new(eclipse_repo_root, 'osgi-test-stubs',     paths['osgi-test-stubs'],     'org.eclipse.virgo.teststubs'),
  Repository.new(eclipse_repo_root, 'osgi-extensions',     paths['osgi-extensions'],     'org.eclipse.virgo.osgi'),
  Repository.new(eclipse_repo_root, 'util',                paths['util'],                'org.eclipse.virgo.util'),
  Repository.new(eclipse_repo_root, 'test',                paths['test'],                'org.eclipse.virgo.test'),
  Repository.new(eclipse_repo_root, 'medic',               paths['medic'],               'org.eclipse.virgo.medic'),
  Repository.new(eclipse_repo_root, 'artifact-repository', paths['artifact-repository'], 'org.eclipse.virgo.repository'),
  Repository.new(eclipse_repo_root, 'kernel',              paths['kernel'],              'org.eclipse.virgo.kernel',         'test package publish'),
  Repository.new(local_repo_root,   'web',                 paths['web'],                 'org.eclipse.virgo.web'),
  Repository.new(local_repo_root,   'apps',                paths['apps'],                'org.eclipse.virgo.apps'),
  Repository.new(eclipse_repo_root, 'documentation',       paths['documentation'],       'org.eclipse.virgo.documentation',  'clean clean-integration doc publish'),
  Repository.new(local_repo_root,   'web-server',          paths['web-server'],          nil,                                'clean clean-integration test package smoke-test publish')
]

The # def comment is designed to hint at the parameters on the Repository.new elements that follow.

The interesting cases are kernel, documentation and web-server where the targets are adjusted.

See the source text for how the variables local_repo_root and eclipse_repo_root are defined.