PowerShell / PowerShell/PSResourceGet
v3 feeds trigger unsupported dependency warning multiple times
Open
Nobody has claimed this yet.
Area-Install
Area-Save
Issue-Bug
- Dominant language
- C#
- Stars
- 576
- Forks
- 114
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 7
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
Steps to reproduce
If you register a v3 feed and then try to use a resource lifecycle cmdlet it will trigger a unsupported dependency warning multiple times.
Expected behavior
Single warning is generated
Actual behavior
Save-PSResource anypackage -Repository psgallery-remote -Path Temp:
WARNING: Installing dependencies is not currently supported for V3 server protocol repositories. The package will be installed without installing dependencies.
WARNING: Installing dependencies is not currently supported for V3 server protocol repositories. The package will be installed without installing dependencies.
Error details
No response
Environment data
7.4-preview5
rc1
Visuals
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with a registered v3 feed by running the reported Save-PSResource command and observe how many warnings are emitted. Trace the resource lifecycle path used by Save-PSResource and identify where the unsupported dependency warning is generated; done means the same operation produces one warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, powershell
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100