PowerShell / PowerShell/PSResourceGet

v3 feeds trigger unsupported dependency warning multiple times

Open
#1,420 0 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.