Hello,

I'm having an issue where the display of packages in NuGet package manager
console (plugin for visual studio, version 2.8.50313.31) displays the <id>in
the list of available packages when pointed at a virtual repository in
artifactory (version 1.5.4, we are at jFrog pro level, I can post this in a
support ticket on jFrog if that's a better path) and displays the <title> in
the list of available packages when pointed at a local repository.

I'd like it to be the <title> all the time, but I don't see anywhere where I
can configure which fields is displayed.

I believe this is an artifactory issue because NuGet has no way to tell if a
repository is virtual or not.

Request for *virtual* repo:
GET
/artifactory/api/nuget/nuget-all/Search()?$filter=IsLatestVersion&$orderby=DownloadCount%20desc,Id&$skip=0&$top=30&searchTerm=''&targetFramework='net45%7Cnet45%7Cnet45'&includePrerelease=false
HTTP/1.1

returns the ID in the properties metadata
  <entry>
   
<id>http://prodart:1977/artifactory/api/nuget/nuget-all/Packages(Id='PimcoMQ',Version='1.0.2')</id>
    <title type="text">PimcoMQ</title>
....
    <m:properties
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata";
xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices";>
....
      *<d:Title>PimcoMQ</d:Title>*
...

Request for underlying* local *repo:
GET
/artifactory/api/nuget/nuget-local/Search()?$filter=IsLatestVersion&$orderby=DownloadCount%20desc,Id&$skip=0&$top=30&searchTerm=''&targetFramework='net45%7Cnet45%7Cnet45'&includePrerelease=false
HTTP/1.1

returns the title in the properties metadata
  <entry>
   
<id>http://prodart:1977/artifactory/api/nuget/nuget-local/Packages(Id='PimcoMQ',Version='1.0.2')</id>
    <title type="text">PimcoMQ</title>
....
    <m:properties
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata";
xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices";>
....
      *<d:Title>PIMCO Desktop - MQ Support</d:Title>*
...

Is there a way to configure or adjust artifactory virtual repo to always
return the title property in the d:Title tag?

Thanks,
Andrew



--
View this message in context: 
http://forums.jfrog.org/NuGet-VS-plugin-display-is-different-for-local-and-virtual-repos-tp7580223.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to