Your one-stop-cake-shop for everything Freshly Baked has to offer

feat(josh): always pull over http #24

merged opened by a.starrysky.fyi targeting main from private/minion/push-opwyllotpsmx

When we push, josh sometimes seems to pull before it pushes. That causes our SSH key to be used twice, triggering a double pin entry/etc. with a security key. That's mildly annoying...

Luckily, we should always be able to pull over http, so we can just use that for all pulls whether we're nominally using SSH or not!

Labels

None yet.

requested-reviewers

None yet.

approved

None yet.

tested-working

None yet.

rejected

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:uuyqs6y3pwtbteet4swt5i5y/sh.tangled.repo.pull/3lz5exzf2fp22
+2 -1
Diff #0
+2 -1
packetmix/systems/teal/josh.nix
··· 22 22 url_config = repo: '' 23 23 [url "https://tangled.org/@freshlybakedca.ke/${repo}"] 24 24 insteadOf = "https://tangled.org/@freshlybakedca.ke/${repo}.git" 25 + insteadOf = "ssh://git@tangled.org/freshlybakedca.ke/${repo}.git" 25 26 26 27 [url "ssh://git@tangled.org/freshlybakedca.ke/${repo}"] 27 - insteadOf = "ssh://git@tangled.org/freshlybakedca.ke/${repo}.git" 28 + pushInsteadOf = "ssh://git@tangled.org/freshlybakedca.ke/${repo}.git" 28 29 ''; 29 30 # ^^ Tangled doesn't support cloning from .git URLs, so we have to not have .git at the end of our repos 30 31 # ^^ Additionally, we can only push to Tangled over SSH, not HTTP

History

1 round 0 comments
sign up or login to add to the discussion
a.starrysky.fyi submitted #0
1 commit
expand
feat(josh): always pull over http
expand 0 comments
pull request successfully merged