Skip to content
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

[Bug] Creating repo with init dont respect AlternateDefaultBranch #12359

Closed
6543 opened this issue Jul 28, 2020 · 2 comments · Fixed by #12746
Closed

[Bug] Creating repo with init dont respect AlternateDefaultBranch #12359

6543 opened this issue Jul 28, 2020 · 2 comments · Fixed by #12746
Assignees
Labels

Comments

@6543
Copy link
Member

6543 commented Jul 28, 2020

noticed on codeberg.org (v1.12.2)

GET https://codeberg.org/api/v1/repos/testung/createdbygitnex json object return:

...
  "release_counter": 0,
  "default_branch": "master",
  "archived": false,
...

can be tested by UI too (just rm branchname befor submitin form)

test repos: https://codeberg.org/6543/CreatedByWeb, https://codeberg.org/testung/CreatedByGitNex

this als causes an nice 500 on https://codeberg.org/testung/CreatedByGitNex/branches/ branch view

@6543
Copy link
Member Author

6543 commented Jul 28, 2020

@6543 6543 changed the title [Bug] [API] Creating repo with init dont respect AlternateDefaultBranch [Bug] Creating repo with init dont respect AlternateDefaultBranch Jul 28, 2020
@6543
Copy link
Member Author

6543 commented Jul 28, 2020

there are inconsistencys between git-files & DB :/

@lunny lunny added the type/bug label Aug 6, 2020
@6543 6543 self-assigned this Sep 6, 2020
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants