[jbosstools-issues] [JBoss JIRA] (JBIDE-19248) Import examples from git repo
Fred Bricon (JIRA)
issues at jboss.org
Wed Feb 11 15:59:49 EST 2015
[ https://issues.jboss.org/browse/JBIDE-19248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13039643#comment-13039643 ]
Fred Bricon commented on JBIDE-19248:
-------------------------------------
POC using jgit at https://gist.github.com/fbricon/36e4f5325af569f01d4d
Still needs to integrate with workspace, progress monitor, import project api, guard against concurrent clone requests
> Import examples from git repo
> -----------------------------
>
> Key: JBIDE-19248
> URL: https://issues.jboss.org/browse/JBIDE-19248
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: project-examples
> Affects Versions: 4.2.2.Final
> Reporter: Fred Bricon
> Assignee: Fred Bricon
> Fix For: 4.3.0.Beta1
>
>
> Currently, project examples for wfk and eap needs to be assembled individually into zip files and downloaded separately.
> It'd be easier, from a "go offline" scenario and also in general maintenance context, to be able to import the examples from git
> Project examples descriptor (or another mechanism) could define :
> - git repo url
> - sha1/tag
> - example folder
> The import process would then :
> - clone the repo to a user defined location (~/.jbosstools/offline) by default if it doesn't exist, or update the repo if it exists
> - traverse the sha1/tag tree to extract the chosen examples and copy them to another user defined location.
> Once the repo has been cloned, every project creation would likely be very, very fast
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jbosstools-issues
mailing list