reenhanced / gitreflow

Reflow automatically creates pull requests, ensures the code review is approved, and squash merges finished branches to master with a great commit message template.
MIT License
1.49k stars 64 forks source link

Bitbucket setup not working #186

Closed dskrvk closed 8 years ago

dskrvk commented 8 years ago

Our team uses Bitbucket, where we have a team account, but everyone pushes changes under their personal accounts, so we can see who did what. Is this use case supported?

I couldn't find any documentation on what "team-owned repos only" means, so this is what I tried:

Which service would you like to use for this project? 2 Please enter your BitBucket username: {team name here} Please enter your team's API key: {team API key} [error] Invalid API key for team {my personal BB username}

I also tried providing my personal username in the second step, with the same result.

codenamev commented 8 years ago

I'll look into this. We use our team to own all repos, and the last we used Bitbucket, their API only supported calls to a repository that was owned by a team to use keys generated for that team.

dskrvk commented 8 years ago

All our repos are team-owned as well. People authenticate using their private HTTP/SSH credentials though.

codenamev commented 8 years ago

Unfortunately this is not supported by Bitbucket 😞 . See Bitbucket Issue #10182 for the current problem and workaround that we've chosen, and #12186 to track the current status from Bitbucket.

dskrvk commented 8 years ago

So the use case that's currently supported is for all team members to use the team's credentials locally?

codenamev commented 8 years ago

Yes. User access tokens are not supported on Bitbucket, but team access tokens are.