#283 git clone with https from gitlab not setting default branch

Closed
opened 7 months ago by matti · 6 comments
matti commented 7 months ago

When cloning from gitlab, there are issues on the branches. I was cloning from https://gitlab.com/angestoepselt/webinfra master branch
to https://codeberg.org/angestoepselt/webinfra

The Result you will see in the attachement

When cloning from gitlab, there are issues on the branches. I was cloning from https://gitlab.com/angestoepselt/webinfra master branch to https://codeberg.org/angestoepselt/webinfra The Result you will see in the attachement
hw changed title from git clone with https from gitlab to git clone with https from gitlab not setting default branch 7 months ago
hw commented 7 months ago
Owner

It seems the Gitlab importer is not properly setting the default branch (imported as 'master' -> gitea still registers 'main').

Updating the UI default branch setting made the repo usable in this instance.

It seems the Gitlab importer is not properly setting the default branch (imported as 'master' -> gitea still registers 'main'). Updating the UI default branch setting made the repo usable in this instance.
hw added the
bug
label 7 months ago
hw added the
gitea-related
label 7 months ago
matti commented 7 months ago
Poster

Updating the UI default branch setting made the repo usable in this instance.

Already did, thank you guys

> > Updating the UI default branch setting made the repo usable in this instance. Already did, thank you guys
6543 commented 7 months ago
Collaborator

I already noticed and fixed it

I already noticed and fixed it
6543 commented 7 months ago
Collaborator

https://github.com/go-gitea/gitea/pull/12843

and its backport: 6305f07fdc

@hw can be cherry-picked

https://github.com/go-gitea/gitea/pull/12843 and its backport: https://github.com/go-gitea/gitea/commit/6305f07fdc1cc4f1dc4f04108ca9ad3e1833b3f2 @hw can be cherry-picked
6543 closed this issue 7 months ago
hw commented 7 months ago
Owner

thank you! cc: @ashimokawa

thank you! cc: @ashimokawa
Owner

@hw
We have that already deployed since two days ago ;)

@hw We have that already deployed since two days ago ;)
Sign in to join this conversation.
Loading…
There is no content yet.