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

Adding reports #3409

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

kineticsquid
Copy link
Contributor

Jupyter notebook reports and supporting scripts.

@kineticsquid
Copy link
Contributor Author

@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')
Copy link
Contributor

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)
Copy link
Contributor

@amvanbaren amvanbaren Feb 13, 2025

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
Copy link
Contributor

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)
Copy link
Contributor

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.

@amvanbaren
Copy link
Contributor

@kineticsquid Do you want to keep the output (tables, graphs, errors) in the Jupyter notebooks?

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.

2 participants