I observed that the extension attempted to open gerrit url instead of github for openstack repositories even if git config --get remote.origin.url does clearly report a GitHub url:
I guess that the extension use another way to determine the provider.
I suppose that this was caused by the fact that current branch was using remote = gerrit and it decided to open it using gerrit, and failed ugly trying to open an invalid url like https://review.openstack.org:29418/openstack-infra/tripleo-ci/blob/708f9c87f4c4529fb2963c3dbd9a4ea2bae9deb2/playbooks/tripleo-ci/templates/oooq_common_functions.sh.j2#L113
Gerrit remote is configured automatically by git-review, and clearly is not something that "open-in-github" should ever attempt to use.
Most likely all local branches would point to . or gerrit remotes as that's how we push the code. Still the origin branch is safe to use for establishing the GitHub repository location.
I observed that the extension attempted to open gerrit url instead of github for openstack repositories even if
git config --get remote.origin.url
does clearly report a GitHub url:I guess that the extension use another way to determine the provider.
I suppose that this was caused by the fact that current branch was using
remote = gerrit
and it decided to open it using gerrit, and failed ugly trying to open an invalid url likehttps://review.openstack.org:29418/openstack-infra/tripleo-ci/blob/708f9c87f4c4529fb2963c3dbd9a4ea2bae9deb2/playbooks/tripleo-ci/templates/oooq_common_functions.sh.j2#L113
From .git/config
Gerrit remote is configured automatically by git-review, and clearly is not something that "open-in-github" should ever attempt to use.
Most likely all local branches would point to
.
orgerrit
remotes as that's how we push the code. Still theorigin
branch is safe to use for establishing the GitHub repository location.Can we sort this out?