-
Notifications
You must be signed in to change notification settings - Fork 167
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
[Feature] Get the checksum of the VSIX file from the API #678
Conversation
@ShamrockLee Do you need a file with just the hash or a file in the sha256sum format? |
@amvanbaren The hash is all I need. BTW, how would user get the hash when this PR gets merged? |
The checksum file is part of the You can also directly get the checksum file: |
Sounds great! It would be even better to mark the hash output in a per-algorithm manner, such as |
@ShamrockLee do you have time to test this PR? |
@amvanbaren How do I test this? (Sorry for being n00b.) I'll try it this weekend. |
I've updated the testing steps. Hope that helps. |
Tested, and It works. BTW, the GitPot test setup you provide seems to default to platform |
Great! Thank you for testing.
You mean the |
Yes. By saying "the universal is not available", I mean that |
Ok, that's how the |
So, IIUC, you don't have the |
The test setup only has a limited amount of packages. They can be found here: https://github.com/eclipse/openvsx/blob/master/server/test-extensions.gradle |
9308af4
to
d5f1035
Compare
Fixes #311
Testing steps
publisher
terminal window has published all test extensions it is done.https://8080-{GITPOD_WORKSPACE_ID}.gitpod.io/api/{NAMESPACE}/{EXTENSION}/{VERSION}
. You can get namespace, extension, version info from thepublisher
terminal window. GITPOD_WORKSPACE_ID you can find in the browser location bar.files.sha256
.https://8080-{GITPOD_WORKSPACE_ID}.gitpod.io/api/{NAMESPACE}/{EXTENSION}/{VERSION}/file/sha256