Bug 330579 - [director] Allow for incomplete version numbers to be specified on the command line
Summary: [director] Allow for incomplete version numbers to be specified on the comman...
Status: NEW
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.6   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2010-11-18 10:40 EST by Jacek Pospychala CLA
Modified: 2019-09-06 16:18 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacek Pospychala CLA 2010-11-18 10:40:02 EST
I'm trying this on top of Eclipse 3.6.0:

Fails:
eclipse -application org.eclipse.equinox.p2.director -repository http://download.eclipse.org/releases/helios -installIU org.eclipse.wst.jsdt.feature.feature.group/1.2.2

Succeeds:
eclipse -application org.eclipse.equinox.p2.director -repository http://download.eclipse.org/releases/helios -installIU  org.eclipse.wst.jsdt.feature.feature.group/1.2.2.v201008170101-7C78FGMF9JgLWLMUUEMtXc

I only want to install JSDT 1.2.2, instead of 1.2.0, but it's not easy without knowing exact qualifier number.
it'd be utterly cool to get rid of qualifiers, and just use 3-part version numbers.
Comment 1 Ian Bull CLA 2010-11-18 12:10:44 EST
I don't think 'get rid of qualifiers' is the answer, as there are times when we need to install a specific version.  But the idea of using a 3 part (or even a 2 or 1 part version), and the director automatically choosing the latest version that matches that partial version, is interesting.

I could then install org.eclipse.sdk.ide 3.6, and it would take the latest 3.6. version from the consulted repos.
Comment 2 Jacek Pospychala CLA 2010-11-19 02:04:40 EST
yes, that's exactly what I meant. sorry if it sounded  I don't want qualifiers at all...
Comment 3 Pascal Rapicault CLA 2010-11-20 13:42:42 EST
This is a cool idea and good step toward improved usability. If you want to look into it, the code is in DIrectorApplication#collectRoots (in bundle org.eclipse.equinox.p2.director.app).
Comment 4 Eclipse Webmaster CLA 2019-09-06 16:18:06 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.