Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350210 - Support composite branchTagPaths like "/drops/I20110624-0608"
Summary: Support composite branchTagPaths like "/drops/I20110624-0608"
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Buckminster (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---   Edit
Assignee: buckminster.core-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 350130 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-24 00:16 EDT by Eike Stepper CLA
Modified: 2019-02-25 14:41 EST (History)
3 users (show)

See Also:


Attachments
Git Repository Branches (22.12 KB, image/png)
2011-07-04 06:07 EDT, Adolfo Sanchez-Barbudo Herrera CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eike Stepper CLA 2011-06-24 00:16:13 EDT
In SVN branches and tags are (copies of) file system trees that are rooted at (almost) arbitrary locations in that file system, e.g.:

  /tags/drops/I20110624-0608/
  /branches/maintenance/4.0/

It would be nice if Buckminster allowed me to specify these "composite" paths to particular branches and tags in the branchTagPath attribute of <cq:advisorNode> elements.
Comment 1 Eike Stepper CLA 2011-06-24 00:20:37 EDT
In either case Buckminster should syntactically validate the specified branchTagPath values and for illegal values produce proper messages and ideally fail the build.

Currently it seems as if problems with these values are not detected and lead to subsequent strange behaviour. I can not remember the details because I tried so many things before I (better: Thomas) found the cause of my problems.
Comment 2 Thomas Hallgren CLA 2011-06-30 06:21:46 EDT
*** Bug 350130 has been marked as a duplicate of this bug. ***
Comment 4 Adolfo Sanchez-Barbudo Herrera CLA 2011-07-04 06:04:25 EDT
Thommas,

Thanks for the fix. Does this Selection Criteria wors for git ?

I've tried to configure buckminster to use a Git's branch with no luck. An example of the advisorNode is the following:

<cq:advisorNode namePattern="^org\.eclipse\.ocl.*$" branchTagPath="remotes/origin/master"/>


The different "Selection Criteria"s I've tried are the following:

master
origin/master
remotes/origin/master
main

Only main works... where "doesn't work" means that the build feature (the first one to fetch) can't be found.


A screenshot with the branches list for the git repository cloned by buckminster coming right now.
Comment 5 Adolfo Sanchez-Barbudo Herrera CLA 2011-07-04 06:07:46 EDT
Created attachment 199034 [details]
Git Repository Branches