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 "CBI/Distribution"

< CBI
(Move to other forges)
(Areas of concern)
Line 66: Line 66:
 
This concern has a multiplier effect since there are multiple forges, potentially large numbers of releases supported, and potentially a number of companies involved with each release.
 
This concern has a multiplier effect since there are multiple forges, potentially large numbers of releases supported, and potentially a number of companies involved with each release.
  
In short, the Orbit distribution model doesn't scale nor is it sufficiently flexible to meet our needs.
+
===Summary===
 +
 
 +
# Orbit's distribution model doesn't scale as much as we need nor offer enough flexibility
 +
# Orbit only covers a small portion of software consumption - third party. Thus even with Orbit, another mechanism is always needed
 +
# Orbit is unique to a subset of projects in the Eclipse ecosystem

Revision as of 10:03, 16 February 2012

This page tracks information related to how code, configuration, build artifacts, bundles, packages, and more are distributed at Eclipse.

Background

Eclipse projects consume 3 types of software during software builds:

  1. Approved unmodified third party software
  2. Approved modified third party software - with contentious bits removed to make it acceptable to Eclipse's IP policy
  3. Eclipse software from other projects (or itself in the case of large projects with multiple parts)

NOTE: this page is not discussing run time install and dependency handling.

Overview

The following is an image depicting repositories of software at Eclipse, processes that consume and produce output, and the flows between processes.

Distribution today.png

Guide

Build process

1 - Hudson executes the build (or local developer initiates manually)

2 - Code and config is cloned from git

3 - Libraries are downloaded from either a) Orbit as a zip file b) maven.eclipse.org as maven repositories c) downloads.eclipse.org as p2 repositories

4 - The build executes, outputs p2 repositories

5 - Packaging takes place, outputs packages

Notes

Apologies for not representing all build technologies on this diagram. We recognize there are others. This was to serve as a useful framework for discussion rather than a complete inventory.

CQ - 3rd party libraries are reviewed and approved/rejected. Approved libraries are stored in Orbit

ECO - Eclipse technology is consumed by the ecosystem at large

Red arrows denote a path that would be useful, but may not exist today

Dashed arrows are strictly a manual process

Areas of concern

Scaling to large quantities of software

Orbit provides a centralized clearing house for IP policy approved 3rd party dependencies. Orbit provides this software as a zip file containing bundles for all software. This would be better if it were componentized so that just what is needed can be consumed.

Eclipse technology redistribution

What about Eclipse technology? At the moment, projects consuming technology from other Eclipse projects do so in a variety of adhoc ways. People picking up Eclipse technology are left to discover the chain of transitive dependencies - both Eclipse based and third party.

This is an issue for Eclipse projects, and also for technology outside of Eclipse that uses Eclipse components.

Move to other forges

The LTS and Polarsys programs must ensure that all dependencies are available from an Eclipse Foundation controlled source decades into the future. This includes all 3 types of software as listed above. As well, the LTS forge is for members only. Binaries for software involved with LTS must only be available to members both for consumption in a build and runtime.

Thus, for a given developer from a specific company working on LTS software, their preference will be this order:

  1. Developer specific software
  2. Company specific software
  3. Generic re-usable components from the LTS forge
  4. Generic re-usable components from the Community forge

This concern has a multiplier effect since there are multiple forges, potentially large numbers of releases supported, and potentially a number of companies involved with each release.

Summary

  1. Orbit's distribution model doesn't scale as much as we need nor offer enough flexibility
  2. Orbit only covers a small portion of software consumption - third party. Thus even with Orbit, another mechanism is always needed
  3. Orbit is unique to a subset of projects in the Eclipse ecosystem

Back to the top