Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366394

Summary: CVS tag in PSF not interpreted correctly
Product: z_Archived Reporter: Volker Stolz <stolz+bugzilla>
Component: BuckminsterAssignee: buckminster.core-inbox <buckminster.core-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
CQuery for test case
none
RMAP none

Description Volker Stolz CLA 2011-12-12 08:13:40 EST
Build Identifier: headless

This CVS URL in a .psf file will make Eclipse's Team Support happily checkout out the tag "v4_1_0":

:pserver:anonymous:@cvs.gforge.enseeiht.fr:/cvsroot/topcased-mf,plugins/modeler/org.topcased.core,org.topcased.core,v4_1_0

The same can be used directly in an RMAP to query for org.topcased.core, and will obtain the right version:


org.topcased.core:osgi.bundle: Trying provider cvs(:pserver:anonymous:@cvs.gforge.enseeiht.fr:/cvsroot/topcased-mf,plugins/modeler/org.topcased.core,org.topcased.core,v4_1_0[:pserver:anonymous:@cvs.gforge.enseeiht.fr:/cvsroot/topcased-mf,plugins/modeler/org.topcased.core,org.topcased.core,v4_1_0])

However, when jumping through the extra hoop of a PSFProvider with that URL, the tag will be interpreted as a branch(?), and not lead to result. Note that the tag is no longer in the repo URL:


Reading remote file http://svn.foldr.org/rCOS/rCOS-suite/documentation//Eclipse/TOPCASED-orig.psf#Dec 12, 2011 2:05:47 PM
org.topcased.core:osgi.bundle: branches will be searched
org.topcased.core:osgi.bundle: Branch MaintenanceV1 rejected: not in path 'v4_1_0'
org.topcased.core:osgi.bundle: Branch MaintenanceV2 rejected: not in path 'v4_1_0'
org.topcased.core:osgi.bundle: Branch MaintenanceV4 rejected: not in path 'v4_1_0'
org.topcased.core:osgi.bundle: Branch Maintenance_V1 rejected: not in path 'v4_1_0'
org.topcased.core:osgi.bundle: Branch Topcased_V2_2_1 rejected: not in path 'v4_1_0'
org.topcased.core:osgi.bundle: Branch Topcased_V2_3_1 rejected: not in path 'v4_1_0'
org.topcased.core:osgi.bundle: Rejecting provider cvs(:pserver:anonymous:@cvs.gforge.enseeiht.fr:/cvsroot/topcased-mf,plugins/modeler/org.topcased.core[:pserver:anonymous:@cvs.gforge.enseeiht.fr:/cvsroot/topcased-mf,plugins/modeler/org.topcased.core]): No component match was found

[A workaround could be to specify the branchOrTag in an AdvisorNode, but since this import is happening implicitly through dependencies, I'd like to avoid creating a dozen specific cqueries first].

Reproducible: Always

Steps to Reproduce:
1. Get a headless Buckminster with PSF,CVS and SVN support
2. Import a CQUERY for rootRequest name="org.topcased.core" componentType="osgi.bundle" using the attached files
3. The tag will not be found. Now swap the two locator patterns in the RMAP, try again: the direct CVS provider with the same URL will succeed.
Comment 1 Volker Stolz CLA 2011-12-12 08:14:58 EST
Created attachment 208255 [details]
CQuery for test case
Comment 2 Volker Stolz CLA 2011-12-12 08:16:29 EST
Created attachment 208256 [details]
RMAP