Title: Create a 'download' language for fetching pre-built binaries · Issue #1453 · pre-commit/pre-commit · GitHub
Open Graph Title: Create a 'download' language for fetching pre-built binaries · Issue #1453 · pre-commit/pre-commit
X Title: Create a 'download' language for fetching pre-built binaries · Issue #1453 · pre-commit/pre-commit
Description: I'm aware of the requirement that additional dependencies for system hooks - the 'escape hatch' for hooks that don't fit into the python/node/go etc. managed environments list, such as shellcheck, must be installed outside of pre-commit ...
Open Graph Description: I'm aware of the requirement that additional dependencies for system hooks - the 'escape hatch' for hooks that don't fit into the python/node/go etc. managed environments list, such as shellcheck, ...
X Description: I'm aware of the requirement that additional dependencies for system hooks - the 'escape hatch' for hooks that don't fit into the python/node/go etc. managed environments list, such...
Opengraph URL: https://github.com/pre-commit/pre-commit/issues/1453
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Create a 'download' language for fetching pre-built binaries","articleBody":"I'm aware of the requirement that additional dependencies for system hooks - the 'escape hatch' for hooks that don't fit into the python/node/go etc. managed environments list, such as shellcheck, must be installed outside of pre-commit in order to work.\n\nAlso aware of the python module that can be used to 'mirror' shellcheck in particular, though that feels a little hacky.\n\nI'm sure you've given this thought before, and there's a very good reason why this hasn't been done, but, is it conceivable, with a PR I'd be willing to write, that additional dependencies could be supported for non-python etc. hooks?\n\nI'm thinking along the lines of being able to specify a URL to a ZIP, which pre-commit would `wget` into its cache directory, storing a checksum so it could 'manage' when to re-download it, and then adding the directory to the front of `$PATH` when running the hook.\n\nI'm sure it's not possible, but would be keen to know why, as there are a few hooks I use that this applies too and would feel like a useful addition for others.","author":{"url":"https://github.com/marcjay","@type":"Person","name":"marcjay"},"datePublished":"2020-05-12T18:14:17Z","url":"https://github.com/pre-commit/pre-commit/issues/1453"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9b894d8f-3069-2d3c-b531-b38b65c3fae3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AAC6:2EB1F3:17531:1FBC5:6B066251 |
| html-safe-nonce | 1735eed7e58ca0e0fd7d697e3a228e0063692e058742ac8f6f9865b4911fe78a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUM2OjJFQjFGMzoxNzUzMToxRkJDNTo2QjA2NjI1MSIsInZpc2l0b3JfaWQiOiI4Njc5ODAyMDMzMjEwOTA2NDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 334bf4471aa76e757058a33527b920c2409101788c683d88da7dc48b0cfdc6fe |
| hovercard-subject-tag | issue:616858821 |
| github-keyboard-shortcuts | repository,issues,commits,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pre-commit/pre-commit/1453/issue_layout |
| twitter:image | https://opengraph.githubassets.com/276601ae4415824c2c8cf0a9e0e1842bf5f1bd4ca64c440addb623bd5edde943/pre-commit/pre-commit/issues/1453 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/276601ae4415824c2c8cf0a9e0e1842bf5f1bd4ca64c440addb623bd5edde943/pre-commit/pre-commit/issues/1453 |
| og:image:alt | I'm aware of the requirement that additional dependencies for system hooks - the 'escape hatch' for hooks that don't fit into the python/node/go etc. managed environments list, such as shellcheck, ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | marcjay |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6324e6ac990fb6befbec840cc0e102a1071c339bfe8f9826bb12de2e3ba1d297 |
| turbo-cache-control | no-preview |
| go-import | github.com/pre-commit/pre-commit git https://github.com/pre-commit/pre-commit.git |
| octolytics-dimension-user_id | 6943086 |
| octolytics-dimension-user_login | pre-commit |
| octolytics-dimension-repository_id | 17689377 |
| octolytics-dimension-repository_nwo | pre-commit/pre-commit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 17689377 |
| octolytics-dimension-repository_network_root_nwo | pre-commit/pre-commit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7f0aa75f4141d440c6110dc31af7ea7797abb6c4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width