PowerShell / PowerShell/PSResourceGet

PSGetModuleInfo.xml invalidates the module .cat file

Open
#286 22 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Install Issue-Discussion Issue-Enhancement Needs Testing Needs-Attention :wave:
Dominant language
C#
Stars
576
Forks
114
Avg merge
1d 2h
Merged PRs (30d)
7

Description

Team,

After publishing and installing a module from PS Gallery we get one additional file called PSGetModuleInfo.xml. After calling Test-FileCatalog I get "ValidationFailed" result. This way our customers cannot verify the module content.

Thanks,
f012rt

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 by publishing and installing a module from PowerShell Gallery, then run Test-FileCatalog and inspect how PSGetModuleInfo.xml relates to the module .cat file. Review the existing 22-comment discussion for the expected catalog behavior; done means the installed module validates successfully without invalidating its catalog.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
devtools, security
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.