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

Forking an empty repo results in 500 error #1206

Closed
StrangeWill opened this issue Apr 15, 2015 · 10 comments
Closed

Forking an empty repo results in 500 error #1206

StrangeWill opened this issue Apr 15, 2015 · 10 comments
Labels
💊 bug Something isn't working
Milestone

Comments

@StrangeWill
Copy link
Contributor

Gogs: 0.6.1.0325 Beta

Steps to reproduce:

  • Create new repo in an organization
  • Fork said empty repo
  • Bam, 500 error.

Error in gog.log:

2015/04/15 01:14:14 [repo.go:330 func·008()] [E] GetBranches:

Was preparing a repo, wanted to push my code to my fork then pull request into the org. Not sure if this workflow makes sense, but either way should be handled better than a 500 error. I can see the empty repo fine on the organization though.

@lunny lunny added the 💊 bug Something isn't working label Apr 17, 2015
@coffin5257
Copy link

I have the issue too.

@LeDistordu
Copy link

+1

@LeDistordu
Copy link

how i delete my forked repo with this error 500 ?

@DmitrySkripunov
Copy link

+1. I have same question!

@unknwon unknwon added this to the 0.6.3 milestone Jul 30, 2015
@unknwon
Copy link
Member

unknwon commented Jul 30, 2015

Hmm... hi @StrangeWill by

Create new repo in an organization

Is this repository is empty when creation?

Because bare seems no button/UI lets you fork on it?

@unknwon unknwon added the status: needs feedback Tell me more about it label Jul 30, 2015
@unknwon unknwon removed this from the 0.6.3 milestone Jul 30, 2015
@StrangeWill
Copy link
Contributor Author

@unknwon Click on "settings", the UI element to fork will be rendered on that screen and you can fork from there.

@unknwon
Copy link
Member

unknwon commented Aug 1, 2015

@StrangeWill this helps, thanks!

@unknwon unknwon added this to the 0.6.5 milestone Aug 1, 2015
unknwon added a commit that referenced this issue Sep 1, 2015
@unknwon
Copy link
Member

unknwon commented Sep 1, 2015

Right now Gogs disallow you fork a bare repo. You can test on https://try.gogs.io

@StrangeWill
Copy link
Contributor Author

Attempted to hard-fork by going to https://try.gogs.io/repo/fork/[Repo ID] and I get a 404, awesome.

@unknwon unknwon removed the status: needs feedback Tell me more about it label Sep 1, 2015
@unknwon
Copy link
Member

unknwon commented Sep 1, 2015

Thanks your confirmation!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
💊 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants