weaveworks-experiments / compare-revisions

Experimental thing for comparing what's on k8s clusters
Apache License 2.0
0 stars 0 forks source link

git prompts for username if no credentials given #4

Open jml opened 7 years ago

jml commented 7 years ago

This is hilari-bad. Fix it.

jml commented 7 years ago

Actually, on k8s (and presumably things with no tty), it generates this error:

GitProcessError "git clone --mirror 'https://github.com/weaveworks/service-conf.git' /data/compare-revisions/repositories/repos/67a0fb317fa7292dbfe1a41be9d6f0fc3f7ba932602dcceb72e717780ffb6395-service-conf.git" 128 "" "Cloning into bare repository '/data/compare-revisions/repositories/repos/67a0fb317fa7292dbfe1a41be9d6f0fc3f7ba932602dcceb72e717780ffb6395-service-conf.git'...\nfatal: could not read Username for 'https://github.com': No such device or address\n" Nothing