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

Fork/pull request public repostories #5

Closed
2 tasks done
unknwon opened this issue Feb 14, 2014 · 87 comments
Closed
2 tasks done

Fork/pull request public repostories #5

unknwon opened this issue Feb 14, 2014 · 87 comments
Labels
🎯 feature Categorizes as related to a new feature
Milestone

Comments

@unknwon
Copy link
Member

unknwon commented Feb 14, 2014

  • Fork repostories
  • Pull request repostories
@unknwon unknwon added this to the Release 0.1 milestone Feb 14, 2014
@unknwon unknwon removed this from the Release 0.1 milestone Mar 6, 2014
@unknwon unknwon added this to the Release 0.2 milestone Mar 13, 2014
@fuxiaohei
Copy link
Contributor

Test comment

@v9n
Copy link

v9n commented May 9, 2014

@unknwon Does anyone work on this issue?

@unknwon
Copy link
Member Author

unknwon commented May 9, 2014

We're discussing this in the dev group.

@eryx
Copy link
Contributor

eryx commented Jul 8, 2014

+1
Eagerly waiting for this feature

@jijinggang
Copy link

+1
It's important feature

@stevenleeg
Copy link

Super excited for this!

@aarongreenlee
Copy link

+1

@lunny lunny modified the milestones: Release v0.5.0, Release 0.2 Aug 30, 2014
@btilford
Copy link

btilford commented Sep 1, 2014

+1

@unknwon unknwon removed this from the Release v0.5.0 milestone Sep 1, 2014
@laurentdinclaux
Copy link

+1

@tubia
Copy link

tubia commented Oct 18, 2014

  • 1

@nandak522
Copy link

👍

unknwon added a commit that referenced this issue Nov 6, 2014
@unknwon
Copy link
Member Author

unknwon commented Nov 6, 2014

Update: master branch just pushed fork feature, PR is on the way!

@eryx
Copy link
Contributor

eryx commented Nov 6, 2014

👍

@bradleypeabody
Copy link

+1 This (pull requests) would help adoption as well, since it's a key feature when you start dealing with a team of more than just a couple of people.

@unknwon
Copy link
Member Author

unknwon commented Nov 7, 2014

@bradleypeabody you're absolutely right!

@hugochinchilla
Copy link

+1 for pull requests

I have to choose between gitlab and gogs for managing repos at a company, if pull requests are going to be added soon gogs will be the winner.

@unknwon
Copy link
Member Author

unknwon commented Nov 26, 2014

@hugochinchilla we're working on PR right now, should be released in near future. But GitLab obviously has more features than Gogs at current stage, make the best choice is important, your option.

@wangkuiyi
Copy link

+1 for Pull Request, so could we hope to replace Gitorious currently used in LinkedIn. Gitorious Merge Request feature sucks.

@Techcable
Copy link

+1 for Pull Request
Needed to migrate private repos to gogs

@sbditto85
Copy link

+1 for Pull Requests

Awesome job btw!

@disassembler
Copy link

+1 for Pull Requests! Really looking forward to trying this once this functionality is added!

@michaeldyrynda
Copy link
Contributor

+1 for pull requests. We're using organisations / teams in the interim.

@unknwon
Copy link
Member Author

unknwon commented Sep 2, 2015

Thank you for following up! @bastiao @xaionaro

@ALL: It's in very early stage, so... be nice... 👀

P.S.: IMHO, PR's should be in separate tab (Pull Requests, not Issues). However this's anyway great :)

Yes, it will be added soon. I'm working on it.

@bastiao
Copy link

bastiao commented Sep 2, 2015

I'm updating my own installation and will test it properly. I will happy to return feedback too.

PS and offtopic: you should talk with people that fork gogs. It is not good to community to have disperse forks around. They was working on PR/forks too.

@bastiao
Copy link

bastiao commented Sep 2, 2015

# github.com/gogits/gogs/routers/api/v1
routers/api/v1/repo.go:105: opt.Gitignore undefined (type gogs.CreateRepoOption has no field or method Gitignore)
routers/api/v1/repo_hooks.go:29: unknown gogs.Hook field 'Id' in struct literal
routers/api/v1/repo_hooks.go:105: unknown gogs.Hook field 'Id' in struct literal
routers/api/v1/user.go:21: unknown gogs.User field 'Id' in struct literal

any idea why?

@unknwon
Copy link
Member Author

unknwon commented Sep 2, 2015

@bastiao

go get -u github.com/gogits/go-gogs-client

and then rebuild

@bastiao
Copy link

bastiao commented Sep 2, 2015

@unknwon great, thanks!

@pcsch
Copy link

pcsch commented Sep 2, 2015

When opening a pull request the original repo gets a new open issue that is closed after merging.
This works for the issue view but in the overview for the original repo there is still one issue too much shown to be open. I think after mergin (which closes the "PR issue") the number of open issues should be decreased by one again.

e.g.:
When you had 10 open issues before the PR, you have 11 open after the PR, 10 open after merge but the overview still shows 11

(This was tested on try.gogs.io)

BTW: Thanks a lot for this feature.

@bastiao
Copy link

bastiao commented Sep 2, 2015

@unknwon the PR does not work inside the same repository. Only in forks?
I mean, it is useful in different branches of same repository.

@unknwon
Copy link
Member Author

unknwon commented Sep 2, 2015

@bastiao right now, yes, only between forks(in same repo in the design though)

I think after mergin (which closes the "PR issue") the number of open issues should be decreased by one again.

@mexthemax good catch! Forgot that...

@Depado
Copy link

Depado commented Sep 2, 2015

A friend of mine juste told me "Too bad it doesn't handle PRs". Went here. Saw the comment one hour ago saying it's now in test. Epic timing ! 💃

@ALenfant
Copy link

ALenfant commented Sep 2, 2015

I am the friend in question. I've wanted to switch to Gogs for so long but I needed PR support. I'm so happy, thanks guys! :D

@unknwon
Copy link
Member Author

unknwon commented Sep 2, 2015

@ALenfant hah, 😝

Note it's still early stage and may not as perfect as you expected. But I'm here to fix problems. 👀

@unknwon unknwon modified the milestone: 0.6.9 Sep 2, 2015
@zarezadeh
Copy link

A bug here: https://try.gogs.io/swordwinter/prtest/pulls there is two pull requests, one open and one closed. But when you click on open PR, it will show the close one. It seems both of them got same id

@unknwon
Copy link
Member Author

unknwon commented Sep 3, 2015

Thanks @zarezadeh ! I've pushed fix to try.gogs.io , and have fixed the index for your PR on the server :)

@zarezadeh
Copy link

Wow, that was fast, thanks.

@vijairaj
Copy link

vijairaj commented Sep 3, 2015

This looks great! Waiting for this to get in to master.

@bastiao
Copy link

bastiao commented Sep 3, 2015

If you can allow support of pull requests in the same project, between branches, it will be great!

@unknwon unknwon modified the milestones: 0.6.9, 0.7.0 Sep 5, 2015
@unknwon
Copy link
Member Author

unknwon commented Sep 5, 2015

OK, close right now.

Will open new issues for other specific needs.

@unknwon unknwon closed this as completed Sep 5, 2015
@unknwon unknwon modified the milestone: 0.6.9 Sep 5, 2015
@unknwon
Copy link
Member Author

unknwon commented Oct 25, 2015

Important update

I've pushed code to develop branch and https://try.gogs.io that check if pull request has conflict with upstream every time fork repository or upstream repository is pushed, so conflict will be detected correspondingly right now.

Leave feedback here so I can help with further problems you may encounter! 🍻

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🎯 feature Categorizes as related to a new feature
Projects
None yet
Development

No branches or pull requests