Red Gate forums :: View topic - How to authorize RgPublish.exe into NuGet feed?
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
Deployment Manager
Deployment Manager forum

How to authorize RgPublish.exe into NuGet feed?

Search in Deployment Manager forum
Post new topic   Reply to topic
Jump to:  
Author Message
abatishchev



Joined: 24 Jun 2013
Posts: 5
Location: Redmond, WA

PostPosted: Tue Jun 25, 2013 12:52 am    Post subject: How to authorize RgPublish.exe into NuGet feed? Reply with quote

Is there a way to specify credentials or use NTLM authorization on NuGet feed publish?

Currently TeamCity redirects to the login page because publish request is not authorized:
Quote:
[03:31:43][Step 7/7] Publishing package to feed at http://localhost/guestAuth/app/nuget/v1/FeedService.svc...
[03:31:50][Step 7/7] Failed to push to package feed at http://localhost/login.html/. The package feed was not found.

Enabling guest access specially for this purpose is not acceptable.
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1144
Location: My desk.

PostPosted: Tue Jun 25, 2013 6:30 pm    Post subject: Reply with quote

Indeed, there doesn't seem to be any option to add authentication right now. Could you please suggest this on the Uservoice site for deployment manager (you'll find that here) so we can gauge how useful people would find it?
Back to top
View user's profile Send private message
abatishchev



Joined: 24 Jun 2013
Posts: 5
Location: Redmond, WA

PostPosted: Tue Jun 25, 2013 6:38 pm    Post subject: Reply with quote

Sure, I've created one.
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1144
Location: My desk.

PostPosted: Tue Jun 25, 2013 6:49 pm    Post subject: Reply with quote

That's great, thanks!
Back to top
View user's profile Send private message
Mike Upton



Joined: 11 May 2011
Posts: 155
Location: Red Gate

PostPosted: Wed Jun 26, 2013 4:50 pm    Post subject: Reply with quote

I'm afraid the TeamCity NuGet feed doesn't actually support pushing, so even if we did add support for authentication the push operation would still fail.

The only way to publish to the TeamCity NuGet feed is to add the packages as artefacts of a TeamCity build configuration. For more information, please see http://stackoverflow.com/questions/10423272/how-can-packages-be-published-to-a-teamcity-nuget-server, and the JetBrains support request for supporting push operations.
_________________
Mike Upton

Software Engineer
Red Gate Software Ltd.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group