Can we connect datameer git repo to Bitbucket repo

Comments

3 comments

  • Official comment
    Joel Stewart

    The design of the Datameer provided Git Versioning Plug-in requires the local repository because the implementation requires a low-latency response for every change that is made in Datameer. This is described in the documentation here: Using the Git Versioning Plug-in 

    If you'd like to implement a solution that does not have the same low-latency requirements (i.e. pushes changes to a remote repository asynchronously), I'd encourage you to explore our SDK to implement a customized plug-in that meets your exact requirements.

    Comment actions Permalink
  • Jee

    Thanks for the reply. The Git repository is going to be in the same place like mentioned in the datameer documentation. But i just want to add a remote repositoy for the local repository(which is in /opt/datameer/current/versioning) by running the below command,

    1.git remote add origin http://xxxxxxxxxxx/datameer_test.git

    so we can run the below command,

    2.git push -u origin master

    Note:  datameer_test.git is a repo in (Bitbucket)

    when i tried the above command(1), it gives me error like 

    fatal: Not a git repository (or any parent up to mount point /apps/xfer)

    Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

    Note that, I am sure  there is a .git directory in the local repository.

     

     

     

     

    0
    Comment actions Permalink
  • Joel Stewart

    The "fatal: Not a git repository (or any parent up to mount point /apps/xfer)" error generally indicates that the folder hasn't been initialized yet. Try `git init` to initialize it and then re-try the push command. 

    0
    Comment actions Permalink

Please sign in to leave a comment.