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

Packs not available for download with codeql #845

Closed
nicu1989 opened this issue Jan 24, 2025 · 3 comments
Closed

Packs not available for download with codeql #845

nicu1989 opened this issue Jan 24, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@nicu1989
Copy link

Describe the bug
I followed the user manual and tried to use codeql to download one of the already implemented queries pack but it seems its not available in ghcr.

To Reproduce
Steps to reproduce the behavior:

  1. Download CodeQL CLI 2.20.1
  2. Run: codeql pack download codeql/misra-c-coding-standards
  3. See error:

Image

Expected behavior
The pack to be downloaded and available in codeql cache as described in the user manual.

Screenshots
See the screenshot error.

Environment

  • CodeQL Coding Standards version: latest
  • CodeQL version: CodeQL CLI 2.20.1
  • Operating System: Ubuntu 24.04

Additional context
Same error if trying to download and install the any codeql-coding-standards via CLI or in a workflow.

@nicu1989 nicu1989 added the bug Something isn't working label Jan 24, 2025
@lcartey
Copy link
Collaborator

lcartey commented Jan 27, 2025

Hi @nicu1989!

Thanks for the report. Apologies for the inconsistencies here in our manual - we're still planning to publish these packs to the codeql org, but they haven't quite made it yet. We should get them published in the next couple of weeks.

In the meantime, we have published the packs to the advanced-security organization (which is also controlled by GitHub), so as a temporary workaround you can use advanced-security/misra-c-coding-standards or advanced-security/misra-cpp-coding-standards (see https://github.com/orgs/advanced-security/packages?tab=packages&q=coding-standards).

@nicu1989
Copy link
Author

Thanks Luke. I will close the ticket then.

@lcartey
Copy link
Collaborator

lcartey commented Jan 29, 2025

@nicu1989 fyi, the packs are now published to the codeql org. Do let us know if you have any problems!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants