PowerShell / PowerShell/PSResourceGet

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

Aperta
#304 18 commenti 1 reazione 2 assegnatari Vedi su GitHub

@alerickson ci sta già lavorando.

Dal 11/7/2023.

Area-Find Issue-Documentation Needs Testing
Lingua principale
C#
Stelle
576
Fork
114
Merge medio
1g 2h
PR unite (30g)
7

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.