[
https://issues.jboss.org/browse/SEAMFORGE-239?page=com.atlassian.jira.plu...
]
Rodney Russ commented on SEAMFORGE-239:
---------------------------------------
the installFromGit() method already has a checkoutDir option that defines a directory in
which to clone the repository. So, I have an implementation that uses this directory if
defined, otherwise it prompts with "Would you like to save the source?". If
this is true, then it saves to ~/.forge/plugins-src/ otherwise it saves to a temp
directory that is removed when done. All in all, there are a total of 3 possibilities:
1) User defines the repository directory
2) User wants to save, but did not supply a directory
3) User does not want to save and a temp directory is used
Does this make sense?
Change default plugin checkout location to use the
.forge/plugins-sources directory
-----------------------------------------------------------------------------------
Key: SEAMFORGE-239
URL:
https://issues.jboss.org/browse/SEAMFORGE-239
Project: Seam Forge
Issue Type: Task
Components: Shell
Affects Versions: 1.0.0.Alpha4
Reporter: Lincoln Baxter III
Assignee: Rodney Russ
Fix For: 1.0.0.Beta2
{code}$ forge git-plugin git@github.com:repo/etc{code}
needs to use ~/.forge/plugins-sources/ instead of the /tmp directory - so that developers
can hack on installed plugins more easily.
this code lives here:
https://github.com/forge/core/blob/master/shell/src/main/java/org/jboss/f...
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira