Use NuGet Package Registry for PowerShell Modules #14503

Open
opened 2025-11-02 11:14:41 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @marvint24 on GitHub (May 16, 2025).

Description

Referring to my post in the forum: https://forum.gitea.com/t/nuget-package-registry-for-powershell-modules/11226

My goal is using Gitea as a registry for custom PowerShell modules.

Current behavier

  • Registering gitea as PSRepository works well.
  • Publishing my module works too.
  • Finding the module works not correct.
  • Installing Module doesn't work.

The problem occurs with PowerShell 5.1 on Windows and PowerShell 7 on Windows / Linux

Expected behavier

The NuGet package registry should work as PowerShell module repository.

Steps to reproduce

You can use this code https://github.com/marvint24/PWSHTest to test it.

  1. Clone repo
  2. Create an access token in gitea
  3. Run the publishModule.ps1 file like as described in the readme

After that you should find the package in gitea.

You can find the PowerShell module with:

Find-Module -Name "*" -Repository Gitea -Verbose

But not with:

Find-Module -Name "PWSHTest" -Repository Gitea -Verbose

You cannot install the module with:

Install-Module -Name "PWSHTest" -Repository Gitea -Verbose

Gitea Version

1.23.8

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

https://gist.github.com/marvint24/da65ff545a0b207dcd46003aef411be7

Screenshots

Image

Git Version

2.45.2

Operating System

gitea docker image (Alpine 3.20.3)

How are you running Gitea?

I am using a docker compose file like https://docs.gitea.com/installation/install-with-docker

Database

SQLite

Originally created by @marvint24 on GitHub (May 16, 2025). ### Description Referring to my post in the forum: https://forum.gitea.com/t/nuget-package-registry-for-powershell-modules/11226 My goal is using Gitea as a registry for custom PowerShell modules. #### Current behavier - Registering gitea as PSRepository works well. - Publishing my module works too. - Finding the module works not correct. - Installing Module doesn't work. The problem occurs with PowerShell 5.1 on Windows and PowerShell 7 on Windows / Linux #### Expected behavier The NuGet package registry should work as PowerShell module repository. #### Steps to reproduce You can use this code https://github.com/marvint24/PWSHTest to test it. 1. Clone repo 2. Create an access token in gitea 3. Run the `publishModule.ps1` file like as described in the readme After that you should find the package in gitea. You can find the PowerShell module with: ``` Find-Module -Name "*" -Repository Gitea -Verbose ``` But not with: ``` Find-Module -Name "PWSHTest" -Repository Gitea -Verbose ``` You cannot install the module with: ``` Install-Module -Name "PWSHTest" -Repository Gitea -Verbose ``` ### Gitea Version 1.23.8 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist https://gist.github.com/marvint24/da65ff545a0b207dcd46003aef411be7 ### Screenshots ![Image](https://github.com/user-attachments/assets/b098be59-af18-4ca6-a1a4-caa83586eb33) ### Git Version 2.45.2 ### Operating System gitea docker image (Alpine 3.20.3) ### How are you running Gitea? I am using a docker compose file like https://docs.gitea.com/installation/install-with-docker ### Database SQLite
GiteaMirror added the type/bugissue/workaround labels 2025-11-02 11:14:41 -06:00
Author
Owner

@senna-fox commented on GitHub (May 16, 2025):

Jumping in to say I've also run into this issue.

Find-Module -Name PWSHTest -Repository Gitea -Verbose
VERBOSE: Suppressed Verbose Repository details, Name = 'Gitea', Location = 'https://gitea.xxx.com/api/packages/audrey/nuget/index.json'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: Repository details, Name = 'Gitea', Location = 'https://gitea.xxx.com/api/packages/audrey/nuget/index.json'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: Using the provider 'PowerShellGet' for searching packages.
VERBOSE: Using the specified source names : 'Gitea'.
VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: The specified Location is 'https://gitea.xxx.com/api/packages/audrey/nuget/index.json' and PackageManagementProvider is 'NuGet'.
VERBOSE: Retry downloading 'https://gitea.xxx.com/api/packages/audrey/nuget/registration/pwshtest/1.1.json' for '0' more times
VERBOSE: Total package yield:'0' for the specified package 'PWSHTest'.
Find-Package: No match was found for the specified search criteria and module name 'PWSHTest'. Try Get-PSRepository to see all available registered module repositories.
# Error Returned
PackageManagement\Find-Package : No match was found for the specified search criteria and module name 'PWSHTest'. Try
Get-PSRepository to see all available registered module repositories.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:8879 char:9
+         PackageManagement\Find-Package @PSBoundParameters | Microsoft ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Microsoft.Power...ets.FindPackage:FindPackage) [Find-Package], Exception
    + FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.FindPackage

If the latest version of a package ends with .0, the above error is returned.
If I navigate to https://gitea.xxx.com/api/packages/audrey/nuget/registration/pwshtest/1.1.json I get a Package Not Found page. If I navigate to https://gitea.xxx.com/api/packages/audrey/nuget/registration/pwshtest/1.1.0.json the correct manifest is returned.
The above only occurs if the minor version is a 0. If the minor version ends with any other integer then the below appears.

VERBOSE: Suppressed Verbose Repository details, Name = 'Gitea', Location =
'https://gitea.xxx.com/api/packages/audrey/nuget/index.json'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: Repository details, Name = 'Gitea', Location = 'https://gitea.xxx.com/api/packages/audrey/nuget/index.json'; IsTrusted =
'True'; IsRegistered = 'True'.
VERBOSE: Using the provider 'PowerShellGet' for searching packages.
VERBOSE: Using the specified source names : 'Gitea'.
VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: The specified Location is 'https://gitea.xxx.com/api/packages/audrey/nuget/index.json' and PackageManagementProvider is
'NuGet'.
VERBOSE: Total package yield:'0' for the specified package 'PWSHTest'.
# Error Result
PackageManagement\Find-Package : No match was found for the specified search criteria and module name 'PWSHTest'. Try
Get-PSRepository to see all available registered module repositories.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:8879 char:9
+         PackageManagement\Find-Package @PSBoundParameters | Microsoft ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Microsoft.Power...ets.FindPackage:FindPackage) [Find-Package], Exception
    + FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.FindPackage

Interestingly, if I run the same Find-Module cmdlet with an asterisk at the start or end, it works.

find-module -name PWSHTest* -Repository Gitea -Verbose
VERBOSE: Suppressed Verbose Repository details, Name = 'Gitea', Location =
'https://gitea.xxx.com/api/packages/audrey/nuget/index.json'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: Repository details, Name = 'Gitea', Location = 'https://gitea.xxx.com/api/packages/audrey/nuget/index.json'; IsTrusted =
'True'; IsRegistered = 'True'.
VERBOSE: Using the provider 'PowerShellGet' for searching packages.
VERBOSE: Using the specified source names : 'Gitea'.
VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: The specified Location is 'https://gitea.xxx.com/api/packages/audrey/nuget/index.json' and PackageManagementProvider is
'NuGet'.
VERBOSE: Total package yield:'0' for the specified package 'PWSHTest*'.
VERBOSE: Searching repository 'https://gitea.xxx.com/api/packages/audrey/nuget/index.json' for 'searchTerm:PWSHTest'.
VERBOSE: Total package yield:'1' for the specified package 'PWSHTest*'.
# Result
Version              Name                                Repository           Description
-------              ----                                ----------           -----------
1.3.0                PWSHTest                          Gitea                Provides helpers for interacting with the MongooseAPI...

Note

Some of these error logs report different version numbers. This was done intentionally for the purpose of log collection

@senna-fox commented on GitHub (May 16, 2025): Jumping in to say I've also run into this issue. ``` PowerShell Find-Module -Name PWSHTest -Repository Gitea -Verbose VERBOSE: Suppressed Verbose Repository details, Name = 'Gitea', Location = 'https://gitea.xxx.com/api/packages/audrey/nuget/index.json'; IsTrusted = 'True'; IsRegistered = 'True'. VERBOSE: Repository details, Name = 'Gitea', Location = 'https://gitea.xxx.com/api/packages/audrey/nuget/index.json'; IsTrusted = 'True'; IsRegistered = 'True'. VERBOSE: Using the provider 'PowerShellGet' for searching packages. VERBOSE: Using the specified source names : 'Gitea'. VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'. VERBOSE: The specified Location is 'https://gitea.xxx.com/api/packages/audrey/nuget/index.json' and PackageManagementProvider is 'NuGet'. VERBOSE: Retry downloading 'https://gitea.xxx.com/api/packages/audrey/nuget/registration/pwshtest/1.1.json' for '0' more times VERBOSE: Total package yield:'0' for the specified package 'PWSHTest'. Find-Package: No match was found for the specified search criteria and module name 'PWSHTest'. Try Get-PSRepository to see all available registered module repositories. # Error Returned PackageManagement\Find-Package : No match was found for the specified search criteria and module name 'PWSHTest'. Try Get-PSRepository to see all available registered module repositories. At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:8879 char:9 + PackageManagement\Find-Package @PSBoundParameters | Microsoft ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Microsoft.Power...ets.FindPackage:FindPackage) [Find-Package], Exception + FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.FindPackage ``` If the latest version of a package ends with .0, the above error is returned. If I navigate to `https://gitea.xxx.com/api/packages/audrey/nuget/registration/pwshtest/1.1.json` I get a Package Not Found page. If I navigate to `https://gitea.xxx.com/api/packages/audrey/nuget/registration/pwshtest/1.1.0.json` the correct manifest is returned. The above only occurs if the minor version is a 0. If the minor version ends with any other integer then the below appears. ``` PowerShell VERBOSE: Suppressed Verbose Repository details, Name = 'Gitea', Location = 'https://gitea.xxx.com/api/packages/audrey/nuget/index.json'; IsTrusted = 'True'; IsRegistered = 'True'. VERBOSE: Repository details, Name = 'Gitea', Location = 'https://gitea.xxx.com/api/packages/audrey/nuget/index.json'; IsTrusted = 'True'; IsRegistered = 'True'. VERBOSE: Using the provider 'PowerShellGet' for searching packages. VERBOSE: Using the specified source names : 'Gitea'. VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'. VERBOSE: The specified Location is 'https://gitea.xxx.com/api/packages/audrey/nuget/index.json' and PackageManagementProvider is 'NuGet'. VERBOSE: Total package yield:'0' for the specified package 'PWSHTest'. # Error Result PackageManagement\Find-Package : No match was found for the specified search criteria and module name 'PWSHTest'. Try Get-PSRepository to see all available registered module repositories. At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:8879 char:9 + PackageManagement\Find-Package @PSBoundParameters | Microsoft ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Microsoft.Power...ets.FindPackage:FindPackage) [Find-Package], Exception + FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.FindPackage ``` Interestingly, if I run the same Find-Module cmdlet with an asterisk at the start or end, it works. ``` PowerShell find-module -name PWSHTest* -Repository Gitea -Verbose VERBOSE: Suppressed Verbose Repository details, Name = 'Gitea', Location = 'https://gitea.xxx.com/api/packages/audrey/nuget/index.json'; IsTrusted = 'True'; IsRegistered = 'True'. VERBOSE: Repository details, Name = 'Gitea', Location = 'https://gitea.xxx.com/api/packages/audrey/nuget/index.json'; IsTrusted = 'True'; IsRegistered = 'True'. VERBOSE: Using the provider 'PowerShellGet' for searching packages. VERBOSE: Using the specified source names : 'Gitea'. VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'. VERBOSE: The specified Location is 'https://gitea.xxx.com/api/packages/audrey/nuget/index.json' and PackageManagementProvider is 'NuGet'. VERBOSE: Total package yield:'0' for the specified package 'PWSHTest*'. VERBOSE: Searching repository 'https://gitea.xxx.com/api/packages/audrey/nuget/index.json' for 'searchTerm:PWSHTest'. VERBOSE: Total package yield:'1' for the specified package 'PWSHTest*'. # Result Version Name Repository Description ------- ---- ---------- ----------- 1.3.0 PWSHTest Gitea Provides helpers for interacting with the MongooseAPI... ``` > [!NOTE] > Some of these error logs report different version numbers. This was done intentionally for the purpose of log collection
Author
Owner

@mathesonian commented on GitHub (Aug 14, 2025):

This exact problem is is what lead me to the forum and this issue.

If you add the -debug parameter to find-module you get some more information.
Here is without the asterisk:

DEBUG: 00:00:00.0000011 Calling New() : MethodName = 'ResolvePackageSources'
DEBUG: 00:00:00.0000150 Name: Gitea
DEBUG: 00:00:00.0000211 ErrorVariable: ev
DEBUG: 00:00:00.0000277 Verbose: False
DEBUG: 00:00:00.0007246 INVOKING PowerShell Fn Resolve-PackageSource with args  that has length 0
DEBUG: 00:00:00.0014818 In PowerShellGet Provider - 'Resolve-PackageSource'.
DEBUG: 00:00:00.0022052 Yielding package source for Gitea at location https://gitea.xxx.com/api/packages/Support/nuget/index.json
DEBUG: 00:00:00.0028218 Done calling powershell «Resolve-PackageSource» «PSModule»
DEBUG: 00:00:00.0054217 Calling New() : MethodName = 'GetDynamicOptions'
DEBUG: 00:00:00.0054341 Name: Gitea
DEBUG: 00:00:00.0054401 ErrorVariable: ev
DEBUG: 00:00:00.0054468 Verbose: False
DEBUG: 00:00:00.0061173 INVOKING PowerShell Fn Get-DynamicOptions with args Provider that has length 1
DEBUG: 00:00:00.0068240 In PowerShellGet Provider - 'Get-DynamicOptions'.
DEBUG: 00:00:00.0077261 Done calling powershell «Get-DynamicOptions» «PSModule»
DEBUG: 00:00:00.0098433 Calling New() : MethodName = 'GetDynamicOptions'
DEBUG: 00:00:00.0098537 Name: Gitea
DEBUG: 00:00:00.0098607 ErrorVariable: ev
DEBUG: 00:00:00.0098662 Verbose: False
DEBUG: 00:00:00.0104511 INVOKING PowerShell Fn Get-DynamicOptions with args Source that has length 1
DEBUG: 00:00:00.0110543 In PowerShellGet Provider - 'Get-DynamicOptions'.
DEBUG: 00:00:00.0121952 Done calling powershell «Get-DynamicOptions» «PSModule»
DEBUG: 00:00:00.0181164 Calling New() : MethodName = 'ResolvePackageSources'
DEBUG: 00:00:00.0187031 Name: Gitea
DEBUG: 00:00:00.0191623 ProviderName: PowerShellGet
DEBUG: 00:00:00.0193617 ErrorVariable: ev
DEBUG: 00:00:00.0195056 Verbose: False
DEBUG: 00:00:00.0196438 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString
DEBUG: 00:00:00.0204142 INVOKING PowerShell Fn Resolve-PackageSource with args  that has length 0
DEBUG: 00:00:00.0209993 In PowerShellGet Provider - 'Resolve-PackageSource'.
DEBUG: 00:00:00.0217217 Yielding package source for Gitea at location https://gitea.xxx.com/api/packages/Support/nuget/index.json
DEBUG: 00:00:00.0224521 Done calling powershell «Resolve-PackageSource» «PSModule»
DEBUG: 00:00:00.0239343 Calling New() : MethodName = 'ResolvePackageSources'
DEBUG: 00:00:00.0242367 Name: Gitea
DEBUG: 00:00:00.0243864 ProviderName: PowerShellGet
DEBUG: 00:00:00.0246718 ErrorVariable: ev
DEBUG: 00:00:00.0248846 Verbose: False
DEBUG: 00:00:00.0250612 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString
DEBUG: 00:00:00.0255888 INVOKING PowerShell Fn Resolve-PackageSource with args  that has length 0
DEBUG: 00:00:00.0260246 In PowerShellGet Provider - 'Resolve-PackageSource'.
DEBUG: 00:00:00.0265547 Yielding package source for Gitea at location https://gitea.xxx.com/api/packages/Support/nuget/index.json
DEBUG: 00:00:00.0270465 Done calling powershell «Resolve-PackageSource» «PSModule»
DEBUG: 00:00:00.0000004 Calling New() : MethodName = 'ResolvePackageSources'
DEBUG: 00:00:00.0000078 Name: PWSHTest
DEBUG: 00:00:00.0000110 Source: Gitea
DEBUG: 00:00:00.0000151 Credential: System.Management.Automation.PSCredential
DEBUG: 00:00:00.0000195 Verbose: True
DEBUG: 00:00:00.0000225 Debug: True
DEBUG: 00:00:00.0003838 INVOKING PowerShell Fn Resolve-PackageSource with args  that has length 0
DEBUG: 00:00:00.0006839 In PowerShellGet Provider - 'Resolve-PackageSource'.
VERBOSE: Suppressed Verbose Repository details, Name = 'Gitea', Location = 'https://gitea.xxx.com/api/packages/Support/nuget/index.json'; IsTrusted = 'True'; IsRegistered = 'True'.
DEBUG: 00:00:00.0010506 Yielding package source for Gitea at location https://gitea.xxx.com/api/packages/Support/nuget/index.json
DEBUG: 00:00:00.0015102 Done calling powershell «Resolve-PackageSource» «PSModule»
DEBUG: 00:00:00.0034364 Calling New() : MethodName = 'GetDynamicOptions'
DEBUG: 00:00:00.0034454 Name: PWSHTest
DEBUG: 00:00:00.0034496 Source: Gitea
DEBUG: 00:00:00.0034550 Credential: System.Management.Automation.PSCredential
DEBUG: 00:00:00.0034596 Verbose: True
DEBUG: 00:00:00.0034643 Debug: True
DEBUG: 00:00:00.0039188 INVOKING PowerShell Fn Get-DynamicOptions with args Provider that has length 1
DEBUG: 00:00:00.0043941 In PowerShellGet Provider - 'Get-DynamicOptions'.
DEBUG: 00:00:00.0049492 Done calling powershell «Get-DynamicOptions» «PSModule»
DEBUG: 00:00:00.0083123 Calling New() : MethodName = 'GetDynamicOptions'
DEBUG: 00:00:00.0083199 Name: PWSHTest
DEBUG: 00:00:00.0083237 Source: Gitea
DEBUG: 00:00:00.0083273 Credential: System.Management.Automation.PSCredential
DEBUG: 00:00:00.0083315 Verbose: True
DEBUG: 00:00:00.0083345 Debug: True
DEBUG: 00:00:00.0088266 INVOKING PowerShell Fn Get-DynamicOptions with args Source that has length 1
DEBUG: 00:00:00.0093027 In PowerShellGet Provider - 'Get-DynamicOptions'.
DEBUG: 00:00:00.0102082 Done calling powershell «Get-DynamicOptions» «PSModule»
DEBUG: 00:00:00.0118163 Calling New() : MethodName = 'GetDynamicOptions'
DEBUG: 00:00:00.0118222 Name: PWSHTest
DEBUG: 00:00:00.0118253 Source: Gitea
DEBUG: 00:00:00.0118294 Credential: System.Management.Automation.PSCredential
DEBUG: 00:00:00.0118360 Verbose: True
DEBUG: 00:00:00.0118389 Debug: True
DEBUG: 00:00:00.0123888 INVOKING PowerShell Fn Get-DynamicOptions with args Package that has length 1
DEBUG: 00:00:00.0129989 In PowerShellGet Provider - 'Get-DynamicOptions'.
DEBUG: 00:00:00.0142376 Done calling powershell «Get-DynamicOptions» «PSModule»
DEBUG: 00:00:00.0180282 Calling New() : MethodName = 'ResolvePackageSources'
DEBUG: 00:00:00.0182472 Source: Gitea
DEBUG: 00:00:00.0187851 ProviderName: PowerShellGet
DEBUG: 00:00:00.0195121 Type: Module
DEBUG: 00:00:00.0204370 Name: PWSHTest
DEBUG: 00:00:00.0212905 Credential: System.Management.Automation.PSCredential
DEBUG: 00:00:00.0216004 Debug: True
DEBUG: 00:00:00.0221938 Verbose: True
DEBUG: 00:00:00.0226301 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString
DEBUG: 00:00:00.0238057 INVOKING PowerShell Fn Resolve-PackageSource with args  that has length 0
DEBUG: 00:00:00.0244911 In PowerShellGet Provider - 'Resolve-PackageSource'.
VERBOSE: Repository details, Name = 'Gitea', Location = 'https://gitea.xxx.com/api/packages/Support/nuget/index.json'; IsTrusted = 'True'; IsRegistered = 'True'.
DEBUG: 00:00:00.0251362 Yielding package source for Gitea at location https://gitea.xxx.com/api/packages/Support/nuget/index.json
DEBUG: 00:00:00.0257657 Done calling powershell «Resolve-PackageSource» «PSModule»
DEBUG: 00:00:00.0260207 Calling SearchForPackages. Name='PWSHTest'
VERBOSE: Using the provider 'PowerShellGet' for searching packages.
DEBUG: 00:00:00.0268990 PackageProvider::FindPackage with name PWSHTest
DEBUG: 00:00:00.0273113 Calling SearchForPackages After Select 1
DEBUG: 00:00:00.0280340 Calling New() : MethodName = 'FindPackage'
DEBUG: 00:00:00.0283695 Source: Gitea
DEBUG: 00:00:00.0286231 ProviderName: PowerShellGet
DEBUG: 00:00:00.0287607 Type: Module
DEBUG: 00:00:00.0290647 Name: PWSHTest
DEBUG: 00:00:00.0293081 Credential: System.Management.Automation.PSCredential
DEBUG: 00:00:00.0294369 Debug: True
DEBUG: 00:00:00.0297356 Verbose: True
DEBUG: 00:00:00.0299698 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString
DEBUG: 00:00:00.0305258 INVOKING PowerShell Fn Find-Package with args System.String[], , ,  that has length 4
DEBUG: 00:00:00.0309139 In PowerShellGet Provider - 'Find-Package'.
DEBUG: 00:00:00.0310559 OPTION: Source => Gitea
DEBUG: 00:00:00.0311537 OPTION: ProviderName => PowerShellGet
DEBUG: 00:00:00.0312452 OPTION: Type => Module
DEBUG: 00:00:00.0313441 OPTION: Name => PWSHTest
DEBUG: 00:00:00.0314324 OPTION: Credential => System.Management.Automation.PSCredential
DEBUG: 00:00:00.0315214 OPTION: Debug => True
DEBUG: 00:00:00.0316096 OPTION: Verbose => True
DEBUG: 00:00:00.0316988 OPTION: MessageResolver => Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString
VERBOSE: Using the specified source names : 'Gitea'.
VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: The specified Location is 'https://gitea.xxx.com/api/packages/Support/nuget/index.json' and PackageManagementProvider is 'NuGet'.
DEBUG: 00:00:00.0335546 PackageProvider::FindPackage with name PWSHTest
DEBUG: 00:00:00.0349394 Calling 'NuGet'::'FindPackage' - name='PWSHTest', requiredVersion='',minimumVersion='', maximumVersion='''.
DEBUG: 00:00:00.0352603 Iterating 'PWSHTest'.
DEBUG: 00:00:00.0356394 There are '4' registered sources in 'NuGet' provider.
DEBUG: 00:00:00.0361252 Source 'https://gitea.xxx.com/api/packages/Support/nuget/index.json' is not one of the registered sources in 'NuGet' provider.
DEBUG: 00:00:00.0363943 Source 'https://gitea.xxx.com/api/packages/Support/nuget/index.json' is validated.
DEBUG: 00:00:00.0366669 Calling 'NuGetRequest'::'GetPackageById', 'PWSHTest'.
DEBUG: 00:00:00.0373145 Calling 'NuGetPackageRepository'::'FindPackagesById', 'PWSHTest'.
DEBUG: 00:00:00.0377558 Calling 'NuGetPackageFeed3'::'Find', 'PWSHTest'.
DEBUG: 00:00:00.0380826 Calling 'NuGetPackageFeed3'::'FindImpl', 'PWSHTest'.
DEBUG: 00:00:00.0382686 Returning the call 'NuGetPackageFeed3'::'FindImpl'.
DEBUG: 00:00:00.0384890 Returning the call 'NuGetPackageFeed3'::'Find'.
DEBUG: 00:00:00.0387361 Calling 'NuGetPackageFeed3'::'Find', 'https://gitea.xxx.com/api/packages/Support/nuget/registration/pwshtest/index.json'.
DEBUG: 00:00:00.0389110 Downloading 'https://gitea.xxx.com/api/packages/Support/nuget/registration/pwshtest/index.json'.
DEBUG: 00:00:00.1767605 Completed downloading 'https://gitea.xxx.com/api/packages/Support/nuget/registration/pwshtest/index.json'.
DEBUG: 00:00:00.1804715 Calling 'NuGetFilesFeed3'::'GetVersionInfo'.
DEBUG: 00:00:00.1808993 Downloading 'https://gitea.xxx.com/api/packages/Support/nuget/package/pwshtest/index.json'.
DEBUG: 00:00:00.2493094 Completed downloading 'https://gitea.xxx.com/api/packages/Support/nuget/package/pwshtest/index.json'.
DEBUG: 00:00:00.2515731 Returning the call 'NuGetFilesFeed3'::'GetVersionInfo'.
DEBUG: 00:00:00.2523559 Calling 'NuGetPackageFeed3'::'Find', 'PWSHTest'.
DEBUG: 00:00:00.2535507 Calling 'NuGetPackageFeed3'::'FindImpl', 'PWSHTest'.
DEBUG: 00:00:00.2542784 Returning the call 'NuGetPackageFeed3'::'FindImpl'.
DEBUG: 00:00:00.2550780 Returning the call 'NuGetPackageFeed3'::'Find'.
DEBUG: 00:00:00.2558136 Calling 'NuGetPackageFeed3'::'Find', 'https://gitea.xxx.com/api/packages/Support/nuget/registration/pwshtest/0.1.json'.
DEBUG: 00:00:00.2566269 Downloading 'https://gitea.xxx.com/api/packages/Support/nuget/registration/pwshtest/0.1.json'.
VERBOSE: Retry downloading 'https://gitea.xxx.com/api/packages/Support/nuget/registration/pwshtest/0.1.json' for '0' more times
DEBUG: 00:00:00.3224101 Could not get response from query 'https://gitea.xxx.com/api/packages/Support/nuget/registration/pwshtest/0.1.json'.
DEBUG: 00:00:00.3232058 Calling 'NuGetPackageFeed3'::'Find', 'https://gitea.xxx.com/api/packages/Support/nuget/registration/pwshtest/0.1.0.json'.
DEBUG: 00:00:00.3239577 Downloading 'https://gitea.xxx.com/api/packages/Support/nuget/registration/pwshtest/0.1.0.json'.
DEBUG: 00:00:00.4008664 Completed downloading 'https://gitea.xxx.com/api/packages/Support/nuget/registration/pwshtest/0.1.0.json'.
DEBUG: 00:00:00.4064903 Downloading 'https://gitea.xxx.com/api/packages/Support/nuget/registration/PWSHTest/0.1.0.json'.
DEBUG: 00:00:00.4774232 Completed downloading 'https://gitea.xxx.com/api/packages/Support/nuget/registration/PWSHTest/0.1.0.json'.
DEBUG: 00:00:00.4821622 Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 'System.Dynamic.ExpandoObject' does not contain a definition for 'version'
   at CallSite.Target(Closure, CallSite, Object)
   at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
   at CallSite.Target(Closure, CallSite, Object)
   at Microsoft.PackageManagement.NuGetProvider.NuGetPackageFeed3.GetPackageFromCatalogUrl(String catalogUrl, RequestWrapper request, HashSet`1 packageSemanticVersions, NuGetSearchContext context)
   at Microsoft.PackageManagement.NuGetProvider.NuGetPackageFeed3.<>c__DisplayClass2_2.<Find>b__1()
   at Microsoft.PackageManagement.NuGetProvider.ConcurrentInMemoryCache.GetOrAdd[T](String key, Func`1 constructor)
   at Microsoft.PackageManagement.NuGetProvider.NuGetPackageFeed3.Find(String registrationUrl, NuGetSearchContext context, RequestWrapper request, Boolean finalAttempt)
   at Microsoft.PackageManagement.NuGetProvider.NuGetPackageFeed3.GetPackagesForBaseUrl(String baseUrl, NuGetSearchContext findContext, RequestWrapper request)+MoveNext()
   at System.Linq.Enumerable.TryGetFirstNonIterator[TSource](IEnumerable`1 source, Boolean& found)
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   at Microsoft.PackageManagement.NuGetProvider.NuGetPackageFeed3.Find(String registrationUrl, NuGetSearchContext context, RequestWrapper request, Boolean finalAttempt)
   at Microsoft.PackageManagement.NuGetProvider.NuGetPackageFeed3.GetPackagesForBaseUrl(String baseUrl, NuGetSearchContext findContext, RequestWrapper request)+MoveNext()
   at System.Linq.Enumerable.IEnumerableWhereIterator`1.TryGetFirst(Boolean& found)
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
   at Microsoft.PackageManagement.Provider.Utility.CollectionExtensions.IsNullOrEmpty[T](IEnumerable`1 collection)
   at Microsoft.PackageManagement.NuGetProvider.NuGetRequest.GetPackageById(PackageSource source, String name, NuGetRequest request, String requiredVersion, String minimumVersion, String maximumVersion, Boolean minInclusive, Boolean maxInclusive, Boolean isDependency)
VERBOSE: Total package yield:'0' for the specified package 'PWSHTest'.
DEBUG: 00:00:00.4831123 Completed iterating for 'PWSHTest'.
DEBUG: 00:00:00.4834155 PowerShell Script 'PSModule' Function 'Find-Package' returns null.
DEBUG: 00:00:00.4841082 Done calling powershell «Find-Package» «PSModule»
DEBUG: 00:00:00.4847958 unmatched package name='PWSHTest'

and here with the trailing asterisk

find-module -Name 'PWSHTest*' -repository 'Gitea' -Credential $cred -verbose -debug

DEBUG: 00:00:00.0000015 Calling New() : MethodName = 'ResolvePackageSources'
DEBUG: 00:00:00.0000236 Name: Gitea
DEBUG: 00:00:00.0000337 ErrorVariable: ev
DEBUG: 00:00:00.0000473 Verbose: False
DEBUG: 00:00:00.0008658 INVOKING PowerShell Fn Resolve-PackageSource with args  that has length 0
DEBUG: 00:00:00.0017261 In PowerShellGet Provider - 'Resolve-PackageSource'.
DEBUG: 00:00:00.0025560 Yielding package source for Gitea at location https://gitea.xxx.com/api/packages/Support/nuget/index.json
DEBUG: 00:00:00.0033432 Done calling powershell «Resolve-PackageSource» «PSModule»
DEBUG: 00:00:00.0052124 Calling New() : MethodName = 'GetDynamicOptions'
DEBUG: 00:00:00.0052231 Name: Gitea
DEBUG: 00:00:00.0052288 ErrorVariable: ev
DEBUG: 00:00:00.0052351 Verbose: False
DEBUG: 00:00:00.0057628 INVOKING PowerShell Fn Get-DynamicOptions with args Provider that has length 1
DEBUG: 00:00:00.0063298 In PowerShellGet Provider - 'Get-DynamicOptions'.
DEBUG: 00:00:00.0071710 Done calling powershell «Get-DynamicOptions» «PSModule»
DEBUG: 00:00:00.0090025 Calling New() : MethodName = 'GetDynamicOptions'
DEBUG: 00:00:00.0090139 Name: Gitea
DEBUG: 00:00:00.0090199 ErrorVariable: ev
DEBUG: 00:00:00.0090264 Verbose: False
DEBUG: 00:00:00.0095938 INVOKING PowerShell Fn Get-DynamicOptions with args Source that has length 1
DEBUG: 00:00:00.0101779 In PowerShellGet Provider - 'Get-DynamicOptions'.
DEBUG: 00:00:00.0109485 Done calling powershell «Get-DynamicOptions» «PSModule»
DEBUG: 00:00:00.0160168 Calling New() : MethodName = 'ResolvePackageSources'
DEBUG: 00:00:00.0163091 Name: Gitea
DEBUG: 00:00:00.0167525 ProviderName: PowerShellGet
DEBUG: 00:00:00.0170750 ErrorVariable: ev
DEBUG: 00:00:00.0172524 Verbose: False
DEBUG: 00:00:00.0176630 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString
DEBUG: 00:00:00.0182842 INVOKING PowerShell Fn Resolve-PackageSource with args  that has length 0
DEBUG: 00:00:00.0194418 In PowerShellGet Provider - 'Resolve-PackageSource'.
DEBUG: 00:00:00.0201981 Yielding package source for Gitea at location https://gitea.xxx.com/api/packages/Support/nuget/index.json
DEBUG: 00:00:00.0207747 Done calling powershell «Resolve-PackageSource» «PSModule»
DEBUG: 00:00:00.0226670 Calling New() : MethodName = 'ResolvePackageSources'
DEBUG: 00:00:00.0229296 Name: Gitea
DEBUG: 00:00:00.0233705 ProviderName: PowerShellGet
DEBUG: 00:00:00.0237917 ErrorVariable: ev
DEBUG: 00:00:00.0242821 Verbose: False
DEBUG: 00:00:00.0246530 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString
DEBUG: 00:00:00.0255206 INVOKING PowerShell Fn Resolve-PackageSource with args  that has length 0
DEBUG: 00:00:00.0259668 In PowerShellGet Provider - 'Resolve-PackageSource'.
DEBUG: 00:00:00.0270828 Yielding package source for Gitea at location https://gitea.xxx.com/api/packages/Support/nuget/index.json
DEBUG: 00:00:00.0280480 Done calling powershell «Resolve-PackageSource» «PSModule»
DEBUG: 00:00:00.0000010 Calling New() : MethodName = 'ResolvePackageSources'
DEBUG: 00:00:00.0000179 Name: PWSHTest*
DEBUG: 00:00:00.0000271 Source: Gitea
DEBUG: 00:00:00.0000379 Credential: System.Management.Automation.PSCredential
DEBUG: 00:00:00.0000486 Verbose: True
DEBUG: 00:00:00.0000571 Debug: True
DEBUG: 00:00:00.0006477 INVOKING PowerShell Fn Resolve-PackageSource with args  that has length 0
DEBUG: 00:00:00.0011859 In PowerShellGet Provider - 'Resolve-PackageSource'.
VERBOSE: Suppressed Verbose Repository details, Name = 'Gitea', Location = 'https://gitea.xxx.com/api/packages/Support/nuget/index.json'; IsTrusted = 'True'; IsRegistered = 'True'.
DEBUG: 00:00:00.0017788 Yielding package source for Gitea at location https://gitea.xxx.com/api/packages/Support/nuget/index.json
DEBUG: 00:00:00.0024691 Done calling powershell «Resolve-PackageSource» «PSModule»
DEBUG: 00:00:00.0066562 Calling New() : MethodName = 'GetDynamicOptions'
DEBUG: 00:00:00.0066682 Name: PWSHTest*
DEBUG: 00:00:00.0066740 Source: Gitea
DEBUG: 00:00:00.0066809 Credential: System.Management.Automation.PSCredential
DEBUG: 00:00:00.0066872 Verbose: True
DEBUG: 00:00:00.0066940 Debug: True
DEBUG: 00:00:00.0074225 INVOKING PowerShell Fn Get-DynamicOptions with args Provider that has length 1
DEBUG: 00:00:00.0080858 In PowerShellGet Provider - 'Get-DynamicOptions'.
DEBUG: 00:00:00.0090632 Done calling powershell «Get-DynamicOptions» «PSModule»
DEBUG: 00:00:00.0126913 Calling New() : MethodName = 'GetDynamicOptions'
DEBUG: 00:00:00.0127083 Name: PWSHTest*
DEBUG: 00:00:00.0127176 Source: Gitea
DEBUG: 00:00:00.0127285 Credential: System.Management.Automation.PSCredential
DEBUG: 00:00:00.0127381 Verbose: True
DEBUG: 00:00:00.0127476 Debug: True
DEBUG: 00:00:00.0132570 INVOKING PowerShell Fn Get-DynamicOptions with args Source that has length 1
DEBUG: 00:00:00.0136286 In PowerShellGet Provider - 'Get-DynamicOptions'.
DEBUG: 00:00:00.0144253 Done calling powershell «Get-DynamicOptions» «PSModule»
DEBUG: 00:00:00.0161503 Calling New() : MethodName = 'GetDynamicOptions'
DEBUG: 00:00:00.0161639 Name: PWSHTest*
DEBUG: 00:00:00.0161706 Source: Gitea
DEBUG: 00:00:00.0161862 Credential: System.Management.Automation.PSCredential
DEBUG: 00:00:00.0162144 Verbose: True
DEBUG: 00:00:00.0162243 Debug: True
DEBUG: 00:00:00.0168570 INVOKING PowerShell Fn Get-DynamicOptions with args Package that has length 1
DEBUG: 00:00:00.0174781 In PowerShellGet Provider - 'Get-DynamicOptions'.
DEBUG: 00:00:00.0199373 Done calling powershell «Get-DynamicOptions» «PSModule»
DEBUG: 00:00:00.0285681 Calling New() : MethodName = 'ResolvePackageSources'
DEBUG: 00:00:00.0290393 Source: Gitea
DEBUG: 00:00:00.0292825 ProviderName: PowerShellGet
DEBUG: 00:00:00.0294723 Type: Module
DEBUG: 00:00:00.0296816 Name: PWSHTest*
DEBUG: 00:00:00.0300417 Credential: System.Management.Automation.PSCredential
DEBUG: 00:00:00.0303943 Debug: True
DEBUG: 00:00:00.0307855 Verbose: True
DEBUG: 00:00:00.0311757 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString
DEBUG: 00:00:00.0321582 INVOKING PowerShell Fn Resolve-PackageSource with args  that has length 0
DEBUG: 00:00:00.0327894 In PowerShellGet Provider - 'Resolve-PackageSource'.
VERBOSE: Repository details, Name = 'Gitea', Location = 'https://gitea.xxx.com/api/packages/Support/nuget/index.json'; IsTrusted = 'True'; IsRegistered = 'True'.
DEBUG: 00:00:00.0342080 Yielding package source for Gitea at location https://gitea.xxx.com/api/packages/Support/nuget/index.json
DEBUG: 00:00:00.0349802 Done calling powershell «Resolve-PackageSource» «PSModule»
DEBUG: 00:00:00.0351493 Calling SearchForPackages. Name='PWSHTest*'
VERBOSE: Using the provider 'PowerShellGet' for searching packages.
DEBUG: 00:00:00.0355226 PackageProvider::FindPackage with name PWSHTest*
DEBUG: 00:00:00.0358674 Calling SearchForPackages After Select 1
DEBUG: 00:00:00.0376989 Calling New() : MethodName = 'FindPackage'
DEBUG: 00:00:00.0380722 Source: Gitea
DEBUG: 00:00:00.0384200 ProviderName: PowerShellGet
DEBUG: 00:00:00.0386911 Type: Module
DEBUG: 00:00:00.0390336 Name: PWSHTest*
DEBUG: 00:00:00.0393741 Credential: System.Management.Automation.PSCredential
DEBUG: 00:00:00.0396703 Debug: True
DEBUG: 00:00:00.0400544 Verbose: True
DEBUG: 00:00:00.0404130 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString
DEBUG: 00:00:00.0410843 INVOKING PowerShell Fn Find-Package with args System.String[], , ,  that has length 4
DEBUG: 00:00:00.0415293 In PowerShellGet Provider - 'Find-Package'.
DEBUG: 00:00:00.0417752 OPTION: Source => Gitea
DEBUG: 00:00:00.0424302 OPTION: ProviderName => PowerShellGet
DEBUG: 00:00:00.0427856 OPTION: Type => Module
DEBUG: 00:00:00.0430200 OPTION: Name => PWSHTest*
DEBUG: 00:00:00.0432037 OPTION: Credential => System.Management.Automation.PSCredential
DEBUG: 00:00:00.0433287 OPTION: Debug => True
DEBUG: 00:00:00.0435049 OPTION: Verbose => True
DEBUG: 00:00:00.0437342 OPTION: MessageResolver => Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString
VERBOSE: Using the specified source names : 'Gitea'.
VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: The specified Location is 'https://gitea.xxx.com/api/packages/Support/nuget/index.json' and PackageManagementProvider is 'NuGet'.
DEBUG: 00:00:00.0457302 PackageProvider::FindPackage with name PWSHTest*
DEBUG: 00:00:00.0468931 Calling 'NuGet'::'FindPackage' - name='PWSHTest*', requiredVersion='',minimumVersion='', maximumVersion='''.
DEBUG: 00:00:00.0472636 Iterating 'PWSHTest*'.
DEBUG: 00:00:00.0478384 There are '6' registered sources in 'NuGet' provider.
DEBUG: 00:00:00.0481912 Calling 'NuGetRequest'::'GetPackageById', 'PWSHTest*'.
DEBUG: 00:00:00.0484679 Calling 'NuGetPackageRepository'::'FindPackagesById', 'PWSHTest*'.
DEBUG: 00:00:00.0486607 Calling 'NuGetPackageFeed3'::'Find', 'PWSHTest*'.
DEBUG: 00:00:00.0490829 System.ArgumentNullException: Value cannot be null. (Parameter 'source')
   at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate)
   at Microsoft.PackageManagement.NuGetProvider.NuGetRequest.GetPackageById(PackageSource source, String name, NuGetRequest request, String requiredVersion, String minimumVersion, String maximumVersion, Boolean minInclusive, Boolean maxInclusive, Boolean isDependency)
VERBOSE: Total package yield:'0' for the specified package 'PWSHTest*'.
DEBUG: 00:00:00.0497057 Completed iterating for 'PWSHTest*'.
DEBUG: 00:00:00.0499824 Iterating 'PWSHTest*'.
DEBUG: 00:00:00.0504672 There are '6' registered sources in 'NuGet' provider.
DEBUG: 00:00:00.0508701 Calling 'NuGetRequest'::'SearchForPackages', 'PWSHTest*'.
VERBOSE: Searching repository 'https://gitea.xxx.com/api/packages/Support/nuget/index.json' for 'searchTerm:PWSHTest'.
DEBUG: 00:00:00.0513229 Calling 'NuGetPackageRepository'::'Search'.
DEBUG: 00:00:00.0521158 Downloading 'https://gitea.xxx.com/api/packages/Support/nuget/query?q=PWSHTest&take=200&semverlevel=2.0.0'.
DEBUG: 00:00:00.1877434 Completed downloading 'https://gitea.xxx.com/api/packages/Support/nuget/query?q=PWSHTest&take=200&semverlevel=2.0.0'.
DEBUG: 00:00:00.1955544 NuGet query returned '1' hits.
VERBOSE: Total package yield:'1' for the specified package 'PWSHTest*'.
DEBUG: 00:00:00.2473319 Completed iterating for 'PWSHTest*'.
DEBUG: 00:00:00.2491495 Done calling powershell «Find-Package» «PSModule»

Version              Name                                Repository           Description
-------              ----                                ----------           -----------
0.1.0                PWSHTest                            Gitea     A test PowerShell module
@mathesonian commented on GitHub (Aug 14, 2025): This exact problem is is what lead me to the forum and this issue. If you add the -debug parameter to find-module you get some more information. Here is without the asterisk: ```powershell DEBUG: 00:00:00.0000011 Calling New() : MethodName = 'ResolvePackageSources' DEBUG: 00:00:00.0000150 Name: Gitea DEBUG: 00:00:00.0000211 ErrorVariable: ev DEBUG: 00:00:00.0000277 Verbose: False DEBUG: 00:00:00.0007246 INVOKING PowerShell Fn Resolve-PackageSource with args that has length 0 DEBUG: 00:00:00.0014818 In PowerShellGet Provider - 'Resolve-PackageSource'. DEBUG: 00:00:00.0022052 Yielding package source for Gitea at location https://gitea.xxx.com/api/packages/Support/nuget/index.json DEBUG: 00:00:00.0028218 Done calling powershell «Resolve-PackageSource» «PSModule» DEBUG: 00:00:00.0054217 Calling New() : MethodName = 'GetDynamicOptions' DEBUG: 00:00:00.0054341 Name: Gitea DEBUG: 00:00:00.0054401 ErrorVariable: ev DEBUG: 00:00:00.0054468 Verbose: False DEBUG: 00:00:00.0061173 INVOKING PowerShell Fn Get-DynamicOptions with args Provider that has length 1 DEBUG: 00:00:00.0068240 In PowerShellGet Provider - 'Get-DynamicOptions'. DEBUG: 00:00:00.0077261 Done calling powershell «Get-DynamicOptions» «PSModule» DEBUG: 00:00:00.0098433 Calling New() : MethodName = 'GetDynamicOptions' DEBUG: 00:00:00.0098537 Name: Gitea DEBUG: 00:00:00.0098607 ErrorVariable: ev DEBUG: 00:00:00.0098662 Verbose: False DEBUG: 00:00:00.0104511 INVOKING PowerShell Fn Get-DynamicOptions with args Source that has length 1 DEBUG: 00:00:00.0110543 In PowerShellGet Provider - 'Get-DynamicOptions'. DEBUG: 00:00:00.0121952 Done calling powershell «Get-DynamicOptions» «PSModule» DEBUG: 00:00:00.0181164 Calling New() : MethodName = 'ResolvePackageSources' DEBUG: 00:00:00.0187031 Name: Gitea DEBUG: 00:00:00.0191623 ProviderName: PowerShellGet DEBUG: 00:00:00.0193617 ErrorVariable: ev DEBUG: 00:00:00.0195056 Verbose: False DEBUG: 00:00:00.0196438 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString DEBUG: 00:00:00.0204142 INVOKING PowerShell Fn Resolve-PackageSource with args that has length 0 DEBUG: 00:00:00.0209993 In PowerShellGet Provider - 'Resolve-PackageSource'. DEBUG: 00:00:00.0217217 Yielding package source for Gitea at location https://gitea.xxx.com/api/packages/Support/nuget/index.json DEBUG: 00:00:00.0224521 Done calling powershell «Resolve-PackageSource» «PSModule» DEBUG: 00:00:00.0239343 Calling New() : MethodName = 'ResolvePackageSources' DEBUG: 00:00:00.0242367 Name: Gitea DEBUG: 00:00:00.0243864 ProviderName: PowerShellGet DEBUG: 00:00:00.0246718 ErrorVariable: ev DEBUG: 00:00:00.0248846 Verbose: False DEBUG: 00:00:00.0250612 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString DEBUG: 00:00:00.0255888 INVOKING PowerShell Fn Resolve-PackageSource with args that has length 0 DEBUG: 00:00:00.0260246 In PowerShellGet Provider - 'Resolve-PackageSource'. DEBUG: 00:00:00.0265547 Yielding package source for Gitea at location https://gitea.xxx.com/api/packages/Support/nuget/index.json DEBUG: 00:00:00.0270465 Done calling powershell «Resolve-PackageSource» «PSModule» DEBUG: 00:00:00.0000004 Calling New() : MethodName = 'ResolvePackageSources' DEBUG: 00:00:00.0000078 Name: PWSHTest DEBUG: 00:00:00.0000110 Source: Gitea DEBUG: 00:00:00.0000151 Credential: System.Management.Automation.PSCredential DEBUG: 00:00:00.0000195 Verbose: True DEBUG: 00:00:00.0000225 Debug: True DEBUG: 00:00:00.0003838 INVOKING PowerShell Fn Resolve-PackageSource with args that has length 0 DEBUG: 00:00:00.0006839 In PowerShellGet Provider - 'Resolve-PackageSource'. VERBOSE: Suppressed Verbose Repository details, Name = 'Gitea', Location = 'https://gitea.xxx.com/api/packages/Support/nuget/index.json'; IsTrusted = 'True'; IsRegistered = 'True'. DEBUG: 00:00:00.0010506 Yielding package source for Gitea at location https://gitea.xxx.com/api/packages/Support/nuget/index.json DEBUG: 00:00:00.0015102 Done calling powershell «Resolve-PackageSource» «PSModule» DEBUG: 00:00:00.0034364 Calling New() : MethodName = 'GetDynamicOptions' DEBUG: 00:00:00.0034454 Name: PWSHTest DEBUG: 00:00:00.0034496 Source: Gitea DEBUG: 00:00:00.0034550 Credential: System.Management.Automation.PSCredential DEBUG: 00:00:00.0034596 Verbose: True DEBUG: 00:00:00.0034643 Debug: True DEBUG: 00:00:00.0039188 INVOKING PowerShell Fn Get-DynamicOptions with args Provider that has length 1 DEBUG: 00:00:00.0043941 In PowerShellGet Provider - 'Get-DynamicOptions'. DEBUG: 00:00:00.0049492 Done calling powershell «Get-DynamicOptions» «PSModule» DEBUG: 00:00:00.0083123 Calling New() : MethodName = 'GetDynamicOptions' DEBUG: 00:00:00.0083199 Name: PWSHTest DEBUG: 00:00:00.0083237 Source: Gitea DEBUG: 00:00:00.0083273 Credential: System.Management.Automation.PSCredential DEBUG: 00:00:00.0083315 Verbose: True DEBUG: 00:00:00.0083345 Debug: True DEBUG: 00:00:00.0088266 INVOKING PowerShell Fn Get-DynamicOptions with args Source that has length 1 DEBUG: 00:00:00.0093027 In PowerShellGet Provider - 'Get-DynamicOptions'. DEBUG: 00:00:00.0102082 Done calling powershell «Get-DynamicOptions» «PSModule» DEBUG: 00:00:00.0118163 Calling New() : MethodName = 'GetDynamicOptions' DEBUG: 00:00:00.0118222 Name: PWSHTest DEBUG: 00:00:00.0118253 Source: Gitea DEBUG: 00:00:00.0118294 Credential: System.Management.Automation.PSCredential DEBUG: 00:00:00.0118360 Verbose: True DEBUG: 00:00:00.0118389 Debug: True DEBUG: 00:00:00.0123888 INVOKING PowerShell Fn Get-DynamicOptions with args Package that has length 1 DEBUG: 00:00:00.0129989 In PowerShellGet Provider - 'Get-DynamicOptions'. DEBUG: 00:00:00.0142376 Done calling powershell «Get-DynamicOptions» «PSModule» DEBUG: 00:00:00.0180282 Calling New() : MethodName = 'ResolvePackageSources' DEBUG: 00:00:00.0182472 Source: Gitea DEBUG: 00:00:00.0187851 ProviderName: PowerShellGet DEBUG: 00:00:00.0195121 Type: Module DEBUG: 00:00:00.0204370 Name: PWSHTest DEBUG: 00:00:00.0212905 Credential: System.Management.Automation.PSCredential DEBUG: 00:00:00.0216004 Debug: True DEBUG: 00:00:00.0221938 Verbose: True DEBUG: 00:00:00.0226301 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString DEBUG: 00:00:00.0238057 INVOKING PowerShell Fn Resolve-PackageSource with args that has length 0 DEBUG: 00:00:00.0244911 In PowerShellGet Provider - 'Resolve-PackageSource'. VERBOSE: Repository details, Name = 'Gitea', Location = 'https://gitea.xxx.com/api/packages/Support/nuget/index.json'; IsTrusted = 'True'; IsRegistered = 'True'. DEBUG: 00:00:00.0251362 Yielding package source for Gitea at location https://gitea.xxx.com/api/packages/Support/nuget/index.json DEBUG: 00:00:00.0257657 Done calling powershell «Resolve-PackageSource» «PSModule» DEBUG: 00:00:00.0260207 Calling SearchForPackages. Name='PWSHTest' VERBOSE: Using the provider 'PowerShellGet' for searching packages. DEBUG: 00:00:00.0268990 PackageProvider::FindPackage with name PWSHTest DEBUG: 00:00:00.0273113 Calling SearchForPackages After Select 1 DEBUG: 00:00:00.0280340 Calling New() : MethodName = 'FindPackage' DEBUG: 00:00:00.0283695 Source: Gitea DEBUG: 00:00:00.0286231 ProviderName: PowerShellGet DEBUG: 00:00:00.0287607 Type: Module DEBUG: 00:00:00.0290647 Name: PWSHTest DEBUG: 00:00:00.0293081 Credential: System.Management.Automation.PSCredential DEBUG: 00:00:00.0294369 Debug: True DEBUG: 00:00:00.0297356 Verbose: True DEBUG: 00:00:00.0299698 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString DEBUG: 00:00:00.0305258 INVOKING PowerShell Fn Find-Package with args System.String[], , , that has length 4 DEBUG: 00:00:00.0309139 In PowerShellGet Provider - 'Find-Package'. DEBUG: 00:00:00.0310559 OPTION: Source => Gitea DEBUG: 00:00:00.0311537 OPTION: ProviderName => PowerShellGet DEBUG: 00:00:00.0312452 OPTION: Type => Module DEBUG: 00:00:00.0313441 OPTION: Name => PWSHTest DEBUG: 00:00:00.0314324 OPTION: Credential => System.Management.Automation.PSCredential DEBUG: 00:00:00.0315214 OPTION: Debug => True DEBUG: 00:00:00.0316096 OPTION: Verbose => True DEBUG: 00:00:00.0316988 OPTION: MessageResolver => Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString VERBOSE: Using the specified source names : 'Gitea'. VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'. VERBOSE: The specified Location is 'https://gitea.xxx.com/api/packages/Support/nuget/index.json' and PackageManagementProvider is 'NuGet'. DEBUG: 00:00:00.0335546 PackageProvider::FindPackage with name PWSHTest DEBUG: 00:00:00.0349394 Calling 'NuGet'::'FindPackage' - name='PWSHTest', requiredVersion='',minimumVersion='', maximumVersion='''. DEBUG: 00:00:00.0352603 Iterating 'PWSHTest'. DEBUG: 00:00:00.0356394 There are '4' registered sources in 'NuGet' provider. DEBUG: 00:00:00.0361252 Source 'https://gitea.xxx.com/api/packages/Support/nuget/index.json' is not one of the registered sources in 'NuGet' provider. DEBUG: 00:00:00.0363943 Source 'https://gitea.xxx.com/api/packages/Support/nuget/index.json' is validated. DEBUG: 00:00:00.0366669 Calling 'NuGetRequest'::'GetPackageById', 'PWSHTest'. DEBUG: 00:00:00.0373145 Calling 'NuGetPackageRepository'::'FindPackagesById', 'PWSHTest'. DEBUG: 00:00:00.0377558 Calling 'NuGetPackageFeed3'::'Find', 'PWSHTest'. DEBUG: 00:00:00.0380826 Calling 'NuGetPackageFeed3'::'FindImpl', 'PWSHTest'. DEBUG: 00:00:00.0382686 Returning the call 'NuGetPackageFeed3'::'FindImpl'. DEBUG: 00:00:00.0384890 Returning the call 'NuGetPackageFeed3'::'Find'. DEBUG: 00:00:00.0387361 Calling 'NuGetPackageFeed3'::'Find', 'https://gitea.xxx.com/api/packages/Support/nuget/registration/pwshtest/index.json'. DEBUG: 00:00:00.0389110 Downloading 'https://gitea.xxx.com/api/packages/Support/nuget/registration/pwshtest/index.json'. DEBUG: 00:00:00.1767605 Completed downloading 'https://gitea.xxx.com/api/packages/Support/nuget/registration/pwshtest/index.json'. DEBUG: 00:00:00.1804715 Calling 'NuGetFilesFeed3'::'GetVersionInfo'. DEBUG: 00:00:00.1808993 Downloading 'https://gitea.xxx.com/api/packages/Support/nuget/package/pwshtest/index.json'. DEBUG: 00:00:00.2493094 Completed downloading 'https://gitea.xxx.com/api/packages/Support/nuget/package/pwshtest/index.json'. DEBUG: 00:00:00.2515731 Returning the call 'NuGetFilesFeed3'::'GetVersionInfo'. DEBUG: 00:00:00.2523559 Calling 'NuGetPackageFeed3'::'Find', 'PWSHTest'. DEBUG: 00:00:00.2535507 Calling 'NuGetPackageFeed3'::'FindImpl', 'PWSHTest'. DEBUG: 00:00:00.2542784 Returning the call 'NuGetPackageFeed3'::'FindImpl'. DEBUG: 00:00:00.2550780 Returning the call 'NuGetPackageFeed3'::'Find'. DEBUG: 00:00:00.2558136 Calling 'NuGetPackageFeed3'::'Find', 'https://gitea.xxx.com/api/packages/Support/nuget/registration/pwshtest/0.1.json'. DEBUG: 00:00:00.2566269 Downloading 'https://gitea.xxx.com/api/packages/Support/nuget/registration/pwshtest/0.1.json'. VERBOSE: Retry downloading 'https://gitea.xxx.com/api/packages/Support/nuget/registration/pwshtest/0.1.json' for '0' more times DEBUG: 00:00:00.3224101 Could not get response from query 'https://gitea.xxx.com/api/packages/Support/nuget/registration/pwshtest/0.1.json'. DEBUG: 00:00:00.3232058 Calling 'NuGetPackageFeed3'::'Find', 'https://gitea.xxx.com/api/packages/Support/nuget/registration/pwshtest/0.1.0.json'. DEBUG: 00:00:00.3239577 Downloading 'https://gitea.xxx.com/api/packages/Support/nuget/registration/pwshtest/0.1.0.json'. DEBUG: 00:00:00.4008664 Completed downloading 'https://gitea.xxx.com/api/packages/Support/nuget/registration/pwshtest/0.1.0.json'. DEBUG: 00:00:00.4064903 Downloading 'https://gitea.xxx.com/api/packages/Support/nuget/registration/PWSHTest/0.1.0.json'. DEBUG: 00:00:00.4774232 Completed downloading 'https://gitea.xxx.com/api/packages/Support/nuget/registration/PWSHTest/0.1.0.json'. DEBUG: 00:00:00.4821622 Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 'System.Dynamic.ExpandoObject' does not contain a definition for 'version' at CallSite.Target(Closure, CallSite, Object) at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0) at CallSite.Target(Closure, CallSite, Object) at Microsoft.PackageManagement.NuGetProvider.NuGetPackageFeed3.GetPackageFromCatalogUrl(String catalogUrl, RequestWrapper request, HashSet`1 packageSemanticVersions, NuGetSearchContext context) at Microsoft.PackageManagement.NuGetProvider.NuGetPackageFeed3.<>c__DisplayClass2_2.<Find>b__1() at Microsoft.PackageManagement.NuGetProvider.ConcurrentInMemoryCache.GetOrAdd[T](String key, Func`1 constructor) at Microsoft.PackageManagement.NuGetProvider.NuGetPackageFeed3.Find(String registrationUrl, NuGetSearchContext context, RequestWrapper request, Boolean finalAttempt) at Microsoft.PackageManagement.NuGetProvider.NuGetPackageFeed3.GetPackagesForBaseUrl(String baseUrl, NuGetSearchContext findContext, RequestWrapper request)+MoveNext() at System.Linq.Enumerable.TryGetFirstNonIterator[TSource](IEnumerable`1 source, Boolean& found) at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at Microsoft.PackageManagement.NuGetProvider.NuGetPackageFeed3.Find(String registrationUrl, NuGetSearchContext context, RequestWrapper request, Boolean finalAttempt) at Microsoft.PackageManagement.NuGetProvider.NuGetPackageFeed3.GetPackagesForBaseUrl(String baseUrl, NuGetSearchContext findContext, RequestWrapper request)+MoveNext() at System.Linq.Enumerable.IEnumerableWhereIterator`1.TryGetFirst(Boolean& found) at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source) at Microsoft.PackageManagement.Provider.Utility.CollectionExtensions.IsNullOrEmpty[T](IEnumerable`1 collection) at Microsoft.PackageManagement.NuGetProvider.NuGetRequest.GetPackageById(PackageSource source, String name, NuGetRequest request, String requiredVersion, String minimumVersion, String maximumVersion, Boolean minInclusive, Boolean maxInclusive, Boolean isDependency) VERBOSE: Total package yield:'0' for the specified package 'PWSHTest'. DEBUG: 00:00:00.4831123 Completed iterating for 'PWSHTest'. DEBUG: 00:00:00.4834155 PowerShell Script 'PSModule' Function 'Find-Package' returns null. DEBUG: 00:00:00.4841082 Done calling powershell «Find-Package» «PSModule» DEBUG: 00:00:00.4847958 unmatched package name='PWSHTest' ``` and here with the trailing asterisk find-module -Name 'PWSHTest*' -repository 'Gitea' -Credential $cred -verbose -debug ```powershell DEBUG: 00:00:00.0000015 Calling New() : MethodName = 'ResolvePackageSources' DEBUG: 00:00:00.0000236 Name: Gitea DEBUG: 00:00:00.0000337 ErrorVariable: ev DEBUG: 00:00:00.0000473 Verbose: False DEBUG: 00:00:00.0008658 INVOKING PowerShell Fn Resolve-PackageSource with args that has length 0 DEBUG: 00:00:00.0017261 In PowerShellGet Provider - 'Resolve-PackageSource'. DEBUG: 00:00:00.0025560 Yielding package source for Gitea at location https://gitea.xxx.com/api/packages/Support/nuget/index.json DEBUG: 00:00:00.0033432 Done calling powershell «Resolve-PackageSource» «PSModule» DEBUG: 00:00:00.0052124 Calling New() : MethodName = 'GetDynamicOptions' DEBUG: 00:00:00.0052231 Name: Gitea DEBUG: 00:00:00.0052288 ErrorVariable: ev DEBUG: 00:00:00.0052351 Verbose: False DEBUG: 00:00:00.0057628 INVOKING PowerShell Fn Get-DynamicOptions with args Provider that has length 1 DEBUG: 00:00:00.0063298 In PowerShellGet Provider - 'Get-DynamicOptions'. DEBUG: 00:00:00.0071710 Done calling powershell «Get-DynamicOptions» «PSModule» DEBUG: 00:00:00.0090025 Calling New() : MethodName = 'GetDynamicOptions' DEBUG: 00:00:00.0090139 Name: Gitea DEBUG: 00:00:00.0090199 ErrorVariable: ev DEBUG: 00:00:00.0090264 Verbose: False DEBUG: 00:00:00.0095938 INVOKING PowerShell Fn Get-DynamicOptions with args Source that has length 1 DEBUG: 00:00:00.0101779 In PowerShellGet Provider - 'Get-DynamicOptions'. DEBUG: 00:00:00.0109485 Done calling powershell «Get-DynamicOptions» «PSModule» DEBUG: 00:00:00.0160168 Calling New() : MethodName = 'ResolvePackageSources' DEBUG: 00:00:00.0163091 Name: Gitea DEBUG: 00:00:00.0167525 ProviderName: PowerShellGet DEBUG: 00:00:00.0170750 ErrorVariable: ev DEBUG: 00:00:00.0172524 Verbose: False DEBUG: 00:00:00.0176630 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString DEBUG: 00:00:00.0182842 INVOKING PowerShell Fn Resolve-PackageSource with args that has length 0 DEBUG: 00:00:00.0194418 In PowerShellGet Provider - 'Resolve-PackageSource'. DEBUG: 00:00:00.0201981 Yielding package source for Gitea at location https://gitea.xxx.com/api/packages/Support/nuget/index.json DEBUG: 00:00:00.0207747 Done calling powershell «Resolve-PackageSource» «PSModule» DEBUG: 00:00:00.0226670 Calling New() : MethodName = 'ResolvePackageSources' DEBUG: 00:00:00.0229296 Name: Gitea DEBUG: 00:00:00.0233705 ProviderName: PowerShellGet DEBUG: 00:00:00.0237917 ErrorVariable: ev DEBUG: 00:00:00.0242821 Verbose: False DEBUG: 00:00:00.0246530 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString DEBUG: 00:00:00.0255206 INVOKING PowerShell Fn Resolve-PackageSource with args that has length 0 DEBUG: 00:00:00.0259668 In PowerShellGet Provider - 'Resolve-PackageSource'. DEBUG: 00:00:00.0270828 Yielding package source for Gitea at location https://gitea.xxx.com/api/packages/Support/nuget/index.json DEBUG: 00:00:00.0280480 Done calling powershell «Resolve-PackageSource» «PSModule» DEBUG: 00:00:00.0000010 Calling New() : MethodName = 'ResolvePackageSources' DEBUG: 00:00:00.0000179 Name: PWSHTest* DEBUG: 00:00:00.0000271 Source: Gitea DEBUG: 00:00:00.0000379 Credential: System.Management.Automation.PSCredential DEBUG: 00:00:00.0000486 Verbose: True DEBUG: 00:00:00.0000571 Debug: True DEBUG: 00:00:00.0006477 INVOKING PowerShell Fn Resolve-PackageSource with args that has length 0 DEBUG: 00:00:00.0011859 In PowerShellGet Provider - 'Resolve-PackageSource'. VERBOSE: Suppressed Verbose Repository details, Name = 'Gitea', Location = 'https://gitea.xxx.com/api/packages/Support/nuget/index.json'; IsTrusted = 'True'; IsRegistered = 'True'. DEBUG: 00:00:00.0017788 Yielding package source for Gitea at location https://gitea.xxx.com/api/packages/Support/nuget/index.json DEBUG: 00:00:00.0024691 Done calling powershell «Resolve-PackageSource» «PSModule» DEBUG: 00:00:00.0066562 Calling New() : MethodName = 'GetDynamicOptions' DEBUG: 00:00:00.0066682 Name: PWSHTest* DEBUG: 00:00:00.0066740 Source: Gitea DEBUG: 00:00:00.0066809 Credential: System.Management.Automation.PSCredential DEBUG: 00:00:00.0066872 Verbose: True DEBUG: 00:00:00.0066940 Debug: True DEBUG: 00:00:00.0074225 INVOKING PowerShell Fn Get-DynamicOptions with args Provider that has length 1 DEBUG: 00:00:00.0080858 In PowerShellGet Provider - 'Get-DynamicOptions'. DEBUG: 00:00:00.0090632 Done calling powershell «Get-DynamicOptions» «PSModule» DEBUG: 00:00:00.0126913 Calling New() : MethodName = 'GetDynamicOptions' DEBUG: 00:00:00.0127083 Name: PWSHTest* DEBUG: 00:00:00.0127176 Source: Gitea DEBUG: 00:00:00.0127285 Credential: System.Management.Automation.PSCredential DEBUG: 00:00:00.0127381 Verbose: True DEBUG: 00:00:00.0127476 Debug: True DEBUG: 00:00:00.0132570 INVOKING PowerShell Fn Get-DynamicOptions with args Source that has length 1 DEBUG: 00:00:00.0136286 In PowerShellGet Provider - 'Get-DynamicOptions'. DEBUG: 00:00:00.0144253 Done calling powershell «Get-DynamicOptions» «PSModule» DEBUG: 00:00:00.0161503 Calling New() : MethodName = 'GetDynamicOptions' DEBUG: 00:00:00.0161639 Name: PWSHTest* DEBUG: 00:00:00.0161706 Source: Gitea DEBUG: 00:00:00.0161862 Credential: System.Management.Automation.PSCredential DEBUG: 00:00:00.0162144 Verbose: True DEBUG: 00:00:00.0162243 Debug: True DEBUG: 00:00:00.0168570 INVOKING PowerShell Fn Get-DynamicOptions with args Package that has length 1 DEBUG: 00:00:00.0174781 In PowerShellGet Provider - 'Get-DynamicOptions'. DEBUG: 00:00:00.0199373 Done calling powershell «Get-DynamicOptions» «PSModule» DEBUG: 00:00:00.0285681 Calling New() : MethodName = 'ResolvePackageSources' DEBUG: 00:00:00.0290393 Source: Gitea DEBUG: 00:00:00.0292825 ProviderName: PowerShellGet DEBUG: 00:00:00.0294723 Type: Module DEBUG: 00:00:00.0296816 Name: PWSHTest* DEBUG: 00:00:00.0300417 Credential: System.Management.Automation.PSCredential DEBUG: 00:00:00.0303943 Debug: True DEBUG: 00:00:00.0307855 Verbose: True DEBUG: 00:00:00.0311757 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString DEBUG: 00:00:00.0321582 INVOKING PowerShell Fn Resolve-PackageSource with args that has length 0 DEBUG: 00:00:00.0327894 In PowerShellGet Provider - 'Resolve-PackageSource'. VERBOSE: Repository details, Name = 'Gitea', Location = 'https://gitea.xxx.com/api/packages/Support/nuget/index.json'; IsTrusted = 'True'; IsRegistered = 'True'. DEBUG: 00:00:00.0342080 Yielding package source for Gitea at location https://gitea.xxx.com/api/packages/Support/nuget/index.json DEBUG: 00:00:00.0349802 Done calling powershell «Resolve-PackageSource» «PSModule» DEBUG: 00:00:00.0351493 Calling SearchForPackages. Name='PWSHTest*' VERBOSE: Using the provider 'PowerShellGet' for searching packages. DEBUG: 00:00:00.0355226 PackageProvider::FindPackage with name PWSHTest* DEBUG: 00:00:00.0358674 Calling SearchForPackages After Select 1 DEBUG: 00:00:00.0376989 Calling New() : MethodName = 'FindPackage' DEBUG: 00:00:00.0380722 Source: Gitea DEBUG: 00:00:00.0384200 ProviderName: PowerShellGet DEBUG: 00:00:00.0386911 Type: Module DEBUG: 00:00:00.0390336 Name: PWSHTest* DEBUG: 00:00:00.0393741 Credential: System.Management.Automation.PSCredential DEBUG: 00:00:00.0396703 Debug: True DEBUG: 00:00:00.0400544 Verbose: True DEBUG: 00:00:00.0404130 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString DEBUG: 00:00:00.0410843 INVOKING PowerShell Fn Find-Package with args System.String[], , , that has length 4 DEBUG: 00:00:00.0415293 In PowerShellGet Provider - 'Find-Package'. DEBUG: 00:00:00.0417752 OPTION: Source => Gitea DEBUG: 00:00:00.0424302 OPTION: ProviderName => PowerShellGet DEBUG: 00:00:00.0427856 OPTION: Type => Module DEBUG: 00:00:00.0430200 OPTION: Name => PWSHTest* DEBUG: 00:00:00.0432037 OPTION: Credential => System.Management.Automation.PSCredential DEBUG: 00:00:00.0433287 OPTION: Debug => True DEBUG: 00:00:00.0435049 OPTION: Verbose => True DEBUG: 00:00:00.0437342 OPTION: MessageResolver => Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString VERBOSE: Using the specified source names : 'Gitea'. VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'. VERBOSE: The specified Location is 'https://gitea.xxx.com/api/packages/Support/nuget/index.json' and PackageManagementProvider is 'NuGet'. DEBUG: 00:00:00.0457302 PackageProvider::FindPackage with name PWSHTest* DEBUG: 00:00:00.0468931 Calling 'NuGet'::'FindPackage' - name='PWSHTest*', requiredVersion='',minimumVersion='', maximumVersion='''. DEBUG: 00:00:00.0472636 Iterating 'PWSHTest*'. DEBUG: 00:00:00.0478384 There are '6' registered sources in 'NuGet' provider. DEBUG: 00:00:00.0481912 Calling 'NuGetRequest'::'GetPackageById', 'PWSHTest*'. DEBUG: 00:00:00.0484679 Calling 'NuGetPackageRepository'::'FindPackagesById', 'PWSHTest*'. DEBUG: 00:00:00.0486607 Calling 'NuGetPackageFeed3'::'Find', 'PWSHTest*'. DEBUG: 00:00:00.0490829 System.ArgumentNullException: Value cannot be null. (Parameter 'source') at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate) at Microsoft.PackageManagement.NuGetProvider.NuGetRequest.GetPackageById(PackageSource source, String name, NuGetRequest request, String requiredVersion, String minimumVersion, String maximumVersion, Boolean minInclusive, Boolean maxInclusive, Boolean isDependency) VERBOSE: Total package yield:'0' for the specified package 'PWSHTest*'. DEBUG: 00:00:00.0497057 Completed iterating for 'PWSHTest*'. DEBUG: 00:00:00.0499824 Iterating 'PWSHTest*'. DEBUG: 00:00:00.0504672 There are '6' registered sources in 'NuGet' provider. DEBUG: 00:00:00.0508701 Calling 'NuGetRequest'::'SearchForPackages', 'PWSHTest*'. VERBOSE: Searching repository 'https://gitea.xxx.com/api/packages/Support/nuget/index.json' for 'searchTerm:PWSHTest'. DEBUG: 00:00:00.0513229 Calling 'NuGetPackageRepository'::'Search'. DEBUG: 00:00:00.0521158 Downloading 'https://gitea.xxx.com/api/packages/Support/nuget/query?q=PWSHTest&take=200&semverlevel=2.0.0'. DEBUG: 00:00:00.1877434 Completed downloading 'https://gitea.xxx.com/api/packages/Support/nuget/query?q=PWSHTest&take=200&semverlevel=2.0.0'. DEBUG: 00:00:00.1955544 NuGet query returned '1' hits. VERBOSE: Total package yield:'1' for the specified package 'PWSHTest*'. DEBUG: 00:00:00.2473319 Completed iterating for 'PWSHTest*'. DEBUG: 00:00:00.2491495 Done calling powershell «Find-Package» «PSModule» Version Name Repository Description ------- ---- ---------- ----------- 0.1.0 PWSHTest Gitea A test PowerShell module ```
Author
Owner

@mathesonian commented on GitHub (Aug 20, 2025):

I was beating my head against the wall on this but I got Find-Module and Install-Module to work by doing the following:

  • Specifically targeting the nuget v2 API when adding the repository using:

Register-PSRepository -Name "Gitea"
-PublishLocation "$GITEA_URL/api/packages/$OWNER/nuget/"
-SourceLocation "$GITEA_URL/api/packages/$OWNER/nuget/"
-PackageManagementProvider NuGet
-InstallationPolicy Trusted

instead of:

Register-PSRepository -Name "Gitea"
-PublishLocation "$GITEA_URL/api/packages/$OWNER/nuget/index.json"
-SourceLocation "$GITEA_URL/api/packages/$OWNER/nuget/index.json"
-PackageManagementProvider NuGet
-InstallationPolicy Trusted

  • then using the -AllowPrerelease flag
Find-Module PWSHTest -Repository "Gitea" -AllowPrerelease 
Install-Module PWSHTest -Repository "Gitea" -AllowPrerelease 

I don't know a lot about Nuget feeds but when I compare the responses from Gitea vs PSGallery there is a lot more being returned from PSGallery. I suspect that there are additional properties that PowerShell is looking for in the feed that are missing from Gitea.

@mathesonian commented on GitHub (Aug 20, 2025): I was beating my head against the wall on this but I got Find-Module and Install-Module to work by doing the following: - Specifically targeting the nuget v2 API when adding the repository using: Register-PSRepository -Name "Gitea" -PublishLocation "$GITEA_URL/api/packages/$OWNER/nuget/" -SourceLocation "$GITEA_URL/api/packages/$OWNER/nuget/" -PackageManagementProvider NuGet -InstallationPolicy Trusted instead of: Register-PSRepository -Name "Gitea" -PublishLocation "$GITEA_URL/api/packages/$OWNER/nuget/index.json" -SourceLocation "$GITEA_URL/api/packages/$OWNER/nuget/index.json" -PackageManagementProvider NuGet -InstallationPolicy Trusted - then using the -AllowPrerelease flag ```powershell Find-Module PWSHTest -Repository "Gitea" -AllowPrerelease ``` ```powershell Install-Module PWSHTest -Repository "Gitea" -AllowPrerelease ``` I don't know a lot about Nuget feeds but when I compare the responses from Gitea vs PSGallery there is a lot more being returned from PSGallery. I suspect that there are additional properties that PowerShell is looking for in the feed that are missing from Gitea.
Author
Owner

@senna-fox commented on GitHub (Aug 20, 2025):

@mathesonian Excellent find! I was pretty sure it was possible as it seemed like others figured it out, but nobody ever posted a how-to until now. It'd be nice to see the Gitea team fix this but in their shoes I can't say I would.

I made a comment on the forum post but I'll paste it here so it's available:


Been poking at this a bit more this morning. I haven’t been able to make it work, but I have determined the issue is that PowerShellGet requires a NuGet v2 feed. Despite documentation’s claim otherwise, Gitea fails to completely implement v2 (only the ‘packages’ endpoint is routable.)

Given PowerShellGet is being phased out in favor of PSResouceGet, I’m not sure it’s worth correcting this. I’m resolving myself to just using PSResourceGet & manually installing dependencies.
Supposedly this automation is coming (backed by the good word of Microsoft 🙄)
Per Microsoft Documentation:

Install-PSResource doesn’t install dependent resources from repositories that use the NuGet v3 protocol. You must install the dependent resources individually. We intend to add this feature in a future release.
@senna-fox commented on GitHub (Aug 20, 2025): @mathesonian Excellent find! I was pretty sure it was possible as it seemed like others figured it out, but nobody ever posted a how-to until now. It'd be nice to see the Gitea team fix this but in their shoes I can't say I would. I made a comment on the forum post but I'll paste it here so it's available: --- Been poking at this a bit more this morning. I haven’t been able to make it work, but I have determined the issue is that PowerShellGet requires a NuGet v2 feed. Despite [documentation’s](https://docs.gitea.com/next/usage/packages/nuget) claim otherwise, Gitea fails to completely implement v2 (only the ‘packages’ endpoint is routable.) Given PowerShellGet is being phased out in favor of PSResouceGet, I’m not sure it’s worth correcting this. I’m resolving myself to just using PSResourceGet & manually installing dependencies. Supposedly this automation is coming (backed by the good word of Microsoft :roll_eyes:) Per [Microsoft Documentation](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.psresourceget/install-psresource?view=powershellget-3.x): Install-PSResource doesn’t install dependent resources from repositories that use the NuGet v3 protocol. You must install the dependent resources individually. We intend to add this feature in a future release.
Author
Owner

@marvint24 commented on GitHub (Aug 22, 2025):

@mathesonian I tested your way today and it seems to work, thank you! :)

It's still a little weird that you have to use -AllowPrerelease.
I also tested Find-Module PWSHTest -Repository "Gitea" -AllVersions but that doesn't work xD

So you can find the non prerelease version if you use -AllowPrerelease and if you actually specify your module as prelease via

    PrivateData       = @{
        PSData = @{
            Prerelease = 'alpha'
        }
    }

in your manifest, you can find it via Find-Module PWSHTest -Repository "Gitea" -AllVersions and -AllowPrerelease

@marvint24 commented on GitHub (Aug 22, 2025): @mathesonian I tested your way today and it seems to work, thank you! :) It's still a little weird that you have to use `-AllowPrerelease`. I also tested `Find-Module PWSHTest -Repository "Gitea" -AllVersions` but that doesn't work xD So you can find the non prerelease version if you use `-AllowPrerelease` and if you actually specify your module as prelease via ``` PrivateData = @{ PSData = @{ Prerelease = 'alpha' } } ``` in your manifest, you can find it via `Find-Module PWSHTest -Repository "Gitea" -AllVersions` and `-AllowPrerelease `
Author
Owner

@wxiaoguang commented on GitHub (Aug 23, 2025):

1.25 (at the moment: main-nightly) has this: Improve NuGet API Parity #34940

isPrerelease

Could you try whether it helps? Or maybe it could still be improved.

@wxiaoguang commented on GitHub (Aug 23, 2025): 1.25 (at the moment: main-nightly) has this: Improve NuGet API Parity #34940 > isPrerelease Could you try whether it helps? Or maybe it could still be improved. * https://dl.gitea.com/gitea/main-nightly/ * https://hub.docker.com/r/gitea/gitea/tags?name=nightly
Author
Owner

@Chucky2401 commented on GitHub (Sep 10, 2025):

Hello, I jumped here with the exact same issues and workaround.

I tried with the main-nightly docker image, problem still present:

DEBUG: 00:00:00.0000022 Calling New() : MethodName = 'ResolvePackageSources'
DEBUG: 00:00:00.0000132 ErrorVariable: ev
DEBUG: 00:00:00.0000174 Verbose: False
DEBUG: 00:00:00.0000217 Name: Gitea
DEBUG: 00:00:00.0005227 INVOKING PowerShell Fn Resolve-PackageSource with args  that has length 0
DEBUG: 00:00:00.0007972 In PowerShellGet Provider - 'Resolve-PackageSource'.
DEBUG: 00:00:00.0012532 Yielding package source for Gitea at location http://localhost:3000/api/packages/PowerShell/nuget
DEBUG: 00:00:00.0015094 Done calling powershell «Resolve-PackageSource» «PSModule»
DEBUG: 00:00:00.0050261 Calling New() : MethodName = 'GetDynamicOptions'
DEBUG: 00:00:00.0050353 ErrorVariable: ev
DEBUG: 00:00:00.0050416 Verbose: False
DEBUG: 00:00:00.0050459 Name: Gitea
DEBUG: 00:00:00.0053818 INVOKING PowerShell Fn Get-DynamicOptions with args Provider that has length 1
DEBUG: 00:00:00.0056866 In PowerShellGet Provider - 'Get-DynamicOptions'.
DEBUG: 00:00:00.0061185 Done calling powershell «Get-DynamicOptions» «PSModule»
DEBUG: 00:00:00.0078283 Calling New() : MethodName = 'GetDynamicOptions'
DEBUG: 00:00:00.0078433 ErrorVariable: ev
DEBUG: 00:00:00.0078521 Verbose: False
DEBUG: 00:00:00.0078611 Name: Gitea
DEBUG: 00:00:00.0080615 INVOKING PowerShell Fn Get-DynamicOptions with args Source that has length 1
DEBUG: 00:00:00.0084390 In PowerShellGet Provider - 'Get-DynamicOptions'.
DEBUG: 00:00:00.0093560 Done calling powershell «Get-DynamicOptions» «PSModule»
DEBUG: 00:00:00.0112647 Calling New() : MethodName = 'ResolvePackageSources'
DEBUG: 00:00:00.0113525 ErrorVariable: ev
DEBUG: 00:00:00.0114002 Verbose: False
DEBUG: 00:00:00.0114326 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString
DEBUG: 00:00:00.0114872 ProviderName: PowerShellGet
DEBUG: 00:00:00.0115794 Name: Gitea
DEBUG: 00:00:00.0118225 INVOKING PowerShell Fn Resolve-PackageSource with args  that has length 0
DEBUG: 00:00:00.0121040 In PowerShellGet Provider - 'Resolve-PackageSource'.
DEBUG: 00:00:00.0128474 Yielding package source for Gitea at location http://localhost:3000/api/packages/PowerShell/nuget
DEBUG: 00:00:00.0131044 Done calling powershell «Resolve-PackageSource» «PSModule»
DEBUG: 00:00:00.0144484 Calling New() : MethodName = 'ResolvePackageSources'
DEBUG: 00:00:00.0144876 ErrorVariable: ev
DEBUG: 00:00:00.0145119 Verbose: False
DEBUG: 00:00:00.0145377 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString
DEBUG: 00:00:00.0145634 ProviderName: PowerShellGet
DEBUG: 00:00:00.0145872 Name: Gitea
DEBUG: 00:00:00.0147989 INVOKING PowerShell Fn Resolve-PackageSource with args  that has length 0
DEBUG: 00:00:00.0149586 In PowerShellGet Provider - 'Resolve-PackageSource'.
DEBUG: 00:00:00.0153337 Yielding package source for Gitea at location http://localhost:3000/api/packages/PowerShell/nuget
DEBUG: 00:00:00.0156253 Done calling powershell «Resolve-PackageSource» «PSModule»
DEBUG: 00:00:00.0000018 Calling New() : MethodName = 'ResolvePackageSources'
DEBUG: 00:00:00.0000097 Debug: True
DEBUG: 00:00:00.0000147 Source: Gitea
DEBUG: 00:00:00.0000188 Verbose: True
DEBUG: 00:00:00.0000238 Name: Company.Message
DEBUG: 00:00:00.0002001 INVOKING PowerShell Fn Resolve-PackageSource with args  that has length 0
DEBUG: 00:00:00.0004091 In PowerShellGet Provider - 'Resolve-PackageSource'.
VERBOSE: Suppressed Verbose Repository details, Name = 'Gitea', Location = 'http://localhost:3000/api/packages/PowerShell/nuget'; IsTrusted = 'True'; IsRegistered = 'True'.
DEBUG: 00:00:00.0043254 Yielding package source for Gitea at location http://localhost:3000/api/packages/PowerShell/nuget
DEBUG: 00:00:00.0047139 Done calling powershell «Resolve-PackageSource» «PSModule»
DEBUG: 00:00:00.0062426 Calling New() : MethodName = 'GetDynamicOptions'
DEBUG: 00:00:00.0062508 Debug: True
DEBUG: 00:00:00.0062551 Source: Gitea
DEBUG: 00:00:00.0062598 Verbose: True
DEBUG: 00:00:00.0062643 Name: Company.Message
DEBUG: 00:00:00.0064876 INVOKING PowerShell Fn Get-DynamicOptions with args Provider that has length 1
DEBUG: 00:00:00.0067039 In PowerShellGet Provider - 'Get-DynamicOptions'.
DEBUG: 00:00:00.0071445 Done calling powershell «Get-DynamicOptions» «PSModule»
DEBUG: 00:00:00.0082148 Calling New() : MethodName = 'GetDynamicOptions'
DEBUG: 00:00:00.0082225 Debug: True
DEBUG: 00:00:00.0082267 Source: Gitea
DEBUG: 00:00:00.0082313 Verbose: True
DEBUG: 00:00:00.0082355 Name: Company.Message
DEBUG: 00:00:00.0083739 INVOKING PowerShell Fn Get-DynamicOptions with args Source that has length 1
DEBUG: 00:00:00.0086041 In PowerShellGet Provider - 'Get-DynamicOptions'.
DEBUG: 00:00:00.0092994 Done calling powershell «Get-DynamicOptions» «PSModule»
DEBUG: 00:00:00.0106456 Calling New() : MethodName = 'GetDynamicOptions'
DEBUG: 00:00:00.0106597 Debug: True
DEBUG: 00:00:00.0106690 Source: Gitea
DEBUG: 00:00:00.0106771 Verbose: True
DEBUG: 00:00:00.0106862 Name: Company.Message
DEBUG: 00:00:00.0108767 INVOKING PowerShell Fn Get-DynamicOptions with args Package that has length 1
DEBUG: 00:00:00.0110786 In PowerShellGet Provider - 'Get-DynamicOptions'.
DEBUG: 00:00:00.0120651 Done calling powershell «Get-DynamicOptions» «PSModule»
DEBUG: 00:00:00.0143062 Calling New() : MethodName = 'ResolvePackageSources'
DEBUG: 00:00:00.0143567 Debug: True
DEBUG: 00:00:00.0143833 Name: Company.Message
DEBUG: 00:00:00.0144069 Verbose: True
DEBUG: 00:00:00.0144331 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString
DEBUG: 00:00:00.0144588 ProviderName: PowerShellGet
DEBUG: 00:00:00.0144832 Source: Gitea
DEBUG: 00:00:00.0145222 Type: Module
DEBUG: 00:00:00.0147840 INVOKING PowerShell Fn Resolve-PackageSource with args  that has length 0
DEBUG: 00:00:00.0149733 In PowerShellGet Provider - 'Resolve-PackageSource'.
VERBOSE: Repository details, Name = 'Gitea', Location = 'http://localhost:3000/api/packages/PowerShell/nuget'; IsTrusted = 'True'; IsRegistered = 'True'.
DEBUG: 00:00:00.0154506 Yielding package source for Gitea at location http://localhost:3000/api/packages/PowerShell/nuget
DEBUG: 00:00:00.0157113 Done calling powershell «Resolve-PackageSource» «PSModule»
DEBUG: 00:00:00.0157667 Calling SearchForPackages. Name='Company.Message'
VERBOSE: Using the provider 'PowerShellGet' for searching packages.
DEBUG: 00:00:00.0160569 PackageProvider::FindPackage with name Company.Message
DEBUG: 00:00:00.0161677 Calling SearchForPackages After Select 1
DEBUG: 00:00:00.0202822 Calling New() : MethodName = 'FindPackage'
DEBUG: 00:00:00.0203533 Debug: True
DEBUG: 00:00:00.0204089 Name: Company.Message
DEBUG: 00:00:00.0204617 Verbose: True
DEBUG: 00:00:00.0205053 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString
DEBUG: 00:00:00.0205515 ProviderName: PowerShellGet
DEBUG: 00:00:00.0205939 Source: Gitea
DEBUG: 00:00:00.0206341 Type: Module
DEBUG: 00:00:00.0211260 INVOKING PowerShell Fn Find-Package with args System.String[], , ,  that has length 4
DEBUG: 00:00:00.0214364 In PowerShellGet Provider - 'Find-Package'.
DEBUG: 00:00:00.0215966 OPTION: Debug => True
DEBUG: 00:00:00.0216505 OPTION: Name => Company.Message
DEBUG: 00:00:00.0216949 OPTION: Verbose => True
DEBUG: 00:00:00.0217373 OPTION: MessageResolver => Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString
DEBUG: 00:00:00.0217805 OPTION: ProviderName => PowerShellGet
DEBUG: 00:00:00.0218166 OPTION: Source => Gitea
DEBUG: 00:00:00.0218577 OPTION: Type => Module
VERBOSE: Using the specified source names : 'Gitea'.
VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: The specified Location is 'http://localhost:3000/api/packages/PowerShell/nuget' and PackageManagementProvider is 'NuGet'.
DEBUG: 00:00:00.0230699 PackageProvider::FindPackage with name Company.Message
DEBUG: 00:00:00.0242819 Calling 'NuGet'::'FindPackage' - name='Company.Message', requiredVersion='',minimumVersion='', maximumVersion='''.
DEBUG: 00:00:00.0243587 Iterating 'Company.Message'.
DEBUG: 00:00:00.0246651 There are '1' registered sources in 'NuGet' provider.
DEBUG: 00:00:00.0247729 Source 'http://localhost:3000/api/packages/PowerShell/nuget' is not one of the registered sources in 'NuGet' provider.
DEBUG: 00:00:00.0250495 Source 'http://localhost:3000/api/packages/PowerShell/nuget' is validated.
DEBUG: 00:00:00.0252133 Calling 'NuGetRequest'::'GetPackageById', 'Company.Message'.
DEBUG: 00:00:00.0253182 Calling 'NuGetPackageRepository'::'FindPackagesById', 'Company.Message'.
DEBUG: 00:00:00.0253976 Calling 'NuGetPackageFeed2'::'FindPackage', 'Company.Message'.
DEBUG: 00:00:00.0254593 Calling 'NuGetClient'::'FindPackage'.
VERBOSE: Searching repository 'http://localhost:3000/api/packages/PowerShell/nuget/FindPackagesById()?id='Company.Message'' for ''.
DEBUG: 00:00:00.0256252 Downloading 'http://localhost:3000/api/packages/PowerShell/nuget/FindPackagesById()?id='Company.Message'&$skip=0&$top=40'.
DEBUG: 00:00:00.0277881 Completed downloading 'http://localhost:3000/api/packages/PowerShell/nuget/FindPackagesById()?id='Company.Message'&$skip=0&$top=40'.
DEBUG: 00:00:00.0279699 '1' packages received in the last request.
DEBUG: 00:00:00.0281201 Downloading 'http://localhost:3000/api/packages/PowerShell/nuget/FindPackagesById()?id='Company.Message'&$skip=0&$top=40'.
DEBUG: 00:00:00.0297232 Completed downloading 'http://localhost:3000/api/packages/PowerShell/nuget/FindPackagesById()?id='Company.Message'&$skip=0&$top=40'.
DEBUG: 00:00:00.0298795 '1' packages received in the last request.
VERBOSE: Total package yield:'0' for the specified package 'Company.Message'.
DEBUG: 00:00:00.0300848 Completed iterating for 'Company.Message'.
DEBUG: 00:00:00.0302153 Calling 'NuGetRequest'::'FindRegisteredSource', 'http://localhost:3000/api/packages/PowerShell/nuget'.
DEBUG: 00:00:00.0305057 PowerShell Script 'PSModule' Function 'Find-Package' returns null.
DEBUG: 00:00:00.0308189 Done calling powershell «Find-Package» «PSModule»
DEBUG: 00:00:00.0310894 unmatched package name='Company.Message'

If I access the link in the debug output, I got the xml:

<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xml:base="http://localhost:3000/api/packages/PowerShell/nuget"><id>http://schemas.datacontract.org/2004/07/</id><title></title><updated>2025-09-10T15:19:15.774995467+02:00</updated><link rel="self" href="http://localhost:3000/api/packages/PowerShell/nuget"></link><entry><id>http://localhost:3000/api/packages/PowerShell/nuget/Packages(Id=&#39;Company.Message&#39;,Version=&#39;1.7.0&#39;)</id><category term="NuGetGallery.OData.V2FeedPackage" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"></category><link rel="self" href="http://localhost:3000/api/packages/PowerShell/nuget/Packages(Id=&#39;Company.Message&#39;,Version=&#39;1.7.0&#39;)"></link><link rel="edit" href="http://localhost:3000/api/packages/PowerShell/nuget/Packages(Id=&#39;Company.Message&#39;,Version=&#39;1.7.0&#39;)"></link><title type="text">Company.Message</title><updated>2025-09-10T15:09:43+02:00</updated><author><name>Tristan BREJON</name></author><summary></summary><m:properties><d:Authors>Tristan BREJON</d:Authors><d:Created type="Edm.DateTime">2025-09-10T15:09:43+02:00</d:Created><d:Dependencies></d:Dependencies><d:Description>Message Module</d:Description><d:DevelopmentDependency type="Edm.Boolean">false</d:DevelopmentDependency><d:DownloadCount type="Edm.Int64">0</d:DownloadCount><d:Id>Company.Message</d:Id><d:LastUpdated type="Edm.DateTime">2025-09-10T15:09:43+02:00</d:LastUpdated><d:NormalizedVersion>1.7.0</d:NormalizedVersion><d:PackageSize type="Edm.Int64">11945</d:PackageSize><d:Published type="Edm.DateTime">2025-09-10T15:09:43+02:00</d:Published><d:ReleaseNotes># Release Notes&#xA;## 2025.06.06&#xA;- Remove **BackgroundColor** in `Write-Message` function</d:ReleaseNotes><d:RequireLicenseAcceptance type="Edm.Boolean">false</d:RequireLicenseAcceptance><d:Version>1.7.0</d:Version><d:VersionDownloadCount type="Edm.Int64">0</d:VersionDownloadCount></m:properties><content type="application/zip" src="http://localhost:3000/api/packages/PowerShell/nuget/package/Company.Message/1.7.0/Company.Message.1.7.0.nupkg"/></entry><m:count>1</m:count></feed>

I tried to publish my module on PSGallery to compare result of Find-Module.

The only things I find very different, are AdditionalMetadata.

For Gitea:

Name                       : Company.Message
Version                    : 1.7.0
Type                       : Module
Description                : Message Module
Author                     : Chucky2401
CompanyName                :
Copyright                  :
PublishedDate              : 10/09/2025 15:09:43
InstalledDate              :
UpdatedDate                :
LicenseUri                 :
ProjectUri                 :
IconUri                    :
Tags                       : {}
Includes                   : {[DscResource, System.Object[]], [RoleCapability, System.Object[]], [Cmdlet,
                             System.Object[]], [Command, System.Object[]]}
PowerShellGetFormatVersion :
ReleaseNotes               : # Release Notes
                             ## 2025.06.06
                             - Remove **BackgroundColor** in `Write-Message` function
Dependencies               : {}
RepositorySourceLocation   : Gitea
Repository                 : Gitea
PackageManagementProvider  : NuGet
AdditionalMetadata         : @{summary=Message Module; releaseNotes=# Release Notes
                             ## 2025.06.06
                             - Remove **BackgroundColor** in `Write-Message` function; created=10/09/2025 15:09:43
                             +02:00; title=Company.Message; description=Message Module; developmentDependency=False;
                             versionDownloadCount=0; isLatestVersion=False; PackageManagementProvider=NuGet;
                             NormalizedVersion=1.7.0; published=10/09/2025 15:09:43 +02:00;
                             requireLicenseAcceptance=False; downloadCount=0; SourceName=Gitea;
                             lastUpdated=10/09/2025 15:09:43 +02:00; isAbsoluteLatestVersion=False; Authors=Tristan
                             BREJON; updated=2025-09-10T15:09:43+02:00; packageSize=11945; IsPrerelease=False}

For PSGallery

Name                       : Company.Message
Version                    : 1.7.0
Type                       : Module
Description                : Message Module
Author                     : Chucky2401
CompanyName                : Chucky2401
Copyright                  : (c) 2022-2025 Company. Tous droits rservs.
PublishedDate              : 10/09/2025 12:19:21
InstalledDate              :
UpdatedDate                :
LicenseUri                 :
ProjectUri                 :
IconUri                    :
Tags                       : {PSModule, PSEdition_Desktop, PSEdition_Core}
Includes                   : {[DscResource, System.Object[]], [RoleCapability, System.Object[]], [Cmdlet,
                             System.Object[]], [Command, System.Object[]]}
PowerShellGetFormatVersion :
ReleaseNotes               : # Release Notes
                             ## 2025.06.06
                             - Remove **BackgroundColor** in `Write-Message` function
Dependencies               : {}
RepositorySourceLocation   : https://www.powershellgallery.com/api/v2
Repository                 : PSGallery
PackageManagementProvider  : NuGet
AdditionalMetadata         : @{summary=Message Module; downloadCount=2; FileList=Company.Message.nuspec|Public\func_W
                             rite-Message.ps1|Public\func_Write-GraylogMessage.ps1|Public\func_Write-Exception.ps1|Pub
                             lic\func_Write-CenterText.ps1|Public\func_Send-Email.ps1|Company.Message.psd1|Company.M
                             essage.psm1; isLatestVersion=True; lastEdited=10/09/2025 12:45:37 +02:00;
                             Authors=Tristan BREJON; GUID=89e237b1-e743-492a-8df5-9694be8f095b;
                             developmentDependency=False; Functions=Send-Email Write-CenterText Write-Exception
                             Write-GraylogMessage Write-Message; requireLicenseAcceptance=False; packageSize=10899;
                             updated=2025-09-10T13:10:01Z; ItemType=Module; copyright=(c) 2022-2025 Company. Tous
                             droits rservs.; releaseNotes=# Release Notes
                             ## 2025.06.06
                             - Remove **BackgroundColor** in `Write-Message` function; NormalizedVersion=1.7.0;
                             description=Message Module; PowerShellVersion=5.1; published=10/09/2025 12:19:21 +02:00;
                             IsPrerelease=false; isAbsoluteLatestVersion=True; created=10/09/2025 12:19:21 +02:00;
                             CompanyName=Company; tags=PSModule PSEdition_Desktop PSEdition_Core;
                             SourceName=PSGallery; versionDownloadCount=2; lastUpdated=10/09/2025 13:10:01 +02:00;
                             PackageManagementProvider=NuGet}

There are not property for latest version, or set to False. Property isPrerelease is a boolean with Gitea but a string with PSGallery, for example.

I hope this will help.

@Chucky2401 commented on GitHub (Sep 10, 2025): Hello, I jumped here with the exact same issues and workaround. I tried with the main-nightly docker image, problem still present: ```powershell DEBUG: 00:00:00.0000022 Calling New() : MethodName = 'ResolvePackageSources' DEBUG: 00:00:00.0000132 ErrorVariable: ev DEBUG: 00:00:00.0000174 Verbose: False DEBUG: 00:00:00.0000217 Name: Gitea DEBUG: 00:00:00.0005227 INVOKING PowerShell Fn Resolve-PackageSource with args that has length 0 DEBUG: 00:00:00.0007972 In PowerShellGet Provider - 'Resolve-PackageSource'. DEBUG: 00:00:00.0012532 Yielding package source for Gitea at location http://localhost:3000/api/packages/PowerShell/nuget DEBUG: 00:00:00.0015094 Done calling powershell «Resolve-PackageSource» «PSModule» DEBUG: 00:00:00.0050261 Calling New() : MethodName = 'GetDynamicOptions' DEBUG: 00:00:00.0050353 ErrorVariable: ev DEBUG: 00:00:00.0050416 Verbose: False DEBUG: 00:00:00.0050459 Name: Gitea DEBUG: 00:00:00.0053818 INVOKING PowerShell Fn Get-DynamicOptions with args Provider that has length 1 DEBUG: 00:00:00.0056866 In PowerShellGet Provider - 'Get-DynamicOptions'. DEBUG: 00:00:00.0061185 Done calling powershell «Get-DynamicOptions» «PSModule» DEBUG: 00:00:00.0078283 Calling New() : MethodName = 'GetDynamicOptions' DEBUG: 00:00:00.0078433 ErrorVariable: ev DEBUG: 00:00:00.0078521 Verbose: False DEBUG: 00:00:00.0078611 Name: Gitea DEBUG: 00:00:00.0080615 INVOKING PowerShell Fn Get-DynamicOptions with args Source that has length 1 DEBUG: 00:00:00.0084390 In PowerShellGet Provider - 'Get-DynamicOptions'. DEBUG: 00:00:00.0093560 Done calling powershell «Get-DynamicOptions» «PSModule» DEBUG: 00:00:00.0112647 Calling New() : MethodName = 'ResolvePackageSources' DEBUG: 00:00:00.0113525 ErrorVariable: ev DEBUG: 00:00:00.0114002 Verbose: False DEBUG: 00:00:00.0114326 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString DEBUG: 00:00:00.0114872 ProviderName: PowerShellGet DEBUG: 00:00:00.0115794 Name: Gitea DEBUG: 00:00:00.0118225 INVOKING PowerShell Fn Resolve-PackageSource with args that has length 0 DEBUG: 00:00:00.0121040 In PowerShellGet Provider - 'Resolve-PackageSource'. DEBUG: 00:00:00.0128474 Yielding package source for Gitea at location http://localhost:3000/api/packages/PowerShell/nuget DEBUG: 00:00:00.0131044 Done calling powershell «Resolve-PackageSource» «PSModule» DEBUG: 00:00:00.0144484 Calling New() : MethodName = 'ResolvePackageSources' DEBUG: 00:00:00.0144876 ErrorVariable: ev DEBUG: 00:00:00.0145119 Verbose: False DEBUG: 00:00:00.0145377 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString DEBUG: 00:00:00.0145634 ProviderName: PowerShellGet DEBUG: 00:00:00.0145872 Name: Gitea DEBUG: 00:00:00.0147989 INVOKING PowerShell Fn Resolve-PackageSource with args that has length 0 DEBUG: 00:00:00.0149586 In PowerShellGet Provider - 'Resolve-PackageSource'. DEBUG: 00:00:00.0153337 Yielding package source for Gitea at location http://localhost:3000/api/packages/PowerShell/nuget DEBUG: 00:00:00.0156253 Done calling powershell «Resolve-PackageSource» «PSModule» DEBUG: 00:00:00.0000018 Calling New() : MethodName = 'ResolvePackageSources' DEBUG: 00:00:00.0000097 Debug: True DEBUG: 00:00:00.0000147 Source: Gitea DEBUG: 00:00:00.0000188 Verbose: True DEBUG: 00:00:00.0000238 Name: Company.Message DEBUG: 00:00:00.0002001 INVOKING PowerShell Fn Resolve-PackageSource with args that has length 0 DEBUG: 00:00:00.0004091 In PowerShellGet Provider - 'Resolve-PackageSource'. VERBOSE: Suppressed Verbose Repository details, Name = 'Gitea', Location = 'http://localhost:3000/api/packages/PowerShell/nuget'; IsTrusted = 'True'; IsRegistered = 'True'. DEBUG: 00:00:00.0043254 Yielding package source for Gitea at location http://localhost:3000/api/packages/PowerShell/nuget DEBUG: 00:00:00.0047139 Done calling powershell «Resolve-PackageSource» «PSModule» DEBUG: 00:00:00.0062426 Calling New() : MethodName = 'GetDynamicOptions' DEBUG: 00:00:00.0062508 Debug: True DEBUG: 00:00:00.0062551 Source: Gitea DEBUG: 00:00:00.0062598 Verbose: True DEBUG: 00:00:00.0062643 Name: Company.Message DEBUG: 00:00:00.0064876 INVOKING PowerShell Fn Get-DynamicOptions with args Provider that has length 1 DEBUG: 00:00:00.0067039 In PowerShellGet Provider - 'Get-DynamicOptions'. DEBUG: 00:00:00.0071445 Done calling powershell «Get-DynamicOptions» «PSModule» DEBUG: 00:00:00.0082148 Calling New() : MethodName = 'GetDynamicOptions' DEBUG: 00:00:00.0082225 Debug: True DEBUG: 00:00:00.0082267 Source: Gitea DEBUG: 00:00:00.0082313 Verbose: True DEBUG: 00:00:00.0082355 Name: Company.Message DEBUG: 00:00:00.0083739 INVOKING PowerShell Fn Get-DynamicOptions with args Source that has length 1 DEBUG: 00:00:00.0086041 In PowerShellGet Provider - 'Get-DynamicOptions'. DEBUG: 00:00:00.0092994 Done calling powershell «Get-DynamicOptions» «PSModule» DEBUG: 00:00:00.0106456 Calling New() : MethodName = 'GetDynamicOptions' DEBUG: 00:00:00.0106597 Debug: True DEBUG: 00:00:00.0106690 Source: Gitea DEBUG: 00:00:00.0106771 Verbose: True DEBUG: 00:00:00.0106862 Name: Company.Message DEBUG: 00:00:00.0108767 INVOKING PowerShell Fn Get-DynamicOptions with args Package that has length 1 DEBUG: 00:00:00.0110786 In PowerShellGet Provider - 'Get-DynamicOptions'. DEBUG: 00:00:00.0120651 Done calling powershell «Get-DynamicOptions» «PSModule» DEBUG: 00:00:00.0143062 Calling New() : MethodName = 'ResolvePackageSources' DEBUG: 00:00:00.0143567 Debug: True DEBUG: 00:00:00.0143833 Name: Company.Message DEBUG: 00:00:00.0144069 Verbose: True DEBUG: 00:00:00.0144331 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString DEBUG: 00:00:00.0144588 ProviderName: PowerShellGet DEBUG: 00:00:00.0144832 Source: Gitea DEBUG: 00:00:00.0145222 Type: Module DEBUG: 00:00:00.0147840 INVOKING PowerShell Fn Resolve-PackageSource with args that has length 0 DEBUG: 00:00:00.0149733 In PowerShellGet Provider - 'Resolve-PackageSource'. VERBOSE: Repository details, Name = 'Gitea', Location = 'http://localhost:3000/api/packages/PowerShell/nuget'; IsTrusted = 'True'; IsRegistered = 'True'. DEBUG: 00:00:00.0154506 Yielding package source for Gitea at location http://localhost:3000/api/packages/PowerShell/nuget DEBUG: 00:00:00.0157113 Done calling powershell «Resolve-PackageSource» «PSModule» DEBUG: 00:00:00.0157667 Calling SearchForPackages. Name='Company.Message' VERBOSE: Using the provider 'PowerShellGet' for searching packages. DEBUG: 00:00:00.0160569 PackageProvider::FindPackage with name Company.Message DEBUG: 00:00:00.0161677 Calling SearchForPackages After Select 1 DEBUG: 00:00:00.0202822 Calling New() : MethodName = 'FindPackage' DEBUG: 00:00:00.0203533 Debug: True DEBUG: 00:00:00.0204089 Name: Company.Message DEBUG: 00:00:00.0204617 Verbose: True DEBUG: 00:00:00.0205053 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString DEBUG: 00:00:00.0205515 ProviderName: PowerShellGet DEBUG: 00:00:00.0205939 Source: Gitea DEBUG: 00:00:00.0206341 Type: Module DEBUG: 00:00:00.0211260 INVOKING PowerShell Fn Find-Package with args System.String[], , , that has length 4 DEBUG: 00:00:00.0214364 In PowerShellGet Provider - 'Find-Package'. DEBUG: 00:00:00.0215966 OPTION: Debug => True DEBUG: 00:00:00.0216505 OPTION: Name => Company.Message DEBUG: 00:00:00.0216949 OPTION: Verbose => True DEBUG: 00:00:00.0217373 OPTION: MessageResolver => Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString DEBUG: 00:00:00.0217805 OPTION: ProviderName => PowerShellGet DEBUG: 00:00:00.0218166 OPTION: Source => Gitea DEBUG: 00:00:00.0218577 OPTION: Type => Module VERBOSE: Using the specified source names : 'Gitea'. VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'. VERBOSE: The specified Location is 'http://localhost:3000/api/packages/PowerShell/nuget' and PackageManagementProvider is 'NuGet'. DEBUG: 00:00:00.0230699 PackageProvider::FindPackage with name Company.Message DEBUG: 00:00:00.0242819 Calling 'NuGet'::'FindPackage' - name='Company.Message', requiredVersion='',minimumVersion='', maximumVersion='''. DEBUG: 00:00:00.0243587 Iterating 'Company.Message'. DEBUG: 00:00:00.0246651 There are '1' registered sources in 'NuGet' provider. DEBUG: 00:00:00.0247729 Source 'http://localhost:3000/api/packages/PowerShell/nuget' is not one of the registered sources in 'NuGet' provider. DEBUG: 00:00:00.0250495 Source 'http://localhost:3000/api/packages/PowerShell/nuget' is validated. DEBUG: 00:00:00.0252133 Calling 'NuGetRequest'::'GetPackageById', 'Company.Message'. DEBUG: 00:00:00.0253182 Calling 'NuGetPackageRepository'::'FindPackagesById', 'Company.Message'. DEBUG: 00:00:00.0253976 Calling 'NuGetPackageFeed2'::'FindPackage', 'Company.Message'. DEBUG: 00:00:00.0254593 Calling 'NuGetClient'::'FindPackage'. VERBOSE: Searching repository 'http://localhost:3000/api/packages/PowerShell/nuget/FindPackagesById()?id='Company.Message'' for ''. DEBUG: 00:00:00.0256252 Downloading 'http://localhost:3000/api/packages/PowerShell/nuget/FindPackagesById()?id='Company.Message'&$skip=0&$top=40'. DEBUG: 00:00:00.0277881 Completed downloading 'http://localhost:3000/api/packages/PowerShell/nuget/FindPackagesById()?id='Company.Message'&$skip=0&$top=40'. DEBUG: 00:00:00.0279699 '1' packages received in the last request. DEBUG: 00:00:00.0281201 Downloading 'http://localhost:3000/api/packages/PowerShell/nuget/FindPackagesById()?id='Company.Message'&$skip=0&$top=40'. DEBUG: 00:00:00.0297232 Completed downloading 'http://localhost:3000/api/packages/PowerShell/nuget/FindPackagesById()?id='Company.Message'&$skip=0&$top=40'. DEBUG: 00:00:00.0298795 '1' packages received in the last request. VERBOSE: Total package yield:'0' for the specified package 'Company.Message'. DEBUG: 00:00:00.0300848 Completed iterating for 'Company.Message'. DEBUG: 00:00:00.0302153 Calling 'NuGetRequest'::'FindRegisteredSource', 'http://localhost:3000/api/packages/PowerShell/nuget'. DEBUG: 00:00:00.0305057 PowerShell Script 'PSModule' Function 'Find-Package' returns null. DEBUG: 00:00:00.0308189 Done calling powershell «Find-Package» «PSModule» DEBUG: 00:00:00.0310894 unmatched package name='Company.Message' ``` If I access the link in the debug output, I got the xml: ```xml <?xml version="1.0" encoding="UTF-8"?> <feed xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xml:base="http://localhost:3000/api/packages/PowerShell/nuget"><id>http://schemas.datacontract.org/2004/07/</id><title></title><updated>2025-09-10T15:19:15.774995467+02:00</updated><link rel="self" href="http://localhost:3000/api/packages/PowerShell/nuget"></link><entry><id>http://localhost:3000/api/packages/PowerShell/nuget/Packages(Id=&#39;Company.Message&#39;,Version=&#39;1.7.0&#39;)</id><category term="NuGetGallery.OData.V2FeedPackage" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"></category><link rel="self" href="http://localhost:3000/api/packages/PowerShell/nuget/Packages(Id=&#39;Company.Message&#39;,Version=&#39;1.7.0&#39;)"></link><link rel="edit" href="http://localhost:3000/api/packages/PowerShell/nuget/Packages(Id=&#39;Company.Message&#39;,Version=&#39;1.7.0&#39;)"></link><title type="text">Company.Message</title><updated>2025-09-10T15:09:43+02:00</updated><author><name>Tristan BREJON</name></author><summary></summary><m:properties><d:Authors>Tristan BREJON</d:Authors><d:Created type="Edm.DateTime">2025-09-10T15:09:43+02:00</d:Created><d:Dependencies></d:Dependencies><d:Description>Message Module</d:Description><d:DevelopmentDependency type="Edm.Boolean">false</d:DevelopmentDependency><d:DownloadCount type="Edm.Int64">0</d:DownloadCount><d:Id>Company.Message</d:Id><d:LastUpdated type="Edm.DateTime">2025-09-10T15:09:43+02:00</d:LastUpdated><d:NormalizedVersion>1.7.0</d:NormalizedVersion><d:PackageSize type="Edm.Int64">11945</d:PackageSize><d:Published type="Edm.DateTime">2025-09-10T15:09:43+02:00</d:Published><d:ReleaseNotes># Release Notes&#xA;## 2025.06.06&#xA;- Remove **BackgroundColor** in `Write-Message` function</d:ReleaseNotes><d:RequireLicenseAcceptance type="Edm.Boolean">false</d:RequireLicenseAcceptance><d:Version>1.7.0</d:Version><d:VersionDownloadCount type="Edm.Int64">0</d:VersionDownloadCount></m:properties><content type="application/zip" src="http://localhost:3000/api/packages/PowerShell/nuget/package/Company.Message/1.7.0/Company.Message.1.7.0.nupkg"/></entry><m:count>1</m:count></feed> ``` I tried to publish my module on PSGallery to compare result of Find-Module. The only things I find very different, are AdditionalMetadata. For Gitea: ```Powershell Name : Company.Message Version : 1.7.0 Type : Module Description : Message Module Author : Chucky2401 CompanyName : Copyright : PublishedDate : 10/09/2025 15:09:43 InstalledDate : UpdatedDate : LicenseUri : ProjectUri : IconUri : Tags : {} Includes : {[DscResource, System.Object[]], [RoleCapability, System.Object[]], [Cmdlet, System.Object[]], [Command, System.Object[]]…} PowerShellGetFormatVersion : ReleaseNotes : # Release Notes ## 2025.06.06 - Remove **BackgroundColor** in `Write-Message` function Dependencies : {} RepositorySourceLocation : Gitea Repository : Gitea PackageManagementProvider : NuGet AdditionalMetadata : @{summary=Message Module; releaseNotes=# Release Notes ## 2025.06.06 - Remove **BackgroundColor** in `Write-Message` function; created=10/09/2025 15:09:43 +02:00; title=Company.Message; description=Message Module; developmentDependency=False; versionDownloadCount=0; isLatestVersion=False; PackageManagementProvider=NuGet; NormalizedVersion=1.7.0; published=10/09/2025 15:09:43 +02:00; requireLicenseAcceptance=False; downloadCount=0; SourceName=Gitea; lastUpdated=10/09/2025 15:09:43 +02:00; isAbsoluteLatestVersion=False; Authors=Tristan BREJON; updated=2025-09-10T15:09:43+02:00; packageSize=11945; IsPrerelease=False} ``` For PSGallery ```powershell Name : Company.Message Version : 1.7.0 Type : Module Description : Message Module Author : Chucky2401 CompanyName : Chucky2401 Copyright : (c) 2022-2025 Company. Tous droits r�serv�s. PublishedDate : 10/09/2025 12:19:21 InstalledDate : UpdatedDate : LicenseUri : ProjectUri : IconUri : Tags : {PSModule, PSEdition_Desktop, PSEdition_Core} Includes : {[DscResource, System.Object[]], [RoleCapability, System.Object[]], [Cmdlet, System.Object[]], [Command, System.Object[]]…} PowerShellGetFormatVersion : ReleaseNotes : # Release Notes ## 2025.06.06 - Remove **BackgroundColor** in `Write-Message` function Dependencies : {} RepositorySourceLocation : https://www.powershellgallery.com/api/v2 Repository : PSGallery PackageManagementProvider : NuGet AdditionalMetadata : @{summary=Message Module; downloadCount=2; FileList=Company.Message.nuspec|Public\func_W rite-Message.ps1|Public\func_Write-GraylogMessage.ps1|Public\func_Write-Exception.ps1|Pub lic\func_Write-CenterText.ps1|Public\func_Send-Email.ps1|Company.Message.psd1|Company.M essage.psm1; isLatestVersion=True; lastEdited=10/09/2025 12:45:37 +02:00; Authors=Tristan BREJON; GUID=89e237b1-e743-492a-8df5-9694be8f095b; developmentDependency=False; Functions=Send-Email Write-CenterText Write-Exception Write-GraylogMessage Write-Message; requireLicenseAcceptance=False; packageSize=10899; updated=2025-09-10T13:10:01Z; ItemType=Module; copyright=(c) 2022-2025 Company. Tous droits r�serv�s.; releaseNotes=# Release Notes ## 2025.06.06 - Remove **BackgroundColor** in `Write-Message` function; NormalizedVersion=1.7.0; description=Message Module; PowerShellVersion=5.1; published=10/09/2025 12:19:21 +02:00; IsPrerelease=false; isAbsoluteLatestVersion=True; created=10/09/2025 12:19:21 +02:00; CompanyName=Company; tags=PSModule PSEdition_Desktop PSEdition_Core; SourceName=PSGallery; versionDownloadCount=2; lastUpdated=10/09/2025 13:10:01 +02:00; PackageManagementProvider=NuGet} ``` There are not property for latest version, or set to False. Property `isPrerelease` is a boolean with Gitea but a string with PSGallery, for example. I hope this will help.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14503