Skip to content
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

Implement the purl spec #2

Merged
merged 8 commits into from
Jun 4, 2018
Merged

Implement the purl spec #2

merged 8 commits into from
Jun 4, 2018

Conversation

am11
Copy link
Collaborator

@am11 am11 commented Apr 23, 2018

  • Sources are kept close to Java implementation.
  • xUnit test framework used
  • Test suite data is copied to :/tests/TestAssets/test-suite-data.json, from (https://github.com/raw/package-url/purl-spec/9-use-pkg-scheme/test-suite-data.json)
    • We can improve it to download as a pre-build step, if required
  • Travis and AppVeyor CI added (requires admin to sign in to Travis and AppVeyor and add packageurl-dotnet projects to gallery)
  • README with usage and MIT license file added

To publish to nuget, admin would require to login to https://nuget.org, create an API key, then execute:

cd packageurl-dotnet

dotnet pack --configuration Release /p:Version=1.0.3          # 1.0.3 is example version

dotnet nuget push packageurl-dotnet/src/bin/Release/PackageUrl.*.nupkg    \
  --source https://api.nuget.org/v3/index.json                            \
  --api-key <API-Key>

Closes #1

@pombredanne
Copy link
Member

@am11 Thanks ++ for this. I am not too savvy about C# but I can merge this alright

@pombredanne pombredanne merged commit aa585a3 into package-url:master Jun 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement the purl spec for .Net
2 participants