Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366394 - CVS tag in PSF not interpreted correctly
Summary: CVS tag in PSF not interpreted correctly
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Buckminster (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: buckminster.core-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-12 08:13 EST by Volker Stolz CLA
Modified: 2019-02-25 14:40 EST (History)
0 users

See Also:


Attachments
CQuery for test case (313 bytes, text/plain)
2011-12-12 08:14 EST, Volker Stolz CLA
no flags Details
RMAP (1.06 KB, text/plain)
2011-12-12 08:16 EST, Volker Stolz CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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