GIT push permissions

Hi,

   I'm getting started with the Leap IDE. I can start a workspace based on my GIT repository, but I can't find out how to push local modifications to my repo. I would prefer not to fork the project but work directly on the feature branch. I'd appreciate any suggestion!

Cheers,
Riccardo

0

Comments

4 comments
  • Riccardo,

    I have never tried to push changes directly from the LEAP IDE workspace to my repo, but I did notice that when you have your workspace page open, if you click the circle in the upper right corner, one of the options is Open Access Control, where you can allow the webapp to read/write your private repos. I wasn't brave enough to try it, but if you are comfortable trying it, go ahead (if I could find some documentation specifying that was the way to grant access to your repo, I might try it). It appears to grant the webapp access to your github repos using Oauth. I'm not sure if any other permissions need to be granted to allow you to push your changes up.

    If you try it and it works, I would be interested in knowing.

    Good luck.

    Ed

    0
    Comment actions Permalink
  • Riccardo,

    I decided to try and make the changes today and I was able to successfully push my code changes from the LEAP IDE directly to my repo.

    NOTE: In my earlier post, I incorrectly said to grant access to the private repo. This was wrong, since my Github repo is a public repo.

    First, in the Open Access Control area (the circle in the upper right hand corner, which will show your Github avatar), I checked the "write public repos" box and clicked "Update".

    I then stopped and started my LEAP IDE workspace a few times (this may not be necessary, but I did not get push access right away).

    Then, using the LEAP IDE Git Source controls on the left side, I was able to stage my changes, commit them, and then push them up to my repo.

    I hope this helps. Thanks for asking the question. I learned something new from it.

    Ed

    0
    Comment actions Permalink
  • Hi Ed,

      thanks for your reply. As a matter of fact, yesterday I figured it out, basically going through the same steps you described in the second comment. Fyi I didn't have to restart the Leap IDE. 

    If I may suggest, I think it would be beneficial for other users if this procedure was described in the documentation as well.

    Best,
    Riccardo

    0
    Comment actions Permalink
  • I'm glad you were able to get it working.

    I agree that the procedure needs to be described better. I do not work for D-Wave, I am just another developer like you. I did open up a support ticket with D-Wave, stating the need for better documentation of this.

    Good luck on your project.

    Ed

    0
    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post