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

"Show all ESP-IDF tags" not working (VSC-1354) #1193

Closed
1 task done
gonzabrusco opened this issue May 18, 2024 · 3 comments · Fixed by #1196
Closed
1 task done

"Show all ESP-IDF tags" not working (VSC-1354) #1193

gonzabrusco opened this issue May 18, 2024 · 3 comments · Fixed by #1196
Labels
bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)

Comments

@gonzabrusco
Copy link
Contributor

OS

Windows

Operating System version

Windows 11

Visual Studio Code version

1.89.1 (latest)

ESP-IDF version

4.4.4

Python version

Latest

Doctor command output

No applicable

Extension

No response

Description

When trying to configure the IDF extension, when I mark the option "Show all ESP-IDF tags" it does not update the list of available IDF versions to install. I want to install version 4.4.4 but it does not show in the list.

Debug Message

No applicable

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@gonzabrusco gonzabrusco added the bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue) label May 18, 2024
@github-actions github-actions bot changed the title "Show all ESP-IDF tags" not working "Show all ESP-IDF tags" not working (VSC-1354) May 18, 2024
@gonzabrusco
Copy link
Contributor Author

image

@brianignacio5
Copy link
Collaborator

I'm not sure why but GitHub api https://api.github.com/repos/espressif/esp-idf/tags just show these tags.

@gonzabrusco
Copy link
Contributor Author

gonzabrusco commented May 21, 2024

I've found the problem @brianignacio5

Github is limiting the amount of entries per request. You have to specify if you need more (per_page query).

For example:
https://api.github.com/repos/espressif/esp-idf/tags?per_page=100

That will respond with all the tags (if they are less than 100).

Doc:
https://docs.github.com/es/rest/using-the-rest-api/using-pagination-in-the-rest-api?apiVersion=2022-11-28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants