I think some of my questions are still relevant here. For example, normally if I need to get the latest changes from a master I would do 'git pull'. However, the workbench doesn't seem to have any UI for that. For repositories that are cloned from a remote repo, is the workbench performing an automatic pull? If not, how do I invoke it? Or is it that the workbench is always considered master and I should be instead pushing to it?


On Tue, May 27, 2014 at 5:20 PM, Mark Proctor <mproctor@codehaus.org> wrote:
You can bi-drection sync git, if you know what you are doing. But these are more GIT Qs, and better asked on the GIT mailing list. Lot’s of stack exchange entries too for two way git sync
http://stackoverflow.com/questions/15056327/how-do-i-synchronise-two-remote-git-repositories

Mark



On 28 May 2014, at 01:11, Steinmetz, Jean-Philippe <jpsteinmetz@theworkshop.us.com> wrote:

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@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@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@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@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@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users