Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 301045 - Smarter handling of "trunk" in Subversive Fetch Factory
Summary: Smarter handling of "trunk" in Subversive Fetch Factory
Status: RESOLVED FIXED
Alias: None
Product: Subversive
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: Other All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Igor Burilo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-27 14:10 EST by Stephan Herrmann CLA
Modified: 2011-05-18 06:44 EDT (History)
0 users

See Also:


Attachments
proposed patch against org.eclipse.team.svn.pde.build (927 bytes, text/plain)
2010-01-27 14:10 EST, Stephan Herrmann CLA
no flags Details
improved patch (v2) (1.79 KB, patch)
2010-11-14 15:47 EST, Stephan Herrmann CLA
i.vinnykov: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Herrmann CLA 2010-01-27 14:10:14 EST
Created attachment 157442 [details]
proposed patch against org.eclipse.team.svn.pde.build

I'm currently migrating to using the org.eclipse.team.svn.pde.build plugin.
As discussed in this forum post
  http://www.eclipse.org/forums/index.php?t=msg&th=161513&start=0&
I was having problems with switching between I builds and N builds
regarding different treatment of version qualifiers, repository paths etc.

Meanwhile I have experimented some more and prepared a tiny little patch
that helped me achieve my initial goals.

With this patch, the following values for "tag" are equivalent:
 - null, "", "trunk"
The effect of either of these is
 - checkout uses "trunk" as the path segment between url and path
 - the property SVNFetchFactory.KEY_ELEMENT_TAG is not set in order
   not to interfere with qualifier substitution.

I will explain in the forum how I'm using this modified plugin.
Comment 1 Stephan Herrmann CLA 2010-11-14 15:47:18 EST
Created attachment 183095 [details]
improved patch (v2)

After seeing activity in the related bug 285836 I thought I might
update this patch, perhaps its a good time to address this one, too :)

Meanwhile I also added an exception for "branches/" to avoid attempts
to use the branch name for qualifier replacement when building off a branch.

With this patch you can specify
  tag=branches/releases/MyTool_1.2.3
without the tool attempting to expand
  MyTool_1.2.3.qualifier
to 
  MyTool_1.2.3.branches/releases/MyTools_1.2.3

makes sense?
Comment 2 Alexander Gurov CLA 2011-04-02 02:12:34 EDT
Thank you very much for your contribution. Patch is applied now and will be included into the next build.
Comment 3 Stephan Herrmann CLA 2011-04-03 15:00:41 EDT
(In reply to comment #2)
> Thank you very much for your contribution. Patch is applied now and will be
> included into the next build.

Thanks.
Where/when will we find the new build for download?