Hrm okay. Pushing from the git-p4 clone to the workbench doesn't really
help either though. The bridge needs to be bi-directional. Meaning, the
latest changes in perforce should be sync'd into the workbench regularly
and any commits to the workbench need to be pushed back to perforce.
Perhaps instead I need to set up the git-p4 clone as git server itself that
the workbench can clone. If I do that will it push back to that server? or
does the workbench not play nice that way? Also, does the workbench perform
regular fetches on a cloned repo?
On Tue, May 27, 2014 at 3:27 PM, Mark Proctor <mproctor(a)codehaus.org> wrote:
don’t touch the .niogit folder. You have your git-p4 repo, that you
cloned. Now push it to the ssh connection of the Guvnor server.
Mark
On 27 May 2014, at 22:29, Steinmetz, Jean-Philippe <
jpsteinmetz(a)theworkshop.us.com> wrote:
Hi Mark,
Thanks for the reply. I have tried creating a new repo in the workbench
and then using git-p4 on the command line sync'd perforce to it in the
appropriate .niogit directory (per the git-p4 docs this use case is how you
add p4 to an existing git repo). However, I am not seeing the working files
anywhere. Where does the workbench store the work tree?
Jean-Philippe
On Thu, May 22, 2014 at 3:45 PM, Mark Proctor <mproctor(a)codehaus.org>wrote:
> We use JGit and I don’t believe (but could be wrong) it has direct p4
> support, like this git extension offers.
>
http://git-scm.com/docs/git-p4
>
> However Git is distributed, so just clone and sync a p4 repo with this
> Git command line tool and use it as an intermediary. Then merge/mirror this
> intermediary with our JGit repo.
>
> Mark
>
> On 22 May 2014, at 22:28, Steinmetz, Jean-Philippe <
> jpsteinmetz(a)theworkshop.us.com> wrote:
>
> > Hi,
> >
> > Has anyone tried using a VCS bridge for git with the Drools 6
> workbench? Specifically I am interested in git-p4 so that I can access an
> existing maven project that is currently stored in Perforce. Is this use
> case supported?
> >
> > Thanks in advance,
> >
> > Jean-Philippe
> > _______________________________________________
> > rules-users mailing list
> > rules-users(a)lists.jboss.org
> >
https://lists.jboss.org/mailman/listinfo/rules-users
>
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users