PowerShell / PowerShell/PSResourceGet
Refactor FindHelper.SearchByNames() method
Open
Nobody has claimed this yet.
Area-Find
Issue-Enhancement
- 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
Refactor this method as it's quite long. As mentioned in this older PR: https://github.com/PowerShell/PowerShellGet/pull/1065#discussion_r1175662091
Expected behavior
Method should be refactored into smaller helper methods
Actual behavior
Not done yet.
Error details
No response
Environment data
platform agnostic.
Visuals
No response
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 locating FindHelper.SearchByNames() and read the discussion in the linked pull request for the refactoring concerns. Refactor the long method into smaller helper methods while preserving its current behavior, then run the repository's relevant tests to verify the change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100