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

Recognize nuget.config in currently open workspace/folder #24

Open
Bomret opened this issue May 12, 2020 · 8 comments
Open

Recognize nuget.config in currently open workspace/folder #24

Bomret opened this issue May 12, 2020 · 8 comments
Labels

Comments

@Bomret
Copy link

Bomret commented May 12, 2020

I have a nuget.config file in my repos which configures the NuGet sources I consume (official and a private feed from GitHub Packages). It would be great if this extension would take the configuration in this file into account. This would also solve authentication against those sources.

@pcislo
Copy link
Owner

pcislo commented May 13, 2020

Thanks for suggestion. I will consider implementing it in the future release.

@Bomret
Copy link
Author

Bomret commented May 13, 2020

I could also try to add it myself, if you could give me a hint at what I should start to look at :)

@pcislo
Copy link
Owner

pcislo commented May 13, 2020

I could also try to add it myself, if you could give me a hint at what I should start to look at :)

On startup webview is sending "reloadSource" message and it expects that in the reponse it will get message with sources (extension.ts, line 69-70). Right now all sources are provided only from configuration. If you want to read them from .nuget.config you need to extend the list that is send in the message to the webview.

@Bomret
Copy link
Author

Bomret commented May 20, 2020

I have something but am stuck with a CORS issue when querying GitHub Packages. Do you have some suggestions on how to attach a debugger to the vue web app that is the ui for this extension? I'm currently doing console.log driven debugging and that sucks 😞

@EarsKilla
Copy link

in this case, we need light http server that accept your request, then proceeding request to original domain and return response with added CORS if it's don't exists. i don't know, but maybe nginx can help us 🤔

@Bomret
Copy link
Author

Bomret commented May 21, 2020

I’ll try to move sending the request from the web view to the extension first as discussed in #19

@Bomret
Copy link
Author

Bomret commented Jun 9, 2020

I have a PR ready that fixes this and #19 but have a problem with vue that I cannot figure out on my own. If you'd like to help out, take a look at #26

@kaylumah
Copy link

kaylumah commented Apr 2, 2022

any plans on completing this?

@pcislo pcislo added the feature label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants