Bitbucket Server ServiceID is not consistent with other sources
Created by: unknwon
- Sourcegraph version: all versions have Bitbucket Server as external source support
- Platform information: all platforms
Actual behavior:
The current ExternalRepo.ServiceID
produced by Bitbucket Server source is not a fully qualified URL:
which is not consistent with other sources:
- GitHub:
- GitLab:
All test cases under "cmd/repo-updaer/rpeos/bitbucketserver_test.go", TestBitbucketServerSource_MakeRepo
have similar issue.
Expected behavior:
Should be either http://bitbucket.example.com/
or https://bitbucket.example.com/
.
Reference
The ServiceID should be a fully qualified URL:
https://bitbucket.org/
Originally posted by @tsenart in https://github.com/_render_node/MDE3OlB1bGxSZXF1ZXN0UmV2aWV3MjU5MjkzODM0/pull_request_reviews/more_threads