Background
When attempting to add a new token to the IFP channel, I added a new repo with the same org_name and repo_name as a previously existing entry. The capitalization of the org name was different, but that was all (eg InFieldPro/infield_pro vs infieldpro/infield_pro). This caused Slax to stop working in the channel.
Need to prevent adding two repos with the same name, possibly only if they have the same project ID, but this should be tested, as I'm not sure the project ID is being used anymore?
Steps to reproduce:
- Using /token, add or find a repo with an expired or invalid token.
- Using /token, add another new repo with the same org/repo_name with a valid token.
- Slax stops responding to requests for that org/repo_name.
Scenario: receive an error when adding a new repo with the same name
Background
When attempting to add a new token to the IFP channel, I added a new repo with the same org_name and repo_name as a previously existing entry. The capitalization of the org name was different, but that was all (eg InFieldPro/infield_pro vs infieldpro/infield_pro). This caused Slax to stop working in the channel.
Need to prevent adding two repos with the same name, possibly only if they have the same project ID, but this should be tested, as I'm not sure the project ID is being used anymore?
Steps to reproduce:
Scenario: receive an error when adding a new repo with the same name