Skip to content

Gitpod browser plugin - Bitbucket branch detection problem #5380

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

Closed
adampapl opened this issue Aug 25, 2021 · 2 comments
Closed

Gitpod browser plugin - Bitbucket branch detection problem #5380

adampapl opened this issue Aug 25, 2021 · 2 comments

Comments

@adampapl
Copy link

Bug description

I'm getting Not Found error when trying to create gitpod workspace from bitbucket branches where branch name consists of two parts eg: 'feature/gitpod' while all works ok with simple branch names like 'develop'

image

Creating branch from single commit from the same branch works (but workspace is created with git in detached state which is uncomfortable)

Steps to reproduce

  1. install gitpod browser extension
  2. go to your bitbucket repository to specific branch (other than develop or master) eg: feature/gitpod
  3. click gitpod button or gitpod extension icon
  4. observe Not Found error
    image

I'm getting error with example url:
https://gitpod.io/#https://bitbucket.org/contentportal/user-portal/branch/feature/gitpod

and strange thing is that all works nice with simple branch name like 'develop' branch:
https://gitpod.io/#https://bitbucket.org/contentportal/user-portal/branch/develop

Expected behavior

Workspace should be created.

Example repository

No response

Anything else?

No response

@gtsiolis
Copy link
Contributor

Thanks for catching this @adampapl! ⚾

It seems to be an issue with parsing branch names with / but only for repositories in Butbucket.

@gtsiolis
Copy link
Contributor

Oh, closing this as a duplicate of #5364. It seems a fix could be already underway in #5367. Cc @ghuntley

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

No branches or pull requests

2 participants