Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Ripplor Repository List"

(Repository list in ripplor.rb)
 
(Updates the ripplor repository chain)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
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.
+
This is an extract from the <code>ripplor.rb</code> script. Here is where the repository chain is defined for rippling, and where the basic parameters of each repository are specified.  
  
 
<source lang="ruby">
 
<source lang="ruby">
Line 5: Line 5:
 
# def initialize(repo_root, name, path, variable, targets = 'clean clean-integration test publish', master_branch = 'master')
 
# def initialize(repo_root, name, path, variable, targets = 'clean clean-integration test publish', master_branch = 'master')
  
ALL_REPOS = [
+
eclipse_repo_root = 'ssh://' + args[:remote_user] + '@git.eclipse.org/gitroot/virgo/org.eclipse.virgo.'
   Repository.new(eclipse_repo_root, 'osgi-test-stubs',     paths['osgi-test-stubs'],     'org.eclipse.virgo.teststubs'),
+
ripple_branch = args[:branch_name]
   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'),
+
ALL_REPOS =
   Repository.new(eclipse_repo_root, 'test',               paths['test'],               'org.eclipse.virgo.test'),
+
   Repository.new(eclipse_repo_root, 'util', paths['util'], 'org.eclipse.virgo.util', nil, ripple_branch),
   Repository.new(eclipse_repo_root, 'medic',               paths['medic'],               'org.eclipse.virgo.medic'),
+
   Repository.new(eclipse_repo_root, 'test', paths['test'], 'org.eclipse.virgo.test', nil, ripple_branch),
   Repository.new(eclipse_repo_root, 'artifact-repository', paths['artifact-repository'], 'org.eclipse.virgo.repository'),
+
   Repository.new(eclipse_repo_root, 'medic', paths['medic'], 'org.eclipse.virgo.medic', nil, ripple_branch),
   Repository.new(eclipse_repo_root, 'kernel',             paths['kernel'],             'org.eclipse.virgo.kernel',         'test package publish'),
+
   Repository.new(eclipse_repo_root, 'nano', paths['nano'], 'org.eclipse.virgo.nano', nil, ripple_branch),
   Repository.new(local_repo_root,   'web',                 paths['web'],                 'org.eclipse.virgo.web'),
+
   Repository.new(eclipse_repo_root, 'artifact-repository', paths['artifact-repository'], 'org.eclipse.virgo.repository', nil, ripple_branch),
   Repository.new(local_repo_root,  'apps',               paths['apps'],               'org.eclipse.virgo.apps'),
+
   Repository.new(eclipse_repo_root, 'kernel', paths['kernel'], 'org.eclipse.virgo.kernel', nil, ripple_branch)
   Repository.new(eclipse_repo_root, 'documentation',       paths['documentation'],       'org.eclipse.virgo.documentation', 'clean clean-integration doc publish'),
+
   Repository.new(eclipse_repo_root, 'kernel-tools', paths['kernel-tools'], 'org.eclipse.virgo.kernel-tools', nil, ripple_branch),
   Repository.new(local_repo_root,   'web-server',         paths['web-server'],         nil,                               'clean clean-integration test package smoke-test publish')
+
   Repository.new(eclipse_repo_root, 'web', paths['web'], 'org.eclipse.virgo.web', nil, ripple_branch),
 +
   Repository.new(eclipse_repo_root, 'snaps', paths['snaps'], 'org.eclipse.virgo.snaps', nil, ripple_branch, 'clean clean-integration test package publish-ivy publish-build'),
 +
   Repository.new(eclipse_repo_root, 'apps', paths['apps'], 'org.eclipse.virgo.apps', nil, ripple_branch),
 +
   Repository.new(eclipse_repo_root, 'documentation', paths['documentation'], 'org.eclipse.virgo.documentation', nil, ripple_branch, 'clean clean-integration doc-html publish-ivy'),
 +
   Repository.new(eclipse_repo_root, 'packaging', paths['packaging'],             'org.eclipse.virgo.packaging', nil, ripple_branch, 'clean clean-integration test package smoke-test publish-ivy publish-packages-build')
 
]
 
]
</source>
 
  
The <i><code># def</code> …</i> comment is designed to hint at the parameters on the <code>Repository.new</code> elements that follow.
+
</source>  
 +
 
 +
The ''<code># def</code> …'' comment is designed to hint at the parameters on the <code>Repository.new</code> elements that follow.  
  
The interesting cases are <code>kernel</code>, <code>documentation</code> and <code>web-server</code> where the targets are adjusted.
+
The interesting cases are <code>kernel</code>, <code>documentation</code> and <code>web-server</code> where the targets are adjusted.  
  
 
See the source text for how the variables <code>local_repo_root</code> and <code>eclipse_repo_root</code> are defined.
 
See the source text for how the variables <code>local_repo_root</code> and <code>eclipse_repo_root</code> are defined.

Latest revision as of 10:57, 3 February 2014

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')
 
eclipse_repo_root = 'ssh://' + args[:remote_user] + '@git.eclipse.org/gitroot/virgo/org.eclipse.virgo.'
ripple_branch = args[:branch_name]
 
ALL_REPOS = 
  Repository.new(eclipse_repo_root, 'util',			paths['util'],			'org.eclipse.virgo.util',			nil, ripple_branch),
  Repository.new(eclipse_repo_root, 'test',			paths['test'],			'org.eclipse.virgo.test',			nil, ripple_branch),
  Repository.new(eclipse_repo_root, 'medic',			paths['medic'],			'org.eclipse.virgo.medic',			nil, ripple_branch),
  Repository.new(eclipse_repo_root, 'nano',			paths['nano'],			'org.eclipse.virgo.nano',			nil, ripple_branch),
  Repository.new(eclipse_repo_root, 'artifact-repository',	paths['artifact-repository'],	'org.eclipse.virgo.repository',			nil, ripple_branch),
  Repository.new(eclipse_repo_root, 'kernel',			paths['kernel'],		'org.eclipse.virgo.kernel',			nil, ripple_branch)
  Repository.new(eclipse_repo_root, 'kernel-tools',		paths['kernel-tools'],		'org.eclipse.virgo.kernel-tools',		nil, ripple_branch),
  Repository.new(eclipse_repo_root, 'web',			paths['web'],			'org.eclipse.virgo.web',			nil, ripple_branch),
  Repository.new(eclipse_repo_root, 'snaps',			paths['snaps'],			'org.eclipse.virgo.snaps',			nil, ripple_branch, 'clean clean-integration test package publish-ivy publish-build'),
  Repository.new(eclipse_repo_root, 'apps',			paths['apps'],			'org.eclipse.virgo.apps',			nil, ripple_branch),
  Repository.new(eclipse_repo_root, 'documentation',		paths['documentation'],		'org.eclipse.virgo.documentation',		nil, ripple_branch, 'clean clean-integration doc-html publish-ivy'),
  Repository.new(eclipse_repo_root, 'packaging',		paths['packaging'],             'org.eclipse.virgo.packaging',			nil, ripple_branch, 'clean clean-integration test package smoke-test publish-ivy publish-packages-build')
]

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.

Copyright © Eclipse Foundation, Inc. All Rights Reserved.