Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

detector/bitbucket: Remove support for hg URL schema #280

Merged
merged 1 commit into from
Sep 30, 2020

Conversation

nywilken
Copy link
Contributor

This change removes hg as a supported schema for the BitBucket detector as Mercurial enabled repositories are not longer supported by BitBucket.

Official announcement at https://bitbucket.org/blog/sunsetting-mercurial-support-in-bitbucket.

Test results before change

--- FAIL: TestHgGetter_DetectBitBucketDetector (0.52s)
    get_hg_test.go:157: err: unknown BitBucket SCM type:
--- FAIL: TestBitBucketDetector (0.61s)
    detect_bitbucket_test.go:51: err: unknown BitBucket SCM type:
FAIL
FAIL    github.com/hashicorp/go-getter/v2       6.240s

Test results after change

ok      github.com/hashicorp/go-getter/v2       6.102s

This change removes hg as a supported schema for the BitBucket detector as
Mercurial enabled repositories are not longer supported by BitBucket.

Official announcement at https://bitbucket.org/blog/sunsetting-mercurial-support-in-bitbucket.

Test results before change
```
--- FAIL: TestHgGetter_DetectBitBucketDetector (0.52s)
    get_hg_test.go:157: err: unknown BitBucket SCM type:
--- FAIL: TestBitBucketDetector (0.61s)
    detect_bitbucket_test.go:51: err: unknown BitBucket SCM type:
FAIL
FAIL    github.com/hashicorp/go-getter/v2       6.240s
```

Test results after change
```
ok      github.com/hashicorp/go-getter/v2       6.102s
```
@azr
Copy link
Contributor

azr commented Sep 30, 2020

Nice one !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants