Comments (87)
Test comment
from gogs.
@unknwon Does anyone work on this issue?
from gogs.
We're discussing this in the dev group.
from gogs.
+1
Eagerly waiting for this feature
from gogs.
+1
It's important feature
from gogs.
⭐
Super excited for this!
from gogs.
+1
from gogs.
+1
from gogs.
+1
from gogs.
- 1
from gogs.
👍
from gogs.
Update: master
branch just pushed fork feature, PR is on the way!
from gogs.
👍
from gogs.
+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.
from gogs.
@bradleypeabody you're absolutely right!
from gogs.
+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.
from gogs.
@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.
from gogs.
+1 for Pull Request, so could we hope to replace Gitorious currently used in LinkedIn. Gitorious Merge Request feature sucks.
from gogs.
+1 for Pull Request
Needed to migrate private repos to gogs
from gogs.
+1 for Pull Requests
Awesome job btw!
from gogs.
+1 for Pull Requests! Really looking forward to trying this once this functionality is added!
from gogs.
+1 for pull requests. We're using organisations / teams in the interim.
from gogs.
👍 PRs
from gogs.
+1
from gogs.
Eagerly waiting PRs. Thanks @unknwon
from gogs.
👍 for sure
from gogs.
Is there any update on this feature?
from gogs.
@Xe it's WIP, but recently we've received big PRs, so currently work on PRs, will get back when finish reviewing.
from gogs.
Can you post the code as is in a feature branch? I'd be happy to help test and fix it.
from gogs.
@Xe We appreciate that! 👊 But we would like to fully on our own for the initial version 😄
from gogs.
+1 for Pull Requests
from gogs.
Yeah, very important feature. Pretty much the last thing missing before I remove gitlab from my server in favor of gogs.
+1 and keep up the good work
from gogs.
+1
from gogs.
I upvote for Pull Requests as well!
from gogs.
Can't wait to enjoy this feature!
from gogs.
+1
from gogs.
One question:
It is planed more like GitHub pull requests or do you plan to create something better? For example why Go team go with Gerrit (source: http://www.infoq.com/news/2014/11/golang-goes-git-github ):
As mentioned, a Google-hosted instance of Gerrit will be used for code reviews. In a separate discussion (https://news.ycombinator.com/item?id=8605242) about the use of Gerrit, Andrew Gerrand, Google Go engineer, explained that Gerrit has several advantages over GitHub's code review tool:
- In GitHub, merging pull requests causes pollution in the change history. "Gerrit will automatically rebase the changes atop the master branch head, leaving a nice linear history."
- GitHub forces contributors to create a public fork of the repository, if they do not have write access to it.
- Gerrit allows to collect many comments on a single pull requests, then just sending a single email.
- Gerrit supports multiple 'patch sets' for a particular change, which are particularly useful when reviewing large changes.
Personally I would love to see rebasing instead of merge commit (some background http://blog.spreedly.com/author/ntalbott/#.VGVhz5PF_Zs ).
Some more sites worth checking for improvements ideas (they exists on top of GitHub PR to fix it annoyances):
https://reviewable.io/
http://www.review.ninja/
from gogs.
Phabricator.org and it code review part compared to Gerrit:
https://www.quora.com/Has-anyone-done-a-Gerrit-and-Phabricator-review
from gogs.
Personally I would love to see rebasing instead of merge commit
The important part about pull requests (IMO) is not that you can merge them via the web UI, but that you can do review/comments and get automatic mail notification etc. I would never do tasks like merging, rebasing or even committing in a web interface.
Also, if gogs would be more like gerrit, I would probably not use it, because gerrit is not simple and enforces a particular workflow on you.
from gogs.
Hi @matrixik , @hasufell , thanks for discussion!
For the initial purpose, Gogs would the pretty much the way GitHub does, but will open APIs/Webhooks to all of its actions as well. So that would be easier for people to integrate with any other services, and let Gerrit keep doing their good job.
from gogs.
+1, really waiting for PRs!
from gogs.
+1
from gogs.
+1
from gogs.
I tested already the branch that says feature/pull-request but I did not see any button in the UI yet. Can you give us a status?
Thanks!
from gogs.
✨
from gogs.
@bastiao Thanks for asking.
True reason is we don't want to be harry on such a important feature, but we're working on it. And feature itself isn't standalone, there are related things we need to work on at the same time. So, hmm, thanks for the patient.
from gogs.
+1 probably the only thing blocking people from adopting gogs
from gogs.
+1, though work around is to just do it the old-school way.
from gogs.
+1, thanks for your efforts @unknwon.
This was the feature most asked for in an article that was reposted on HackerNews and Reddit
from gogs.
Github should add an upvote feature, my inbox is being spammed.
from gogs.
I totally agree with you @Techcable :)
from gogs.
+1 for Pull Requests
from gogs.
Can we help somehow to make this happen faster? Don't forget, we're probably 95% devs here, too :)
from gogs.
@Knorkebrot one of the problem is that @unknwon is not accepting most part of the PR. There are quite a lot pending.
from gogs.
@bastiao, disagree. There's almost no open PRs for such popular project. And all of them are quite fresh (the latest is "Mar 21").
from gogs.
@xaionaro maybe I'm wrong then. If I can contribute some how, I'll be glad to help on that.
from gogs.
@unknwon is away from gogs right now. He hasn't said why or for how long, but I'm guessing it is either Family, School, or Work taking all of his time at the moment. I'm sure when he gets back he'll review the existing pull requests so keep making them if you have something to fix/add.
from gogs.
+1
Would also be great to get forking/pull requests on private repositories.
from gogs.
+1
Having pull requests and being able to review team members' code would be really helpful.
from gogs.
If only anybody were working on this feature... :/
I like gogs better than gitlab, but I think I'll switch to gitlab because this project looks dead and no longer maintained
from gogs.
@unknwon could you give us a short update on this?
from gogs.
@bartvankleef Somebody has finally forked it and I think they are working on both pull requests and wikis https://github.com/go-gitea/gitea
from gogs.
+1, It's really good of gogs's easy deployment feature. But I need "Pull Request" feature. Without that, cannot use gogs in a large team.
from gogs.
any news? :)
from gogs.
@bastiao almost :)
from gogs.
OK, well. Hi all!
It's now able to test Pull Request on https://try.gogs.io/ . To keep your data safe and clean for future releases, please blow up it and post feedback here now! 😉
from gogs.
@unknwon you're doing great!
from gogs.
A huge thanks!
from gogs.
P.S.: IMHO, PR's should be in separate tab (Pull Requests, not Issues). However this's anyway great :)
from gogs.
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.
from gogs.
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.
from gogs.
# 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?
from gogs.
go get -u github.com/gogits/go-gogs-client
and then rebuild
from gogs.
@unknwon great, thanks!
from gogs.
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.
from gogs.
@unknwon the PR does not work inside the same repository. Only in forks?
I mean, it is useful in different branches of same repository.
from gogs.
@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...
from gogs.
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 ! 💃
from gogs.
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
from gogs.
@ALenfant hah, 😝
Note it's still early stage and may not as perfect as you expected. But I'm here to fix problems. 👀
from gogs.
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
from gogs.
Thanks @zarezadeh ! I've pushed fix to try.gogs.io , and have fixed the index for your PR on the server :)
from gogs.
Wow, that was fast, thanks.
from gogs.
This looks great! Waiting for this to get in to master.
from gogs.
If you can allow support of pull requests in the same project, between branches, it will be great!
from gogs.
OK, close right now.
Will open new issues for other specific needs.
from gogs.
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! 🍻
from gogs.
Related Issues (20)
- Error 404 HOT 1
- How to set up the return of drone build status and log information to the Gogs repository for display
- NAVIGATING THE TECH HORIZON: TRENDS SHAPING OUR DIGITAL FUTURE
- Public Demo currently unavailable HOT 6
- mssql: Cannot call methods on nvarchar. HOT 3
- Install with PostgreSQL error
- When using git clone git@... always password of git is asked HOT 1
- Would you like to take over gogs.info domain?
- gogs restore in Docker failure - GOGS_CUSTOM /data/gogs is moved HOT 2
- backup/restore: User.Passwd renamed to .Password between v0.12 and v0.13 - restore fails to restore passwords HOT 1
- Backing up fails due to a missing file HOT 1
- 加载慢 HOT 10
- Error 1062 (23000): Duplicate entry '' for key 'access_token.sha256' HOT 2
- panic: runtime error: invalid memory address or nil pointer dereference - push commit HOT 4
- how to migrate gogs from sqlite to mariaDB(mysql) ?
- Add riscv64 support
- Database changes in 0.12.11? HOT 1
- Docker gogs started with an error message HOT 3
- Docker gogs cannot be restarted HOT 2
- mention user popover helper
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gogs.