Closed brajjan closed 1 year ago
Issue-Label Bot is automatically applying the label bug
to this issue, with a confidence of 0.85. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Thanks for opening this issue! We have not tested/do not currently have support for GitLab packages, but will ensure we update PowerShellGet to work with this source.
FWIW @brajjan, I'm unable to replicate this in my environment. Here are the details:
GitLab version: 15.6.0-ee
$PSVersionTable:
Name Value
---- -----
PSVersion 7.3.1
PSEdition Core
GitCommitId 7.3.1
OS Microsoft Windows 10.0.25267
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Get-PSResourceRepository:
Name Uri Trusted Priority
---- --- ------- --------
PSGallery https://www.powershellgallery.com/api/v2 False 1
GitLab https://mygitlab.domain.com/api/v4/projects/406/packages/nuget/index.json True 50
Get-PackageSource (note, there's no source for GitLab here):
Name ProviderName IsTrusted Location
---- ------------ --------- --------
MyNuGet NuGet False https://www.nuget.org/api/v2
Find-PSResource -Name TagTest -Repository GitLab -Credential $Credential:
Name Version Prerelease Repository Description
---- ------- ---------- ---------- -----------
TagTest 1.0.49.0 GitLab
The installation (Install-PSResource -Name TagTest -Repository GitLab -Credential $Credentials
) works fine.
If it's not still an issue for you, perhaps this case can be closed.
This should be resolved with the latest changes to v3 repositories. Our next release (beta23) will have further support for GitLab repos.
Trying to install powershell module located on gitlab packages source