Closed keithly closed 3 weeks ago
Thanks for raising this. I don't have a way to test hosted bitbucket instances currently so bear with me.
However based on the command you are using you'll need to use this flag --base-url=https://my.self.hosted.bitbucket.instance.com
Additionally, I'm going to merge a PR with a potential fix. Are you able to build the latest version off the main branch to test?
I looked more into this and the bitbucket library that is used does not support the bitbucket 1.0 api, which is the current implementation for the hosted version. So unfortunately this won't work until the api is updated.
Please check the following resources before opening an issue
Describe the bug
Providing a BitBucket PAT (now called HTTP Access Token) to the clone command
ghorg clone workspace -token=REDACTED
results in the error messageThe docs say not to provide a BitBucket username when using a token. If a username is provided, then ghorg clone fails with the error message about not having an app password set, as expected from the docs.
The BitBucket instance is self-hosted. ghorg is being run on Windows 10, but from within Git Bash. ghorg is v1.11.0
To Reproduce
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context Add any other context about the problem here.