Coder Social home page Coder Social logo

Fork/pull request public repostories about gogs HOT 87 CLOSED

gogs avatar gogs commented on May 17, 2024 2
Fork/pull request public repostories

from gogs.

Comments (87)

fuxiaohei avatar fuxiaohei commented on May 17, 2024

Test comment

from gogs.

v9n avatar v9n commented on May 17, 2024

@unknwon Does anyone work on this issue?

from gogs.

unknwon avatar unknwon commented on May 17, 2024

We're discussing this in the dev group.

from gogs.

eryx avatar eryx commented on May 17, 2024

+1
Eagerly waiting for this feature

from gogs.

jijinggang avatar jijinggang commented on May 17, 2024

+1
It's important feature

from gogs.

stevenleeg avatar stevenleeg commented on May 17, 2024

Super excited for this!

from gogs.

aarongreenlee avatar aarongreenlee commented on May 17, 2024

+1

from gogs.

btilford avatar btilford commented on May 17, 2024

+1

from gogs.

laurentdinclaux avatar laurentdinclaux commented on May 17, 2024

+1

from gogs.

tubia avatar tubia commented on May 17, 2024
  • 1

from gogs.

nandak522 avatar nandak522 commented on May 17, 2024

👍

from gogs.

unknwon avatar unknwon commented on May 17, 2024

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

from gogs.

eryx avatar eryx commented on May 17, 2024

👍

from gogs.

bradleypeabody avatar bradleypeabody commented on May 17, 2024

+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.

unknwon avatar unknwon commented on May 17, 2024

@bradleypeabody you're absolutely right!

from gogs.

hugochinchilla avatar hugochinchilla commented on May 17, 2024

+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.

unknwon avatar unknwon commented on May 17, 2024

@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.

wangkuiyi avatar wangkuiyi commented on May 17, 2024

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

from gogs.

Techcable avatar Techcable commented on May 17, 2024

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

from gogs.

sbditto85 avatar sbditto85 commented on May 17, 2024

+1 for Pull Requests

Awesome job btw!

from gogs.

disassembler avatar disassembler commented on May 17, 2024

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

from gogs.

michaeldyrynda avatar michaeldyrynda commented on May 17, 2024

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

from gogs.

Nothing4You avatar Nothing4You commented on May 17, 2024

👍 PRs

from gogs.

rojaro avatar rojaro commented on May 17, 2024

+1

from gogs.

izolate avatar izolate commented on May 17, 2024

Eagerly waiting PRs. Thanks @unknwon

from gogs.

kageurufu avatar kageurufu commented on May 17, 2024

👍 for sure

from gogs.

Xe avatar Xe commented on May 17, 2024

Is there any update on this feature?

from gogs.

unknwon avatar unknwon commented on May 17, 2024

@Xe it's WIP, but recently we've received big PRs, so currently work on PRs, will get back when finish reviewing.

from gogs.

Xe avatar Xe commented on May 17, 2024

Can you post the code as is in a feature branch? I'd be happy to help test and fix it.

from gogs.

unknwon avatar unknwon commented on May 17, 2024

@Xe We appreciate that! 👊 But we would like to fully on our own for the initial version 😄

from gogs.

xaionaro avatar xaionaro commented on May 17, 2024

+1 for Pull Requests

from gogs.

hasufell avatar hasufell commented on May 17, 2024

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.

dubcanada avatar dubcanada commented on May 17, 2024

+1

from gogs.

 avatar commented on May 17, 2024

I upvote for Pull Requests as well!

from gogs.

bkleef avatar bkleef commented on May 17, 2024

Can't wait to enjoy this feature!

from gogs.

bergwerf avatar bergwerf commented on May 17, 2024

+1

from gogs.

matrixik avatar matrixik commented on May 17, 2024

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.

matrixik avatar matrixik commented on May 17, 2024

Phabricator.org and it code review part compared to Gerrit:
https://www.quora.com/Has-anyone-done-a-Gerrit-and-Phabricator-review

from gogs.

hasufell avatar hasufell commented on May 17, 2024

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.

unknwon avatar unknwon commented on May 17, 2024

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.

hickscorp avatar hickscorp commented on May 17, 2024

+1, really waiting for PRs!

from gogs.

mkmik avatar mkmik commented on May 17, 2024

+1

from gogs.

nubbel avatar nubbel commented on May 17, 2024

+1

from gogs.

bastiao avatar bastiao commented on May 17, 2024

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.

thomasfedb avatar thomasfedb commented on May 17, 2024

from gogs.

unknwon avatar unknwon commented on May 17, 2024

@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.

geshan avatar geshan commented on May 17, 2024

+1 probably the only thing blocking people from adopting gogs

from gogs.

StrangeWill avatar StrangeWill commented on May 17, 2024

+1, though work around is to just do it the old-school way.

from gogs.

jbrodriguez avatar jbrodriguez commented on May 17, 2024

+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.

Techcable avatar Techcable commented on May 17, 2024

Github should add an upvote feature, my inbox is being spammed.

from gogs.

tubia avatar tubia commented on May 17, 2024

I totally agree with you @Techcable :)

from gogs.

liminspace avatar liminspace commented on May 17, 2024

+1 for Pull Requests

from gogs.

stroborobo avatar stroborobo commented on May 17, 2024

Can we help somehow to make this happen faster? Don't forget, we're probably 95% devs here, too :)

from gogs.

bastiao avatar bastiao commented on May 17, 2024

@Knorkebrot one of the problem is that @unknwon is not accepting most part of the PR. There are quite a lot pending.

from gogs.

xaionaro avatar xaionaro commented on May 17, 2024

@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.

bastiao avatar bastiao commented on May 17, 2024

@xaionaro maybe I'm wrong then. If I can contribute some how, I'll be glad to help on that.

from gogs.

matt-h avatar matt-h commented on May 17, 2024

@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.

csu avatar csu commented on May 17, 2024

+1

Would also be great to get forking/pull requests on private repositories.

from gogs.

SlowFourierTransform avatar SlowFourierTransform commented on May 17, 2024

+1

Having pull requests and being able to review team members' code would be really helpful.

from gogs.

galoppa avatar galoppa commented on May 17, 2024

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.

bkleef avatar bkleef commented on May 17, 2024

@unknwon could you give us a short update on this?

from gogs.

galoppa avatar galoppa commented on May 17, 2024

@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.

liuyang1 avatar liuyang1 commented on May 17, 2024

+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.

bastiao avatar bastiao commented on May 17, 2024

any news? :)

from gogs.

unknwon avatar unknwon commented on May 17, 2024

@bastiao almost :)

from gogs.

unknwon avatar unknwon commented on May 17, 2024

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.

bastiao avatar bastiao commented on May 17, 2024

@unknwon you're doing great!

from gogs.

xaionaro avatar xaionaro commented on May 17, 2024

A huge thanks!

from gogs.

xaionaro avatar xaionaro commented on May 17, 2024

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

from gogs.

unknwon avatar unknwon commented on May 17, 2024

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.

bastiao avatar bastiao commented on May 17, 2024

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.

bastiao avatar bastiao commented on May 17, 2024
# 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.

unknwon avatar unknwon commented on May 17, 2024

@bastiao

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

and then rebuild

from gogs.

bastiao avatar bastiao commented on May 17, 2024

@unknwon great, thanks!

from gogs.

pcsch avatar pcsch commented on May 17, 2024

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.

bastiao avatar bastiao commented on May 17, 2024

@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.

unknwon avatar unknwon commented on May 17, 2024

@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.

Depado avatar Depado commented on May 17, 2024

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.

ALenfant avatar ALenfant commented on May 17, 2024

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.

unknwon avatar unknwon commented on May 17, 2024

@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.

zarezadeh avatar zarezadeh commented on May 17, 2024

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.

unknwon avatar unknwon commented on May 17, 2024

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

from gogs.

zarezadeh avatar zarezadeh commented on May 17, 2024

Wow, that was fast, thanks.

from gogs.

vijairaj avatar vijairaj commented on May 17, 2024

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

from gogs.

bastiao avatar bastiao commented on May 17, 2024

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

from gogs.

unknwon avatar unknwon commented on May 17, 2024

OK, close right now.

Will open new issues for other specific needs.

from gogs.

unknwon avatar unknwon commented on May 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.