Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Git Branches/Tags
Git Branches/Tags [message #554169] Fri, 20 August 2010 08:10 Go to next message
Carsten Reckord is currently offline Carsten Reckord
Messages: 139
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------020004060807030307040506
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

Since one of the eclipse projects we build on (Xpand/Xtend) will switch to git soon, I tried to switch our searchPath provider to git, too.
This worked just fine as long as I didn't try using a tag in my cquery.

However, specifying a tag like branchTagPath="/Galileo_SR2" always fails with "No component match found":

....
org.eclipse.xpand:osgi.bundle: Trying provider
git({0}/xpand,plugins/{1}[/home/creckord/NoBackup/buckminste r/workspace/xpand,plugins/org.eclipse.xpand])
org.eclipse.xpand:osgi.bundle: tags will be searched
master
org.eclipse.xpand:osgi.bundle: No tags were found
org.eclipse.xpand:osgi.bundle: Rejecting provider
git({0}/xpand,plugins/{1}[/home/creckord/NoBackup/buckminste r/workspace/xpand,plugins/org.eclipse.xpand]): No component match was found
....
ERROR [0001] : No suitable provider for component org.eclipse.xpand:osgi.bundle was found in resourceMap
file:/home/creckord/NoBackup/buckminster/platform.rmap
ERROR [0001] : No suitable provider for component org.eclipse.xpand:osgi.bundle was found in searchPath org.eclipse.xpand
ERROR [0001] : Rejecting provider
git({0}/xpand,plugins/{1}[/home/creckord/NoBackup/buckminste r/workspace/xpand,plugins/org.eclipse.xpand]): No component match was found
....

Interestingly enough, buckminster says "No tags were found", but if I take a look at the repository that was cloned during the resolution,
it has all the tags.

Do I need to specify the desired tag differently somehow? Or is this not yet supported?


cheers,
Carsten


--------------020004060807030307040506
Content-Type: text/xml;
name="platform.rmap"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="platform.rmap"

<?xml version="1.0" encoding="UTF-8"?>
<rmap xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.eclipse.org/buckminster/RMap-1.0"
xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0" xmlns:mp="http://www.eclipse.org/buckminster/MavenProvider-1.0"
xmlns:pp="http://www.eclipse.org/buckminster/PDEMapProvider-1.0">

<searchPath name="org.eclipse.platform">
<provider readerType="p2" componentTypes="osgi.bundle,eclipse.feature" mutable="false"
source="false">
<uri format="http://download.eclipse.org/releases/helios"/>
</provider>
</searchPath>

<searchPath name="org.eclipse.xpand">
<provider readerType="git" componentTypes="osgi.bundle" resolutionFilter="">
<uri format="{0}/xpand,plugins/{1}">
<bc:propertyRef key="workspace.root" />
<bc:propertyRef key="buckminster.component" />
</uri>
<property key="git.remote.uri" value="git://git.eclipse.org/gitroot/m2t/org.eclipse.xpand.git"/>
<property key="git.remote.name" value="xpand"/>
<property key="git.auto.fetch" value="true"/>
</provider>
<provider readerType="p2" componentTypes="osgi.bundle,eclipse.feature" mutable="false"
source="false">
<uri format="http://download.eclipse.org/modeling/m2t/updates/"/>
</provider>
</searchPath>

<locator searchPathRef="org.eclipse.xpand" pattern="^org\.eclipse\.xpand.*$" />
<locator searchPathRef="org.eclipse.platform"/>
</rmap>


--------------020004060807030307040506
Content-Type: text/xml;
name="xpand.cquery"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="xpand.cquery"

<?xml version="1.0" encoding="UTF-8"?>
<cq:componentQuery xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0" resourceMap="platform.rmap">
<cq:rootRequest name="org.eclipse.xpand" componentType="osgi.bundle"/>
<cq:advisorNode namePattern="^org\.eclipse\.xpand$" componentType="osgi.bundle" sourceLevel="REQUIRE" branchTagPath="/Galileo_SR2"/>
<cq:advisorNode namePattern=".*" sourceLevel="REJECT"/>
</cq:componentQuery>

--------------020004060807030307040506--
Re: Git Branches/Tags [message #554185 is a reply to message #554169] Fri, 20 August 2010 09:09 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2492
Registered: July 2009
Senior Member
Please log an issue.
- henrik

On 8/20/10 2:10 PM, Carsten Reckord wrote:
> Hi,
>
> Since one of the eclipse projects we build on (Xpand/Xtend) will switch
> to git soon, I tried to switch our searchPath provider to git, too. This
> worked just fine as long as I didn't try using a tag in my cquery.
>
> However, specifying a tag like branchTagPath="/Galileo_SR2" always fails
> with "No component match found":
>
> ...
> org.eclipse.xpand:osgi.bundle: Trying provider
> git({0}/xpand,plugins/{1}[/home/creckord/NoBackup/buckminste r/workspace/xpand,plugins/org.eclipse.xpand])
>
> org.eclipse.xpand:osgi.bundle: tags will be searched
> master
> org.eclipse.xpand:osgi.bundle: No tags were found
> org.eclipse.xpand:osgi.bundle: Rejecting provider
> git({0}/xpand,plugins/{1}[/home/creckord/NoBackup/buckminste r/workspace/xpand,plugins/org.eclipse.xpand]):
> No component match was found
> ...
> ERROR [0001] : No suitable provider for component
> org.eclipse.xpand:osgi.bundle was found in resourceMap
> file:/home/creckord/NoBackup/buckminster/platform.rmap
> ERROR [0001] : No suitable provider for component
> org.eclipse.xpand:osgi.bundle was found in searchPath org.eclipse.xpand
> ERROR [0001] : Rejecting provider
> git({0}/xpand,plugins/{1}[/home/creckord/NoBackup/buckminste r/workspace/xpand,plugins/org.eclipse.xpand]):
> No component match was found
> ...
>
> Interestingly enough, buckminster says "No tags were found", but if I
> take a look at the repository that was cloned during the resolution, it
> has all the tags.
>
> Do I need to specify the desired tag differently somehow? Or is this not
> yet supported?
>
>
> cheers,
> Carsten
>
Re: Git Branches/Tags [message #557024 is a reply to message #554185] Fri, 03 September 2010 11:40 Go to previous message
Carsten Reckord is currently offline Carsten Reckord
Messages: 139
Registered: July 2009
Senior Member
Hi Henrik,

Sorry for the delay... https://bugs.eclipse.org/bugs/show_bug.cgi?id=324441

Carsten

On 20.08.2010 15:09, Henrik Lindberg wrote:
> Please log an issue.
> - henrik
>
> On 8/20/10 2:10 PM, Carsten Reckord wrote:
>> Hi,
>>
>> Since one of the eclipse projects we build on (Xpand/Xtend) will switch
>> to git soon, I tried to switch our searchPath provider to git, too. This
>> worked just fine as long as I didn't try using a tag in my cquery.
>>
>> However, specifying a tag like branchTagPath="/Galileo_SR2" always fails
>> with "No component match found":
>>
>> ...
>> org.eclipse.xpand:osgi.bundle: Trying provider
>> git({0}/xpand,plugins/{1}[/home/creckord/NoBackup/buckminste r/workspace/xpand,plugins/org.eclipse.xpand])
>>
>> org.eclipse.xpand:osgi.bundle: tags will be searched
>> master
>> org.eclipse.xpand:osgi.bundle: No tags were found
>> org.eclipse.xpand:osgi.bundle: Rejecting provider
>> git({0}/xpand,plugins/{1}[/home/creckord/NoBackup/buckminste r/workspace/xpand,plugins/org.eclipse.xpand]):
>> No component match was found
>> ...
>> ERROR [0001] : No suitable provider for component
>> org.eclipse.xpand:osgi.bundle was found in resourceMap
>> file:/home/creckord/NoBackup/buckminster/platform.rmap
>> ERROR [0001] : No suitable provider for component
>> org.eclipse.xpand:osgi.bundle was found in searchPath org.eclipse.xpand
>> ERROR [0001] : Rejecting provider
>> git({0}/xpand,plugins/{1}[/home/creckord/NoBackup/buckminste r/workspace/xpand,plugins/org.eclipse.xpand]):
>> No component match was found
>> ...
>>
>> Interestingly enough, buckminster says "No tags were found", but if I
>> take a look at the repository that was cloned during the resolution, it
>> has all the tags.
>>
>> Do I need to specify the desired tag differently somehow? Or is this not
>> yet supported?
>>
>>
>> cheers,
>> Carsten
>>
>
Previous Topic:Generators and versions
Next Topic:Using workspace relative target definition
Goto Forum:
  


Current Time: Fri Apr 18 14:18:54 EDT 2014

Powered by FUDForum. Page generated in 0.06333 seconds