- 1 What is Orbit?
- 2 Does Orbit replace or affect the Eclipse Foundation legal process?
- 3 If a library is approved for use in "all" projects, do I still have to go through the legal process?
- 4 Do projects have to use the Orbit bundles?
- 5 What if I don't want to put the library I need into Orbit?
- 6 Who are the committers in Orbit?
- 7 How do I become a committer in Orbit?
- 8 How do you name bundles containing other people's code?
- 9 Which libraries are managed in Orbit?
- 10 How does Orbit manage multiple versions of the same library?
- 11 How do I add something to Orbit?
- 12 How is source managed/delivered?
- 13 How do I work with a bundle in Orbit?
- 14 Should we use qualifiers in the bundle version?
- 15 Do I raise a CQ against Orbit to contribute my 3rd-party lib?
What is Orbit?
Orbit is a project designed to be a repository for third party libraries that are approved for use in Eclipse projects and are to be used/distributed as bundles. If the incoming libraries are not already bundles then Orbit committers will work to create a bundle that is suitable for use in Eclipse projects.
Does Orbit replace or affect the Eclipse Foundation legal process?
NO! Orbit holds only libraries that have been approved by the standard legal process. Projects must still follow this process to request permission to use libraries in their releases.
If a library is approved for use in "all" projects, do I still have to go through the legal process?
As of this writing, all projects must request permission to use any third party libraries. More generally, this is a question for the legal team. Orbit does not affect the IP policy and legal process.
Do projects have to use the Orbit bundles?
This is not explicitly required however we do hope that the Release Review process is enhanced to require justification for using a library in your release and not using the corresponding bundle from Orbit. There may well be valid scenarios here the Orbit bundle is not appropriate but projects are strongly urged to share as much as possible.
What if I don't want to put the library I need into Orbit?
That's fine but you will be foregoing the help and support you would get of the greater Orbit community as well as preventing others from sharing in your efforts. Keep in mind that you may have to justify this approach when it comes time for your release review.
Who are the committers in Orbit?
The following is the current list of committers and the projects they represent. Note that those with ?? after their names are potential committers.
|Christian W. Damus||Modeling|
|Jeff McAffer (Project Lead)||Eclipse|
|Chris Aniszczyk||Eclipse, ECF|
How do I become a committer in Orbit?
Orbit committers are already committers from other Eclipse projects that have a need for a third party library. These people come to Orbit with an approved library and propose to include it in Orbit. If they are not already a committer in Orbit and their project does not have any committers in Orbit, they can become a committer by agreeing to bundle and maintain the new library. Accordingly, they will then be responsible for the care and feeding of that library and the corresponding bundle. You should make your interest known on the Orbit mailing list.
How do you name bundles containing other people's code?
That's a great question! See the documentation and guidelines on Bundle Naming.
Which libraries are managed in Orbit?
How does Orbit manage multiple versions of the same library?
Luckily OSGi supports multiple versions of the same bundle installed and running at the same time so this does not present any particular runtime problems. At development time however there is a challenge of project naming. Since the Eclipse convention has been to use the bundle symbolic name as the name of the project, there would be a conflict if two versions of the same project need to be in the workspace at the same time.
The initial direction here is to use a CVS branch for each version of a library. So, for example, for javax.servlet there is version 2.3 and 2.4 of the library. Correspondingly, there branches named v2_3 and v2_4 are created to hold the related content. HEAD of the javax.servlet project is empty except for a readme.txt file indicating that all work is carried out in branches.
How do I add something to Orbit?
There are a number of factors and processes to be considered when adding a library to Orbit. Please see Adding Bundles to Orbit.
How is source managed/delivered?
How do I work with a bundle in Orbit?
Since all of the interesting orbit work is done in branches, working with an orbited bundle can be confusing to the first-time user. But just follow these simple steps and you'll have it checked out into your workspace in no time!
- Create a repository connection to the orbit repository (CVS URL is :pserver:firstname.lastname@example.org/cvsroot/tools).
- Navigate to HEAD/org.eclipse.orbit/<your_project> .
- Check your project out into your workspace.
- Note that the project will be empty. (this is ok)
- In the Navigator (or Package Explorer, etc) right-click on the project and choose Replace With -> Another Branch or Version... and select the branch that you want to work with. (the branch names are the versions)
Should we use qualifiers in the bundle version?
Yes. We should add a qualifier as the 4th part of a bundle version. e.g. 3.8.1.qualifier.
If we have versions which already have 4 parts to them then we should pad the 4th segment to 2 digits. For instance: 4.1.0.01_qualifier.
Do I raise a CQ against Orbit to contribute my 3rd-party lib?
First, it is recommended that you raise the CQ against your project in which you intend to use the 3rd-party software, so that your PMC can approve its use in that context. Orbit and its PMC are not consumers of these bundles, so the initial CQ should not be on Orbit.
When your project's CQ is approved, then Orbit welcomes a piggy-back (PB) CQ to host the bundle.
See Adding Bundles to Orbit for more details.