Skip to content

Conversation

segevfiner
Copy link
Contributor

Backport to v1.8

Forking an empty repo didn't copy the IsEmpty flag which lead to Git errors, and once we did copy it, the repoAssignment middleware didn't populate BaseRepo which lead to a nil error from the templates.

Fixes #6633 (Assuming there aren't issues in other places)

cc @lunny

Fixes go-gitea#6633

Signed-off-by: Segev Finer <segev@codeocean.com>
@techknowlogick techknowlogick added modifies/api This PR adds API routes or modifies them type/bug labels Apr 16, 2019
@techknowlogick techknowlogick added this to the 1.8.0 milestone Apr 16, 2019
@techknowlogick techknowlogick removed the modifies/api This PR adds API routes or modifies them label Apr 16, 2019
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Apr 16, 2019
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Apr 16, 2019
@zeripath
Copy link
Contributor

make Lg-tm work

@zeripath zeripath merged commit 5236d8a into go-gitea:release/v1.8 Apr 16, 2019
@segevfiner segevfiner deleted the fork-empty-bug-1.8 branch April 16, 2019 19:47
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
project-mirrors-bot-tu bot pushed a commit to project-mirrors/forgejo-as-gitea-fork that referenced this pull request Jan 31, 2025
…a#6734)

- No longer autofocus on the searchbox for the repository list that is on the dashboard. There is no justification for doing so.
- Fixes go-gitea#6653

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6734
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: Beowulf <beowulf@beocode.eu>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Natalie Klestrup Röijezon <nat@nullable.se>
Co-committed-by: Natalie Klestrup Röijezon <nat@nullable.se>
project-mirrors-bot-tu bot pushed a commit to project-mirrors/forgejo-as-gitea-fork that referenced this pull request Jan 31, 2025
…rch box (go-gitea#6748)

- No longer autofocus on the searchbox for the repository list that is on the dashboard. There is no justification for doing so.
- Fixes go-gitea#6653
Co-authored-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
Co-committed-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants