-
Notifications
You must be signed in to change notification settings - Fork 4
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use GitHub Packages NuGet Registry #30
Changes from all commits
33d7948
0cbbfb4
0d34295
d8c67d9
272e472
34091d1
d108f36
3a248ad
ab85f2d
3963161
c1c1484
916079e
7c198c4
4c35014
e20a641
7d51dd3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,13 @@ | |
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd"> | ||
<metadata> | ||
<id>libczicompressc</id> | ||
<version>0.5.2</version> | ||
<version>$token_version$</version> | ||
<title>Native runtimes for CZI ZStd compression</title> | ||
<authors>Carl Zeiss Microscopy</authors> | ||
<owners>Carl Zeiss Microscopy</owners> | ||
<description>Native runtimes for CZI ZStd compression</description> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<license type="expression">MIT</license> | ||
<projectUrl>https://github.com/zeissmicroscopy/czicompress/</projectUrl> | ||
<copyright>© Carl Zeiss Microscopy GmbH and others. All rights reserved.</copyright> | ||
<repository type="git" url="https://github.com/ZEISS/czicompress" branch="main" commit="40a2ba8489544626c2481ca95177b3235b5c0de7" /> | ||
<repository type="git" url="https://github.com/ZEISS/czicompress" commit="$token_commit$"/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do it like https://www.fuget.org/packages/Microsoft.CodeAnalysis.PublicApiAnalyzers/3.3.2, i.e. only specifying commit (and not branch) - mainly to avoid issues with "hierarchical" branch names and full refs (like origin/refs/heads/). On top, branches are only pointers - commits are enough. Background: NuGet/NuGetGallery#7537 |
||
</metadata> | ||
</package> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,33 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Since we are using a mix of different package sources we need to safeguard against dependency confusion attacks (be it intentional or unintentional)--> | ||
<!-- Issue: There is no deterministic order of package sources to be fetched (fastest wins) --> | ||
<!-- See: https://github.com/NuGet/Home/issues/5611 --> | ||
<!-- Solution: https://devblogs.microsoft.com/nuget/introducing-package-source-mapping/ --> | ||
<!-- More Info: https://learn.microsoft.com/en-us/nuget/concepts/security-best-practices --> | ||
<!-- More Info: https://devblogs.microsoft.com/nuget/quickly-map-your-nuget-packages-to-sources/ --> | ||
<!-- Required Tooling: Visual Studio 2022 preview 4 and later | .NET SDK 6.0.100-rc.1 and later | nuget.exe 6.0.0-preview.4 and later --> | ||
<configuration> | ||
<packageSources> | ||
<add key="Local" value="packages_local" /> | ||
</packageSources> | ||
<!-- `clear` ensures no additional sources are inherited from another config file. --> | ||
<packageSources> | ||
<clear /> | ||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" /> | ||
<add key="github_zeiss" value="https://nuget.pkg.github.com/ZEISS/index.json" /> | ||
</packageSources> | ||
<packageSourceCredentials> | ||
<github_zeiss> | ||
<add key="Username" value="%GITHUB_ZEISS_USERNAME%" /> | ||
<add key="ClearTextPassword" value="%GITHUB_ZEISS_PACKAGES_READ_PAT%" /> | ||
</github_zeiss> | ||
</packageSourceCredentials> | ||
<!-- Define mappings by adding package ID patterns beneath the target source. --> | ||
<!-- Any package not matching other specified patterns will be restored from nuget.org without throwing an error. --> | ||
<packageSourceMapping> | ||
<!-- key value for <packageSource> should match key values from <packageSources> element --> | ||
<packageSource key="nuget.org"> | ||
<package pattern="*" /> | ||
</packageSource> | ||
<packageSource key="github_zeiss"> | ||
<package pattern="libczicompressc" /> | ||
</packageSource> | ||
</packageSourceMapping> | ||
</configuration> |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
owners deprecated.