diff options
author | Teddy Wing | 2022-06-04 05:25:48 +0200 |
---|---|---|
committer | Teddy Wing | 2022-06-04 14:10:55 +0200 |
commit | af1c2811362a603f8878d75590eda3e439665786 (patch) | |
tree | fb455f394de7c798080179621dafd95de671f770 /README.md | |
parent | b8a188e19e7ec0ae381c18a5a4db86fb576bf95a (diff) | |
download | reflectub-make-errors-more-traceable.tar.bz2 |
github::Repo: Change `git_url` to `clone_url`make-errors-more-traceable
I was getting errors mirroring and updating:
failed to connect to github.com: Connection timed out; class=Os (2)
and
remote 'origin' already exists; class=Config (7); code=Exists(-4)
It turns out that the `git_url` field, which I had been using previously
to mirror and clone repositories, was changed from an "https://" URL to
a "git://" URL. Since Reflectub is not authorised to clone any GitHub
"git://" URLs, the connection timed out.
The URL change seems to have happened around March 2022, or at least
between December 2021 and April 2022.
The second error was caused by a previously-created repository existing
in the filesystem, but not being in the database as it hadn't been
correctly mirrored. For now, I've decided not to fix that problem and am
only fixing the URL issue.
The GitHub API also includes a `clone_url` field, which contains the
HTTPS clone URL. This fixes the timeout problem.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions