Title: Better respect pre-commit repos by using pipeweld to insert pre-commit hooks · Issue #150 · usethis-python/usethis-python · GitHub
Open Graph Title: Better respect pre-commit repos by using pipeweld to insert pre-commit hooks · Issue #150 · usethis-python/usethis-python
X Title: Better respect pre-commit repos by using pipeweld to insert pre-commit hooks · Issue #150 · usethis-python/usethis-python
Description: Motivation At the moment, we basically ignore pre-commit repos per se, and treat them as a list of hooks. But if a repo has multiple hooks and the one we are inserting is a precedent for the one in the repo, this we would ideally break u...
Open Graph Description: Motivation At the moment, we basically ignore pre-commit repos per se, and treat them as a list of hooks. But if a repo has multiple hooks and the one we are inserting is a precedent for the one in...
X Description: Motivation At the moment, we basically ignore pre-commit repos per se, and treat them as a list of hooks. But if a repo has multiple hooks and the one we are inserting is a precedent for the one in...
Opengraph URL: https://github.com/usethis-python/usethis-python/issues/150
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Better respect pre-commit repos by using pipeweld to insert pre-commit hooks","articleBody":"**Motivation**\r\nAt the moment, we basically ignore pre-commit repos per se, and treat them as a list of hooks. But if a repo has multiple hooks and the one we are inserting is a precedent for the one in the repo, this we would ideally break up the repo to respect the dependency relationship. (Note that the dependencies are not necessarily in place to enforce a logic as much to enforce a canonical sort order so this isn't particularly important).\r\n\r\nThis is very similar, in principle to the idea of stages in Bitbucket pipelines, as mentioned in #149. The pipeweld utility is designed to handle these sorts of situations, which is being developed as a part of #54.\r\n\r\nSupporting repos would also decrease duplication since all local hooks are compatible and can potentially share the same repo, simplifying things. The notion of \"compatible config groups\" in pipeweld would reflect this.\r\n\r\n**Summary of desired enhancement**\r\nUse pipeweld as the solver to decide how to insert new pre-commit hooks, as a way to support the notion of pre-commit repos\r\n","author":{"url":"https://github.com/nathanjmcdougall","@type":"Person","name":"nathanjmcdougall"},"datePublished":"2025-01-07T19:15:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/150/usethis-python/issues/150"}
| 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:ef4837bf-0677-b9c4-3b25-4613d936e301 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C66A:C8AE2:12ED011:1A67C91:6A4EA122 |
| html-safe-nonce | db1893d796ebf7fd4c36cebb6ace7d568a93da8ebb8dd906f88c56fe29346581 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjZBOkM4QUUyOjEyRUQwMTE6MUE2N0M5MTo2QTRFQTEyMiIsInZpc2l0b3JfaWQiOiI1Njg0NzI4NzA1MTM5NTE1NjgyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 04df2ea7649c8a2c88e7e6ee4967a11e54b5ae6bd171f79256b56aec9f261790 |
| hovercard-subject-tag | issue:2773558239 |
| github-keyboard-shortcuts | repository,issues,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/usethis-python/usethis-python/150/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6e373ea28a0feef9c16fd4e53399fafef69799c7c26c3afa7faf2dcbabf69a6a/usethis-python/usethis-python/issues/150 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6e373ea28a0feef9c16fd4e53399fafef69799c7c26c3afa7faf2dcbabf69a6a/usethis-python/usethis-python/issues/150 |
| og:image:alt | Motivation At the moment, we basically ignore pre-commit repos per se, and treat them as a list of hooks. But if a repo has multiple hooks and the one we are inserting is a precedent for the one in... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nathanjmcdougall |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| go-import | github.com/usethis-python/usethis-python git https://github.com/usethis-python/usethis-python.git |
| octolytics-dimension-user_id | 216362695 |
| octolytics-dimension-user_login | usethis-python |
| octolytics-dimension-repository_id | 842189705 |
| octolytics-dimension-repository_nwo | usethis-python/usethis-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 842189705 |
| octolytics-dimension-repository_network_root_nwo | usethis-python/usethis-python |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width