PowerShell / PowerShell/PSResourceGet
There is no way to add PSSCriptInfo block into existing script
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 576
- Forks
- 114
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 7
Description
Summary of the new feature / enhancement
New-PSScriptFileInfo overwrites script contents, if there is any.
Update-PSScriptFileInfo refuses to do anything if PSSCriptInfo block is missing or doesn't contain Version, GUID and Author properties
Proposed technical implementation details (optional)
There should be a way to add PSSCriptInfo block to existing scripts, other than copying it from another script.
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
Start by comparing the existing New-PSScriptFileInfo and Update-PSScriptFileInfo behavior described in the issue. The work is complete when an existing script without a PSScriptInfo block can receive one without overwriting its contents, while preserving the required metadata behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, powershell
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100