Live data from Hacker News

Abandoning Gitflow and GitHub in favour of Gerrit

beepsend.com

51–60 of 168 posts

Re: Abandoning Gitflow and GitHub in favour of Gerrit

#51

Earlier quoted context omitted.

I've used gerrit and it's much better than github/bitbucket. My knock on gerrit is it requires one "very good" git person to be on the team however it makes it very easy to support a larger team and do cleaner code reviews.

https://xkcd.com/1597/

:)

Exactly how everyone I know uses git.

Re: Abandoning Gitflow and GitHub in favour of Gerrit

#54
post #43

Earlier quoted context omitted.

If you don't understand, then clearly you should investigate why as you cannot form an opinion on something you don't understand.

I have investigated, why are you assuming I have not?

Clearly not enough, because you don't understand. You literally said that. How can you pass a judgement on something you don't understand?

Re: Abandoning Gitflow and GitHub in favour of Gerrit

#55
> As soon as someone added changes to their pull request – either by rebasing in the new changes or making it as a new commit – you lost track of the comments in the code and viewing what had actually changed since the last update became really hard (almost impossible if the new push was rebased with the new changes).

Why are they all rebasing in their PR branches if it obviously makes the PR unreadable?

Re: Abandoning Gitflow and GitHub in favour of Gerrit

#56
This is way more complex to me than GitFlow with pull requests. As a matter of fact, if you use something like SourceTree for most of the initial steps it's a few mouse clicks. Also, try Gitlabs for your reviews; it's pretty good!

The idea of a more in-depth review is intriguing (we all know this is something that can be improved), but _voting_ on a peer's code just seems like a bad idea. Vote too low, people get insulted and you breed discontent and mistrust. Too high and everyone stays happy until code quality drops. People will either use this as an opportunity to diminish other's, show off or suck up. Sad, but that's human nature.

I know in-person code reviews aren't always possible but adding this disconnect just seems like a bad idea. Would love some honest feedback from people who have actually used it in medium-large scale production.

Re: Abandoning Gitflow and GitHub in favour of Gerrit

#57
post #37

Earlier quoted context omitted.

I've never understood why people think omitting a historical event keeps their "history clean".

Because I've yet to find a git graphlog tool which made viewing pretty nonlinear git history (as precise a historical record as they are) anything but a pain in the ass, some of them barely even manage to display a dozen concurrent "branches". This is combined with most of the "historical record" really being worthless garbage: does it matter that you had to implement 12 fixups at various points and rewrite the whole…

Check out http://gitup.co

Re: Abandoning Gitflow and GitHub in favour of Gerrit

#58
Anyone know of a good hosted gerrit solution?

One of the largest problems I've had getting gerrit adoption on smaller teams is that they can just pop up a private github team easily, whereas finding hosted gerrit solutions that actually make it easy to convert from other source control tooling has been very difficult.

Re: Abandoning Gitflow and GitHub in favour of Gerrit

#59

The process might seem more complex initially but think of it like this: If you add a new member to your team, they would have to fork the repositories on GitHub, clone them locally, make the changes, push to their own fork and then create the pull request Annndddd we're done - its easy to make a pull request from a branch; this person has no idea what they're doing. In addition, the new GitHub code review tools addr…

I had the same impression reading the intro; I was done after reading about Agile and consultants. In every single instance I've seen these two combined, mediocrity followed. Even in the cases where they thought they had agility the results were still terrible and unproductive. Most of the time its people not understanding the tech they're trying to use and instead of spending the time to learn it they look for somet…

A thought just come to my head... For a lot of dev departments at non-tech companies, might consistent mediocrity be an improvement? If management is used to disaster at every turn, and then they hire some consultants, and then things are just lousy all the time, might that not count as a legit win for the consultants?

Re: Abandoning Gitflow and GitHub in favour of Gerrit

#60

The process might seem more complex initially but think of it like this: If you add a new member to your team, they would have to fork the repositories on GitHub, clone them locally, make the changes, push to their own fork and then create the pull request Annndddd we're done - its easy to make a pull request from a branch; this person has no idea what they're doing. In addition, the new GitHub code review tools addr…

This is a pattern I've seen in teams to enforce review of code before it's merged. You can make the main repo read-only for most of the team and require PRs be submitted from their own forks. Then, someone with write access on main repo can review and merge the PR. I think this is overkill, personally, but just want to point out that maybe this team was employing this process, rather than them not knowing how to create PRs from a branch.
Post reply on HN