You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7e7bf6e
Browse filesBrowse the repository at this point in the historyBrowse files
docs: add guide for adding a CodeQL data extension
Add a new "Adding a data extension" section to CONTRIBUTING.md covering
how to build a data-extension (MaD) pack: an explicit rule of thumb for
choosing between `ext` and `ext-library-sources` (sink/summary models
vs. remote-source models, and which languages have each), the MaD row
shape, the `manual/` vs `generated/` convention, the `extensionTargets`
version-pinning gotcha that causes silent zero-result failures on a
mismatched local CLI, and how data extensions get picked up automatically
by `codeql test run`.
Also tightens the pack-directory bullet in "Shipping a change to a
query/library pack" to correctly scope `ext-library-sources` to
csharp/java only (previously bundled with `ext`'s wider csharp/go/java/
python list), and links it to the new section.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: f02ef23b-e35d-4536-bd58-f2fbc2976ba9
Every query pack in this repository is compiled and tested against a specific, pinned version of the upstream CodeQL standard libraries (e.g. `codeql/java-all`). These queries are **only guaranteed to compile** against those exact library versions (see the latest release for the current versions): newer or older CodeQL CLI/library versions may rename or remove APIs the queries depend on (see [#151](https://github.com/GitHubSecurityLab/CodeQL-Community-Packs/pull/151) for an example, and [#145](https://github.com/GitHubSecurityLab/CodeQL-Community-Packs/issues/145) for the ongoing effort to refresh these pins).
@@ -197,8 +286,9 @@ merge. Bumping your pack's own `version:` in a regular PR just *stages* the chan
197
286
To ship a change:
198
287
199
288
-[ ] Make your change in the pack directory you intend to publish: `<language>/src` (queries),
200
-
`<language>/lib` (library), or `<language>/ext`/`<language>/ext-library-sources` (extensions,
0 commit comments