PowerShell / PowerShell/PSResourceGet

Publish-Module should truncate the tags in nuspec metadata to 10000

Open
#884 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Summary of the new feature / enhancement

Publish module generates a space separated string for each command in the tags section of the metadata in the nuspec file. If a module has large number of commands then this can get very big. We should truncate the size to 10000 space separated tags.

Related to https://github.com/PowerShell/PowerShellGallery/issues/246

Proposed technical implementation details (optional)

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

Start by locating the Publish-Module implementation and the code that generates nuspec metadata tags. Trace how command names become the space-separated tags string, then verify the output is limited to 10,000 tags and remains valid for modules with many commands. Add or update focused coverage if the existing test area is found.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
cli, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.