Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353340 - [fetchFactory] Support project and repo specific fetch override tags
Summary: [fetchFactory] Support project and repo specific fetch override tags
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 0.12   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 0.12   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-28 11:51 EDT by Andrew Niefer CLA
Modified: 2011-08-12 10:11 EDT (History)
0 users

See Also:


Attachments

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