When trying to register a repo that is already existing, the visitor should also have the possibility to directly go to its info page.
This could either happen by the API immediately redirecting to the already existing info page, or by showing a link to it on `/register`.
Originally reported here: https://github.com/heremaps/oss-review-toolkit/issues/2176#issuecomment-581126341
florian.vuillemot
was assigned by max.mehl2020-12-04 10:25:37 +00:00
I meanwhile think that an automatic redirect is unexpected behaviour. Instead the link to the repo's info page should be in the ValidationError message.
I tried it quickly locally, but it seems that putting HTML code there directly does not work as it's encoded.
I meanwhile think that an automatic redirect is unexpected behaviour. Instead the link to the repo's info page should be in the ValidationError message.
I tried it quickly locally, but it seems that putting HTML code there directly does not work as it's encoded.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
When trying to register a repo that is already existing, the visitor should also have the possibility to directly go to its info page.
This could either happen by the API immediately redirecting to the already existing info page, or by showing a link to it on
/register.Originally reported here: https://github.com/heremaps/oss-review-toolkit/issues/2176#issuecomment-581126341
I meanwhile think that an automatic redirect is unexpected behaviour. Instead the link to the repo's info page should be in the ValidationError message.
I tried it quickly locally, but it seems that putting HTML code there directly does not work as it's encoded.
Closed by #47, thank you @florian.vuillemot !