Title: Prevent non-source files from being added into source-only directories · Issue #118189 · python/cpython · GitHub
Open Graph Title: Prevent non-source files from being added into source-only directories · Issue #118189 · python/cpython
X Title: Prevent non-source files from being added into source-only directories · Issue #118189 · python/cpython
Description: Feature or enhancement Proposal: gh-118159 accidentally added Include/incl.tar with a full copy of Include. Since this addition fell through the cracks, we need to help both contributors and triagers by .gitignore-ing non-source files in...
Open Graph Description: Feature or enhancement Proposal: gh-118159 accidentally added Include/incl.tar with a full copy of Include. Since this addition fell through the cracks, we need to help both contributors and triage...
X Description: Feature or enhancement Proposal: gh-118159 accidentally added Include/incl.tar with a full copy of Include. Since this addition fell through the cracks, we need to help both contributors and triage...
Opengraph URL: https://github.com/python/cpython/issues/118189
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Prevent non-source files from being added into source-only directories","articleBody":"# Feature or enhancement\n\n### Proposal:\n\ngh-118159 accidentally added `Include/incl.tar` with a full copy of `Include`. Since this addition fell through the cracks, we need to help both contributors and triagers by `.gitignore`-ing non-source files in the most edited directories:\n\n- anything different from `*.h` in `Include`\n- anything different from `*.py` in `Lib` (except `Lib/test` where code is bundled with test data)\n\n`Modules` and `Objects` require more complex rules so I skipped them. However, it'll be great if anyone defines and adds them.\n\n### Has this already been discussed elsewhere?\n\nNo response given\n\n### Links to previous discussion of this feature:\n\n_No response_\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-118190\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/arhadthedev","@type":"Person","name":"arhadthedev"},"datePublished":"2024-04-23T17:10:47Z","url":"https://github.com/python/cpython/issues/118189"}
| 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:f80f3e58-ef1a-84dc-c5ca-f735c3fc707a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC22:2E124E:389CC11:4854C4C:6B020238 |
| html-safe-nonce | 9121fc3d30384d441ca8f80602c963cad6e1c0167de2589fe05386930cb1aac7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzIyOjJFMTI0RTozODlDQzExOjQ4NTRDNEM6NkIwMjAyMzgiLCJ2aXNpdG9yX2lkIjoiODIwNDQzNTEyNjkyMzQyODQwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1551199ebe7be97ff1127ecbdfbf5dfe8706ed52bbf6df27bdcfee75b828b9f7 |
| hovercard-subject-tag | issue:2259368636 |
| 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/python/cpython/118189/issue_layout |
| twitter:image | https://opengraph.githubassets.com/15432c75497dc31a6505f1f27a0b4a7712222d503afeffd0def86c5bf75b9e49/python/cpython/issues/118189 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/15432c75497dc31a6505f1f27a0b4a7712222d503afeffd0def86c5bf75b9e49/python/cpython/issues/118189 |
| og:image:alt | Feature or enhancement Proposal: gh-118159 accidentally added Include/incl.tar with a full copy of Include. Since this addition fell through the cracks, we need to help both contributors and triage... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | arhadthedev |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width