-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Adding reports #3409
base: main
Are you sure you want to change the base?
Adding reports #3409
Conversation
@amvanbaren @filiptronicek Could you take a look at this? |
for ext in extensions: | ||
if ext['extensionName'] == '999-pse-alpine': | ||
# sandy081.999-pse-alpine | ||
print('here') |
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.
This is a debug statement?
print('here') | ||
print("%s.%s" % (ext['publisher']['publisherName'], ext['extensionName'])) | ||
ms_extensionName, ms_publisherName, ms_displayname, ms_latest_version, ms_last_updated, ms_repo, ms_pricing = get_ms_info(ext) | ||
vsx_extension_url = '%s/%s/%s?token=%s' % (VSX_API, ms_publisherName, ms_extensionName, VSX_ACCESS_TOKEN) |
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.
https://open-vsx.org/api/{namespace}/{extension}
is a public API endpoint. You don't need a token.
JSON_FILENAME = 'extensions.json' | ||
TSV_FILENAME = 'extensions.tsv' | ||
|
||
url = API_ENDPOINT + 'api/-/search?size=100&token=%s' % ACCESS_TOKEN |
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.
The search endpoint is public. You don't need a token.
all_extensions = [] | ||
print("\n\nStarting: %s" % datetime.now()) | ||
for extension in extensions: | ||
namespace_url = API_ENDPOINT + 'api/%s/%s?token=%s' % (extension['namespace'], extension['name'], ACCESS_TOKEN) |
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.
The extension endpoint is public. You don't need a token.
@kineticsquid Do you want to keep the output (tables, graphs, errors) in the Jupyter notebooks? |
Jupyter notebook reports and supporting scripts.