PowerShell / PowerShell/PSResourceGet
find-psresource [ 3.0.0-beta10] not listing all modules with artifactory repository
@alerickson is already working on this.
Since Jul 11, 2023.
- Dominant language
- C#
- Stars
- 576
- Forks
- 114
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 7
Description
Running find-psresource has strange behaviour when the NUGET repository is hosted in Artifactory
Our repository, 'powershelf', has 760 artifacts over 53 unique modules. I can list all of them with version 2.2.5
With powershellget beta, I only see 4
PS 5.1 with PowerShellGet 2.2.5:
ps:\> (find-module -repository powershelf -Credential $creds).count
53
PS 7.1.0-rc.1 with PowerShellGet 3.0.0-beta10:
ps:\> (Find-PSResource -Repository powershelf -Credential $creds).count
4
When I search for a specific module not listed within the generic find, I get my module just fine.
Additional odd behavior, when Publishing with the publish-psresource, I can not find it by name, only with no name specified, or a * specified for the name. This resolves after about 30 minutes, may be a caching issue
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.
Assessment
This issue has not been assessed yet.