.trigger
SWH popularity
Distinct files in the full Software Heritage archive (2026-06-04 export), dated by first appearance, following Desmazières, Di Cosmo, Lorentz (MSR 2025). Case-aggregated. citation.
Case variants in archive: .trigger (179.8K), .TRIGGER (48), .Trigger (27), .tRigger (1) — aggregated above.
Confirm or correct this extension
Existing claims are only secondary or weakly-attested. A confirmation (or correction) would strengthen the catalog. Vocabulary reference: docs/extension_labels.md.
What happens after I submit?
- A new GitHub issue is opened in this repo with your form contents
in a structured YAML block and the label
ext-review. Your GitHub login becomes the annotator; the issue'screated_atis the submission timestamp. - A curator script (
tools/process_extension_labels.py) fetches allext-reviewissues and writes their parsed contents intodata/derived/extension_labels.csvwithcurator_status="new". Until this script runs, your submission lives only as the GitHub issue. - Your submission shows up on the curator triage page
(/review/curator/)
under "new". Maintainers review the issue (comment, ask for
clarification, accept or reject) and edit
extension_labels.csvto setcurator_statustoaccepted. - For
pl/<id>labels,build_pl_taxonomy.pypromotes accepted labels intoext_claim.csvwithsource="manual_review:<your-login>"andstrength="proposed". The next site rebuild then shows your claim on this extension's page and on the language's page. - Friendly-name + reference-URL labels (e.g.
binary:imagefor.png) are not promoted intoext_claim.csv(they aren't PL claims) but are surfaced on this page's "Prior labels" table so anyone landing here sees them next to the auto-detected category.
In short: submitting opens an issue (provenance), and a small ingestion pipeline turns issues into rows the site renders. The loop is currently manual (the curator script must be run by a maintainer); GitHub Actions could automate it on each new issue.
Claimants (2)
.trigger among their extensions. Strength reflects whether the upstream source treated it as their primary extension.| Language | Source | Strength |
|---|---|---|
| Apex | linguist | secondary |
| Shell | linguist | secondary |
Disambiguation rules (1)
.trigger file actually is.| Rule | Predicts | Kind | Predicates (truncated) | Measured on SWH |
|---|---|---|---|---|
h/linguist/.trigger/0 | Apex | predicates | [{"kind": "any", "regexes": ["(?i)^[ \\t]*trigger\\s+[a-z_][a-z0-9_]*\\s+on\\s+[a-z_][a-z0-9_]*\\s*\\(\\s*(?:before|after)\\s+(?:insert|update|delete|undelete)\\b", "(?i)^[ \\t]*(?:public|global)\\s+( |
SWH-mined examples (0)
No archived examples for .trigger in our local mirror yet.