Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide samples for coding against NuGet 3 codebase #2243

Open
6 tasks
yishaigalatzer opened this issue Mar 3, 2016 · 11 comments
Open
6 tasks

Provide samples for coding against NuGet 3 codebase #2243

yishaigalatzer opened this issue Mar 3, 2016 · 11 comments
Labels
Functionality:SDK The NuGet client packages published to nuget.org help wanted Considered good issues for community contributions. Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Status:Excluded from icebox cleanup Status:Inactive Icebox issues not updated for a specific long time Type:Docs
Milestone

Comments

@yishaigalatzer
Copy link

yishaigalatzer commented Mar 3, 2016

Need to enumerate common scenarios we want to show as samples, going to take a quick stab and will keep refining as feedback comes in

  • Get latest version for a given package ID
  • Search results for a given search string
  • Download a package given ID and version (or just ID and get latest)
  • Restore a project.json
  • Restore a packages.config
  • Control package extraction mode

Would be nice to contrast samples from nuget.core with the NuGet3 codebase.

We will gladly take pull requests to https://github.com/NuGet/docs.microsoft.com-nuget as folks find good ways to port over, and of course sample projects to https://github.com/nuget/samples utilizing the new API. I'm also open to running a CI on top of the samples to ensure breaking changes are at least known, if not immediately addressed.

@yishaigalatzer yishaigalatzer added this to the Client-VNext milestone Mar 3, 2016
@yishaigalatzer yishaigalatzer added the help wanted Considered good issues for community contributions. label Mar 3, 2016
@ferventcoder
Copy link

ferventcoder commented Mar 3, 2016

Thanks! Original request was #1870

@dazinator
Copy link

This will be a massive help, thank you.

@SimonCropp
Copy link

any update on this?

@devlead
Copy link

devlead commented Jun 8, 2016

Last info I've seen is a comment on this blog post which stated

Actually, you can do it now. If you are interested ping us at feedback@nuget.org and I can send you a snippet. We haven't blogged about the API since there might be some changes to it in the future.

@daveaglick
Copy link

FWIW, I've got a blog series looking at the v3 APIs, though it's all based on spelunking through the code so I may have gotten some aspects wrong:

@devlead
Copy link

devlead commented Jun 8, 2016

@daveaglick nice will definitely check those out 👍

@agc93
Copy link

agc93 commented Jun 12, 2016

@devlead That's the reply to my comment! I've emailed them asking for anything they have, even referencing this issue, just waiting for a response now..

@devlead
Copy link

devlead commented Jun 14, 2016

@agc93 ok cool 👍 Please ping back if you get any solid info,

@agc93
Copy link

agc93 commented Jun 15, 2016

I got a reply back from the team basically outlining that they don't have much information and actually indicating that Dave's blog posts are their best source currently!

Full response below:

Dave's blog is currently the best we got. We will gladly help unblock you with anything you are trying to do, but we don't currently plan to document the v3 API in the coming weeks at least. We unfortunately have to deliver things we can't shift and have no extra folks idling.

The Uber plan is to actually make the v3 libraries into supported apis and then we will document them. Currently they are not more than our internal implementation details published as courtesy.

We will gladly take pull requests for sample docs, and I hope we will be able to fund this effort soon, and give you better replies than this one.

@pvandervelde
Copy link

Any progress on this one. The API is not very well documented and using it involves lots of guessing with regards to how to do things.

@karann-msft karann-msft changed the title Provide documentation for coding against NuGet 3 codebase Provide samples for coding against NuGet 3 codebase Apr 20, 2017
@karann-msft karann-msft self-assigned this Apr 20, 2017
@rrelyea rrelyea modified the milestones: Future-2, Backlog Nov 29, 2017
@rrelyea rrelyea added the Priority:2 Issues for the current backlog. label Nov 29, 2017
@karann-msft karann-msft removed their assignment Dec 18, 2017
@fhchina
Copy link

fhchina commented Nov 23, 2018

@ferventcoder did you find the replacement of ZipPackage in NuGet.Client?

@nkolev92 nkolev92 removed the ToBeMoved label Feb 4, 2020
@nkolev92 nkolev92 added Functionality:SDK The NuGet client packages published to nuget.org and removed NuGet API labels Apr 24, 2020
@ghost ghost added the Status:Inactive Icebox issues not updated for a specific long time label Sep 1, 2022
@nkolev92 nkolev92 added Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. and removed Priority:2 Issues for the current backlog. labels Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Functionality:SDK The NuGet client packages published to nuget.org help wanted Considered good issues for community contributions. Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Status:Excluded from icebox cleanup Status:Inactive Icebox issues not updated for a specific long time Type:Docs
Projects
None yet
Development

No branches or pull requests