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

Bug 353340

Summary: [fetchFactory] Support project and repo specific fetch override tags
Product: [Technology] EGit Reporter: Andrew Niefer <aniefer>
Component: CoreAssignee: Project Inbox <egit.core-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.12   
Target Milestone: 0.12   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Andrew Niefer CLA 2011-07-28 11:51:26 EDT
PDE/Build bug 351740 has added support for annotating fetchTag overrides to allow finer control of tag overrides.

We would like to add support for project and repository specific overrides in the git fetch factory.

For a given project we would check first for a project specific override, then for a  repository specific override, and finally a general GIT override.

Ex:
fetchTag = GIT=master;git://git.eclipse.org/repo=unstable;org.eclipse.foo=dev

Here, the IFetchFactory#parseMapFileEntry function receives an overrideTags properties object containing:
GIT=master
git://git.eclipse.org/repo=unstable
org.eclipse.foo=dev


The org.eclipse.foo project should receive "dev", other projects coming from git://git.eclipse.org/repo should receive "unstable", and finally projects from other repos would receive "master"



When building a product with teams using different repositories and branching conventions, this allows each team to specify independent branch names for nightly or maintenance builds.
Comment 1 Andrew Niefer CLA 2011-07-28 11:53:35 EDT
http://egit.eclipse.org/r/3938
Comment 2 Andrew Niefer CLA 2011-08-12 10:11:36 EDT
Available from org.eclipse.egit.fetchfactory_0.12.0.201108111757.jar