PowerShell / PowerShell/PSResourceGet

Publish-Module should support PSModuleInfo as input

Open
#92 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
576
Forks
114
Avg merge
1d 2h
Merged PRs (30d)
7

Description

From @heaths on November 2, 2015 22:32

I have a help file in my module named something like mydll.dll-help.xml and it works fine when in the module directory; however, after running publish-module it seems that file wasn't packaged and pulled down later with install-module. The file is listed in the module manifest in the FileList property.

See the 'msi' module in the gallery if you want to review the manifest.

Copied from original issue: OneGet/oneget#155

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

Start by tracing Publish-Module when given a PSModuleInfo, focusing on how the module manifest's FileList becomes package contents. Reproduce the behavior with the msi module example and verify that mydll.dll-help.xml listed in FileList is still present after publish and later Install-Module; the issue names no source files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
cli, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.