-
Notifications
You must be signed in to change notification settings - Fork 176
Open
Labels
bugSomething isn't workingSomething isn't working
Description
AL-Go version
latest
Describe the issue
I have created a public NuGet feed on GitHub here: https://github.com/orgs/directions4partners/packages
If I want to use that from an AL-Go repository, you should be able to add:
"trustedNuGetFeeds": [
{
"url": "https://nuget.pkg.github.com/directions4partners/index.json"
}
]to your settings file, but this will result in an error:
This is because GitHub needs a token with read:packages permission - not necessarily to the target feed, just permissions to read packages from somewhere.
Adding a PAT for the sole purpose of reading foreign public NuGet feeds seems wrong.
I will create a PR with a fix for this.
Expected behavior
AL-Go should be able to resolve the public GitHub Packages NuGet feed without a token.
Steps to reproduce
Create an App with a dependency to:
{
"id": "e33746ef-a796-46ca-8a1a-fb3840a42c48",
"name": "Cloud Customer Management Solution",
"publisher": "Directions for partners",
"version": "0.0.2.0"
}and the trusted NuGet feed from above.
Additional context (logs, screenshots, etc.)
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working