Title: Find a way to merge hub and code credential storage · Issue #19 · coderly/code · GitHub
Open Graph Title: Find a way to merge hub and code credential storage · Issue #19 · coderly/code
X Title: Find a way to merge hub and code credential storage · Issue #19 · coderly/code
Description: Currently, the hub command line tool which code uses internally in some cases has its own credential storage under ~/.config/hub. The code gem itself stores its own set of credentials (just the oauth token) inside the global git configur...
Open Graph Description: Currently, the hub command line tool which code uses internally in some cases has its own credential storage under ~/.config/hub. The code gem itself stores its own set of credentials (just the oau...
X Description: Currently, the hub command line tool which code uses internally in some cases has its own credential storage under ~/.config/hub. The code gem itself stores its own set of credentials (just the oau...
Opengraph URL: https://github.com/coderly/code/issues/19
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Find a way to merge hub and code credential storage","articleBody":"Currently, the `hub` command line tool which `code` uses internally in some cases has its own credential storage under `~/.config/hub`.\n\nThe `code` gem itself stores its own set of credentials (just the oauth token) inside the global git configuration file (`~/.gitconfig`).\n\nThe problem is the publish command. It first uses the API to check if there are open PRs for the current branch. Then it uses hub to create a PR. \n\nOn a fresh system, the result of that would be that the user is asked for their credentials twice, first once by the API, then once by hub.\n\nIdeally, we would have one set of stored credentials.\n\nIf we intend to stick with using hub internally, we should be accessing hub credentials. They are stored in plaintext and easily readable.\n\nIf we intend to not rely on hub at some point, then we should somehow provide hub with the code-stored set of credentials, if that's possible.\n\nI think the first choice (assume we will keep using hub) is prefered.\n","author":{"url":"https://github.com/begedin","@type":"Person","name":"begedin"},"datePublished":"2015-07-21T09:35:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/19/code/issues/19"}
| 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:de9a4129-a066-3f21-0671-329e19e6074c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CB22:11A589:1296B0:18FB9A:698F1D68 |
| html-safe-nonce | 22d224c2a24a7ad532fea3e4be6ed1a1672669ee53c5dbd421154c92e46e99d6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjIyOjExQTU4OToxMjk2QjA6MThGQjlBOjY5OEYxRDY4IiwidmlzaXRvcl9pZCI6Ijc5NjQ1MDM3Nzg5Mzg4MTM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 02dd8dadb834c399b5fdb5eeb8708c700317ed82a450495bc3904c635c0a5f25 |
| hovercard-subject-tag | issue:96272229 |
| 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/coderly/code/19/issue_layout |
| twitter:image | https://opengraph.githubassets.com/38819ca029b28d1fb39339ff8189c21dd3d9daf7fe1b0d8544d133025735fa5b/coderly/code/issues/19 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/38819ca029b28d1fb39339ff8189c21dd3d9daf7fe1b0d8544d133025735fa5b/coderly/code/issues/19 |
| og:image:alt | Currently, the hub command line tool which code uses internally in some cases has its own credential storage under ~/.config/hub. The code gem itself stores its own set of credentials (just the oau... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | begedin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6102991c714c1a6a27d05fb4f96ea6ca87a6750b4f093b95cc57ed1b84b145a1 |
| turbo-cache-control | no-preview |
| go-import | github.com/coderly/code git https://github.com/coderly/code.git |
| octolytics-dimension-user_id | 2837781 |
| octolytics-dimension-user_login | coderly |
| octolytics-dimension-repository_id | 12915119 |
| octolytics-dimension-repository_nwo | coderly/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 12915119 |
| octolytics-dimension-repository_network_root_nwo | coderly/code |
| 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 | 1f991dff419ee6d80807c889c647c151386ba074 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width