Skip to content

Git Proxy does not support GitLab repos #511

Description

@msagi

Describe the bug
Failed to do git push with a GitLab repo.

To Reproduce
Steps to reproduce the behavior:

  1. unzip gitlab-issue.tar.gz
  2. start git-proxy with the config file (proxy.config.json) from the .tar.gz file
  3. execute git-proxy-issue-repro.sh
  4. compare the *.run.log files with your run logs
  5. compare .data/db files with your data

Expected behavior
git push is successful (with GitLab repo)

Screenshots
n/a

Desktop (please complete the following information):

  • OS: macOS 14.4.1 (23E224)
  • Git: git version 2.39.3 (Apple Git-146)
  • Browser n/a
  • Version n/a

Additional context
src/proxy/actions/Action.js: 56
this.url = https://github.com/${repo};

this might be the cause of the issue: GitHub is hardcoded baseURL into the action

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions