PowerShell / PowerShellGallery

228 stars 65 forks source link

Published new version of package does not appear in the list #169

Closed kine closed 3 years ago

kine commented 3 years ago

Hi, I have published multiple times new version of my powershell module but the new version is still not available in the list even when it is already more than 8 hours.

Latest try verbose output:

publish-module -Path .\NVRAppDevOps -NuGetApiKey 'myapikey' -Verbose -Force
VERBOSE: Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2/'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2/'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: Publish Location:'https://www.powershellgallery.com/api/v2/package/'.
VERBOSE: Loading module from path 'C:\git\NVRAppDevOps\NVRAppDevOps\NVRAppDevOps.psm1'.
VERBOSE: Populating RepositorySourceLocation property for module BcContainerHelper.
VERBOSE: Loading module from path 'G:\Documents\WindowsPowerShell\Modules\BcContainerHelper\2.0.11\BcContainerHelper.psm1'.
VERBOSE: Module 'NVRAppDevOps' was found in 'C:\git\NVRAppDevOps\NVRAppDevOps'.
VERBOSE: Loading module from path 'C:\Users\ksacek.NAVERTICA\AppData\Local\Temp\162397532\NVRAppDevOps\NVRAppDevOps.psm1'.
VERBOSE: Populating RepositorySourceLocation property for module BcContainerHelper.
VERBOSE: Loading module from path 'G:\Documents\WindowsPowerShell\Modules\BcContainerHelper\2.0.11\BcContainerHelper.psm1'.
VERBOSE: Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2/'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: Using the provider 'PowerShellGet' for searching packages.
VERBOSE: Using the specified source names : 'PSGallery'.
VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2/items/psscript/' and PackageManagementProvider is 'NuGet'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/items/psscript/FindPackagesById()?id='NVRAppDevOps'' for ''.
VERBOSE: Total package yield:'0' for the specified package 'NVRAppDevOps'.
VERBOSE: Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2/'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: Using the provider 'PowerShellGet' for searching packages.
VERBOSE: Using the specified source names : 'PSGallery'.
VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2/' and PackageManagementProvider is 'NuGet'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='NVRAppDevOps'' for ''.
VERBOSE: Total package yield:'1' for the specified package 'NVRAppDevOps'.
VERBOSE: Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2/'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: Using the provider 'PowerShellGet' for searching packages.
VERBOSE: Using the specified source names : 'PSGallery'.
VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2/' and PackageManagementProvider is 'NuGet'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='BcContainerHelper'' for ''.
VERBOSE: Total package yield:'15' for the specified package 'BcContainerHelper'.
VERBOSE: Successfully published module 'NVRAppDevOps' to the module publish location 'https://www.powershellgallery.com/api/v2/package/'. Please allow few minutes for 'NVRAppDevOps' to show up in the search results.

How big are the delays? There is mentioned "few miutes" but it is really few hours now and no new version available (actual should be 2.0.17)

kine commented 3 years ago

Ok, seems that it is solved by updating the PowerShellGet module... 🤐

anamnavi commented 3 years ago

@kine we see you've published some versions after that today and hopefully your issues are resolved and the publish is happening quicker.

kine commented 3 years ago

Yes, thanks. The update helped. Pity is that the old version doesn't give any error which can lead to quicker solution. Thanks.