scala-steward
scala-steward copied to clipboard
Bitbucket repository name is malformatted in URL
I have Bitbucket repository which has spaces in it's name. This is not problem for any other tool, for example Renovate, Circle CI etc.
In repos.md I have listed
workspacename/repo-name-that-contains-spaces
But on Docker log I see
2024-03-10 11:56:10,601 ERROR Steward workspacename/repo-name-that-contains-spaces failed
steward | org.scalasteward.core.util.UnexpectedResponse: uri: https://api.bitbucket.org/2.0/repositories/workspacename/Repo%20Name%20That%20Contains%20Spaces/refs/branches/main
Either use the user submitted repo name, use full_name
from repo response https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-repo-slug-get, or use the correct api url from the links section from the response.