Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[WIP] Experiment on getting GitHub Packages packages correct casing#1855

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
o-l-a-v wants to merge4 commits intoPowerShell:master
base:master
Choose a base branch
Loading
fromo-l-a-v:fix-1446-github-packages-lowercase

Conversation

@o-l-a-v
Copy link
Contributor

@o-l-a-vo-l-a-v commentedAug 11, 2025
edited
Loading

PR Summary

Just experimenting on getting correct casing of GitHub Packages packages.

Far from done, just an idea on how one could get correct casing on GitHub Packages NuGet v3 packages.

It builds, and I've tested it against NuGet organization packageNuGet.Internal.GithubIssueTagger:

PS>Save-PSResource-TrustRepository-Path ([System.Environment]::GetFolderPath('Desktop'))-Verbose-Repository'gh-nuget'-Name'NuGet.Internal.GithubIssueTagger'VERBOSE: Setting Secret Management network credentialsVERBOSE: credential successfully readfrom vault and setfor repository: gh-nugetVERBOSE: Attempting to searchfor packagesin'gh-nuget'VERBOSE: Performing the operation"Save-PSResource" on target"Package to save: 'nuget.internal.githubissuetagger', version: '2025.4.30'".VERBOSE: Performing the operation"Save-PSResource" on target"Package to install: 'nuget.internal.githubissuetagger', version: '2025.4.30'".VERBOSE: This resource is not a PowerShell package and will be installed to the modules path: .VERBOSE: pkgName:"nuget.internal.githubissuetagger", actual name of nuspec file:"NuGet.Internal.GithubIssueTagger.nuspec"VERBOSE: Installation source path is:'C:\Users\<redacted>\AppData\Local\Temp\fb55f6b9-3acb-445c-8b5b-3e14e3e57537\nuget.internal.githubissuetagger\2025.4.30'VERBOSE: Installation destination path is:'C:\Users\<redacted>\Desktop\nuget.internal.githubissuetagger\2025.4.30'VERBOSE: Attempting to move'C:\Users\<redacted>\AppData\Local\Temp\fb55f6b9-3acb-445c-8b5b-3e14e3e57537\nuget.internal.githubissuetagger\2025.4.30' to'C:\Users\<redacted>\Desktop\nuget.internal.githubissuetagger\2025.4.30'VERBOSE: Successfully installed package'nuget.internal.githubissuetagger' to location'C:\Users\<redacted>\Desktop'VERBOSE: Attempting to delete'C:\Users\<redacted>\AppData\Local\Temp\fb55f6b9-3acb-445c-8b5b-3e14e3e57537'VERBOSE: Successfully deleted'C:\Users\<redacted>\AppData\Local\Temp\fb55f6b9-3acb-445c-8b5b-3e14e3e57537'PS>

See verbose line about pckName vs actual name of nuspec file.

The API returns package ID as lowercase (see#1446 (comment)), so the idea is to extract the.nupkg and get info from its' content.

So, we can work around / mitigate / fix the casing of the install path this way, but the output fromFind-PSResource will be lowercase, because that's what the API returns.

PR Context

PR Checklist

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@anamnavianamnaviAwaiting requested review from anamnavianamnavi is a code owner

@alericksonalericksonAwaiting requested review from alericksonalerickson is a code owner

@adityapatwardhanadityapatwardhanAwaiting requested review from adityapatwardhanadityapatwardhan is a code owner

@SydneyhSmithSydneyhSmithAwaiting requested review from SydneyhSmithSydneyhSmith is a code owner

@shammu1shammu1Awaiting requested review from shammu1shammu1 will be requested when the pull request is marked ready for reviewshammu1 is a code owner

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@o-l-a-v

[8]ページ先頭

©2009-2025 Movatter.jp