Title: issue: allow configurable default or default to current repo origin · Issue #4 · rsc/github · GitHub
Open Graph Title: issue: allow configurable default or default to current repo origin · Issue #4 · rsc/github
X Title: issue: allow configurable default or default to current repo origin · Issue #4 · rsc/github
Description: Currently, issue defaults to the golang/go repo and there exists no way to change this. This means those using issue and not working on that repo must frequently supply a -p user/repo. I think it would be nice if issue was a little "smar...
Open Graph Description: Currently, issue defaults to the golang/go repo and there exists no way to change this. This means those using issue and not working on that repo must frequently supply a -p user/repo. I think it w...
X Description: Currently, issue defaults to the golang/go repo and there exists no way to change this. This means those using issue and not working on that repo must frequently supply a -p user/repo. I think it w...
Opengraph URL: https://github.com/rsc/github/issues/4
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"issue: allow configurable default or default to current repo origin","articleBody":"Currently, issue defaults to the golang/go repo and there exists no way to change this. This means those using issue and not working on that repo must frequently supply a `-p user/repo`. I think it would be nice if issue was a little \"smarter\" about the repo I'm interested in and so I propose adding smarter defaults using the following rules, each overriding the next:\r\n\r\n* issue commands use `-p` if supplied\r\n* issue commands default to `git config github.issue.repo.always` if supplied\r\n* issue commands default to the `origin` repo if supplied *and* its host is github\r\n* issue commands default to `git config github.issue.repo` if supplied\r\n* issue commands default to `golang/go` if none of the above are satisfied.\r\n\r\nI'm not married to the git config names.","author":{"url":"https://github.com/bmizerany","@type":"Person","name":"bmizerany"},"datePublished":"2017-01-31T17:31:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/4/github/issues/4"}
| 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:eb215e4e-f2eb-54d6-6778-2fabb2f645ea |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AAA6:37C55D:74E3290:97140A1:697E4F95 |
| html-safe-nonce | 5753c32939bbc71b00db31a58caee29284adeaa64ab8fefa3bd0060c50e711bf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUE2OjM3QzU1RDo3NEUzMjkwOjk3MTQwQTE6Njk3RTRGOTUiLCJ2aXNpdG9yX2lkIjoiNjQzNDg4MjA3NTIyODAwMDE0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d502db263082c5fad06b6cb21b01e5fef326f2641937a93453f59d9f613351f2 |
| hovercard-subject-tag | issue:204367026 |
| 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/rsc/github/4/issue_layout |
| twitter:image | https://opengraph.githubassets.com/47bc52dd537089be83a5fe2d68e4a751861f96de8300a50cddcf1df15fcf12b9/rsc/github/issues/4 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/47bc52dd537089be83a5fe2d68e4a751861f96de8300a50cddcf1df15fcf12b9/rsc/github/issues/4 |
| og:image:alt | Currently, issue defaults to the golang/go repo and there exists no way to change this. This means those using issue and not working on that repo must frequently supply a -p user/repo. I think it w... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bmizerany |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/rsc/github git https://github.com/rsc/github.git |
| octolytics-dimension-user_id | 104030 |
| octolytics-dimension-user_login | rsc |
| octolytics-dimension-repository_id | 28950855 |
| octolytics-dimension-repository_nwo | rsc/github |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 28950855 |
| octolytics-dimension-repository_network_root_nwo | rsc/github |
| 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 | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width