Skip to content

GitLab commit tree URL parsing issue #8174

Open
@filiptronicek

Description

@filiptronicek

Bug description

If you want to check the file structure of a commit, you are probably opening it with Gitpod in 2 different ways:

  1. From the commit page (GitHub example, GitLab example)
  2. From the file tree of the commit (GitHub example, GitLab example)

It looks like as opposed to the first option, if you try to open the second example with GitLab, you get an error, because Gitpod incorrectly parses the GitLab commit tree URL. This doesn't happen with GitHub nor opening from a GitLab commit page.

Steps to reproduce

Buckle up, a very involving reproduction incoming!

  1. Open a commit-specific file tree URL in Gitpod
  2. Observe the error

image

Expected behavior

I expect the URL to work because

  1. It is a pretty normal URL to open a workspace from
  2. There is Gitpod button present so it looks like it is open-able.

Example repository

No response

Anything else?

Thanks @krystofex for letting me know about the issue 🧡 .

Activity

stale

stale commented on Jun 11, 2022

@stale

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

added
meta: staleThis issue/PR is stale and will be closed soon
on Jun 11, 2022
filiptronicek

filiptronicek commented on Jun 12, 2022

@filiptronicek
MemberAuthor

oh noooo please :((((

keep my issue

removed
meta: staleThis issue/PR is stale and will be closed soon
on Jun 12, 2022
axonasif

axonasif commented on Jun 13, 2022

@axonasif
Member

Stalebot being stalebot 😆

stale

stale commented on Sep 24, 2022

@stale

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

added
meta: staleThis issue/PR is stale and will be closed soon
on Sep 24, 2022
added and removed
meta: staleThis issue/PR is stale and will be closed soon
on Sep 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @gtsiolis@filiptronicek@axonasif

        Issue actions

          GitLab commit tree URL parsing issue · Issue #8174 · gitpod-io/gitpod