Closed carcinocron closed 4 years ago
That repo doesn't exist. Did you mean Sija/raven.cr
?
It leads to a 404. Check with Sija/raven.cr
The mistake is relatively easy to spot, but it's still questionable if shards
should ask for passwords. The general idea should be that shards
works without any user input.
It's a pity that GitHub doesn't immediately respond that a repo wasn't found but asks for credentials instead.
To mitigate this, we could set GIT_ASKPASS
to false
It's a pity that GitHub doesn't immediately respond that a repo wasn't found but asks for credentials instead.
They do this to avoid disclosing if a repo exists at all when it's private. If everything returns 403, you can't tell if anything private exists at all.
Some private shards might need this password feature too, though i'd be fine with only supporting ssh keys for this.
I know why they're doing this and it's probably best for their use case. But for our's it would be better to tell whether a repo exists or not ;)
Some private shards might need this password feature
Yes. It shouldn't ask for passwords interactively, though. This would not work with remote installs.
At least not by default. I'm not too familiar with these git options, but I assume setting GIT_ASKPASS
to false
should be sufficient. In case you need this behaviour, you could still set it to something else (so shards should not override the value).
after adding: