Error when pulling with Graphite from TFS with git

6 posts, 0 answers
  1. Peter
    Peter avatar
    3 posts
    Member since:
    Apr 2013

    Posted 22 Apr 2013 Link to this post

    Hi,
    I'm trying to get Graphite to work with the MS Team Foundation Services (TFS with git).
    Authentication is OK, URL of the remote repository is OK.

    But when I'm pulling the remote repo I get this error in Graphite:

    Could not get advertised Ref for branch refs/heads/master

    Any ideas?
    Thank you!
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 23 Apr 2013 Link to this post

    Hello Peter,

    See this forum thread for more information on your inquiry and let us know if further help is needed.

    Greetings,
    Steve
    the Telerik team

    Share feedback and vote for features on our Feedback Portal.
    Want some Kendo UI online training - head over to Kendo UI Dojo.
  3. Peter
    Peter avatar
    3 posts
    Member since:
    Apr 2013

    Posted 23 Apr 2013 Link to this post

    Thank you Steve, but this does not describe the problem.
    Communication with the remote repository is obviously established.

    I found some web posts with similar error messages, but none related to TFS. Up to now, I can't figure out if this is a client-side or remote-repository problem.

    As MS Team Foundation Services are free, it would be quite easy to try to reproduce:
    - create a new team project "with git" option
    - in your profile set alternate credentials (as described in your linked post)
    - go to the "code" tab to see the empty repository and copy the exact URL of the remote repository (as described in your linked post)
    - use this link and your credentials to pull the remote repository with GraphitePeter
  4. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 23 Apr 2013 Link to this post

    Hi Peter,

    The workflow is a bit different. When opening your workspace Icenium needs to read a *.proj file to obtain the necessary metadata of an Icenium project. Clearly there is no .proj file in an empty repository and creating a new project file on the fly while cloning a newly-created git repository is not supported at the present moment. In order to make Icenium work with a remote repository hosted in GitHub, BitBucket, TFS etc. you need to follow these steps:

    1. Create a new Icenium project in Graphite/Mist.
    2. Create a new empty repository in TFS.
    3. Push your local repository to TFS.
    4. Now other team members can Clone the project and you can commit, pull etc.

    Greetings,
    Steve
    the Telerik team

    Share feedback and vote for features on our Feedback Portal.
    Want some Kendo UI online training - head over to Kendo UI Dojo.
  5. Peter
    Peter avatar
    3 posts
    Member since:
    Apr 2013

    Posted 23 Apr 2013 Link to this post

    Thank you Steve, that's it.
    I followed the instructions in the MS TFS repository. They say you have to pull first.
    But the initial push from Graphite to the remote repository did it! 

    Peter
  6. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 23 Apr 2013 Link to this post

    Hello Peter,

    Glad it worked. Generally that instruction would be valid if it wasn't for the .proj file, and we plan to remove it for subsequent version as this workflow proved unexpected for a lot of users.

    Regards,
    Steve
    the Telerik team

    Share feedback and vote for features on our Feedback Portal.
    Want some Kendo UI online training - head over to Kendo UI Dojo.
Back to Top