This is a migrated thread and some comments may be shown as answers.

Error when pulling with Graphite from TFS with git

5 Answers 89 Views
AppBuilder Windows client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Peter
Top achievements
Rank 1
Peter asked on 22 Apr 2013, 02:07 PM
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!

5 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 23 Apr 2013, 09:10 AM
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.
0
Peter
Top achievements
Rank 1
answered on 23 Apr 2013, 11:14 AM
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
0
Steve
Telerik team
answered on 23 Apr 2013, 01:36 PM
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.
0
Peter
Top achievements
Rank 1
answered on 23 Apr 2013, 03:13 PM
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
0
Steve
Telerik team
answered on 23 Apr 2013, 03:21 PM
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.
Tags
AppBuilder Windows client
Asked by
Peter
Top achievements
Rank 1
Answers by
Steve
Telerik team
Peter
Top achievements
Rank 1
Share this question
or