Skip to content

Packs not available for download with codeql #845

Closed

Description

@nicu1989

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.

Activity

  1. lcartey commented on Jan 27, 2025

    @lcartey
    Contributor

    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).

  2. nicu1989 commented on Jan 27, 2025

    @nicu1989
    Author

    Thanks Luke. I will close the ticket then.

  3. lcartey commented on Jan 29, 2025

    @lcartey
    Contributor

    @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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions