github / github/codeql

Where do library customization data extension YAML files go, and how can we actually develop and use them?

Ouverte
#21,174 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
question
Langage dominant
CodeQL
Étoiles
10.1k
Forks
2.1k
Merge moyen
2 j 15 h
PR mergées (30 j)
141

Description

The documentation for library customisation / data extensions describes the structure of the YAML files, but I cannot see any documentation on where these files should be placed, or how they can be invoked (or debugged) using CodeQL CLI or the vscode extension.

Some of the documentation implies that these YAML files are intended to be built into query packs and are loaded that way, but I didn't see any examples on how this is actually done in practice, nor any that explained how to develop and test the extensions before packing them.

Could someone provide some insight into this, and potentially update the documentation to include an example of a practical development flow using this feature? I know this feature is in beta, so the docs aren't 100% there yet, but a practical example would go a long way towards getting folks hands-on with it. Thanks.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start with the existing library customization and data extension documentation, then trace the query pack guidance and the CodeQL CLI and VS Code workflows mentioned in the issue. Add a practical example covering file placement, development, testing, invocation, and debugging; done means a newcomer can follow the flow before and after packing the extension.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
vscode, yaml
Domaine
documentation
Type d'issue
Documentation
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
58/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.