question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

find-psresource [ 3.0.0-beta10] not listing all modules with artifactory repository

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:15 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
apropostscommented, Oct 21, 2022

Sorry for the slow reply, I saw @alerickson’s question last week then got busy and forgot.

https://gitlab-internal.domain.com/api/v4/projects/135/packages/nuget/index.json

No packages are returned when using wildcards, but can be found if the exact name is given.

1reaction
adrian-anderssoncommented, Jul 19, 2023

Hi @SydneyhSmith I have switched roles/companies, no longer have access to Artifactory to test, sorry!.

Read more comments on GitHub >

github_iconTop Results From Across the Web

find-psresource [ 3.0.0-beta10] not listing all modules with ...
Running find-psresource has strange behaviour when the NUGET repository is hosted in Artifactory. Our repository, 'powershelf', has 760 ...
Read more >
ARTIFACTORY: Why artifacts are not listing in tree view for ...
When we create a remote repository, some remote repositories show the list of artifacts that are available in upstream registry and some do ......
Read more >
Artifactory not listing all repositories in settings generation
When generating the Settings.xml file in Artifactory, Artifactory will only show the virtual repositories available.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found