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 "Equinox/p2/CUDFResolver"

< Equinox‎ | p2
Line 1: Line 1:
p2 CUDF Resolver  
+
= p2 CUDF Resolver =
 
+
<br>
+
  
 
== What is it?  ==
 
== What is it?  ==
  
 
A frontend to p2 that allows p2 to resolve Linux dependencies. The [http://www.mancoosi.org/cudf/ CUDF] format has been designed by the [http://www.mancoosi.org/ Mancoosi European project].  
 
A frontend to p2 that allows p2 to resolve Linux dependencies. The [http://www.mancoosi.org/cudf/ CUDF] format has been designed by the [http://www.mancoosi.org/ Mancoosi European project].  
 
<br>
 
  
 
== How to use it?  ==
 
== How to use it?  ==

Revision as of 10:30, 14 January 2010

p2 CUDF Resolver

What is it?

A frontend to p2 that allows p2 to resolve Linux dependencies. The CUDF format has been designed by the Mancoosi European project.

How to use it?

The resolver uses the following command line:

java -jar p2cudf.jar <input file> [<criteria> [<output file> [<timeout>s|c]]

where

<input-file> is a CUDF formatted file describing the universe and the query.

<output-file> is a CUDF formatted file describing the packages to install. If no output file is provided, the solution is displayed on STDOUT.

<criteria> an optimization criteria for the resolver. The available criteria are "paranoid", "trendy" and "p2".

<timeout> a number specifying when the resolver should stop. If the number is followed by a c, then the measure is in conflcits. If the number is followed by a s, then the measure is in seconds.

java -jar p2cudf.jar foo.cudf  p2 output.cudf 100s

launches the solver for 100 seconds on the problem foo.cudf using the p2 optimization criteria.

The main advantage of using a conflict based timeout is that the results of the solver should be identical on all architectures, while the result provided by a time based timeout is likely to differ from one machine to the other.

Relationship with p2?

Where can I get the code?

repository: :pserver:anonymous@dev.eclipse.org:/cvsroot/rt/

module: org.eclipse.equinox/incubator/p2/demos/misc-conf-2010/


Reporting bugs?

Create a bug in the p2 component in Equinox's Bugzilla.


Getting in touch with the developers?

Just send an email to the developer mailing list: p2-dev@eclipse.org


License?

This code is made available under the terms of the EPL: http://eclipse.org/org/documents/epl-v10.php

Back to the top