Source code versioning with approval

Asked

Viewed 91 times

1

Hello, today for code versioning in the company we use Tortoise SVN and would like to start using a versioner that when the developer commits something before the changes are merged with the repository code goes through an approval before, a manager would approve the commit or change and then yes these changes would go to the repository.

You could point me to some tool that works that way, would Git do that?

Thank you.

  • You can use anything to do this, Git can make it a little easier.

  • Git with Gerrit works perfectly for your need.

  • What you want is a Code Review tool. Take a look at this list: https://en.wikipedia.org/wiki/List_of_tools_for_code_review

1 answer

1

The SVN already does that, but as the documentation itself says, it is really necessary this type of configuration?

I say this because wrong changes can easily be reversed. The problem is easier to solve through a good design organization than restricting access.

For example, users could be separated into groups that can only do commits in branches, and not in the trunk. This would leave the merge in charge of a more experienced programmer.

Another way is configure access restrictions on Hooks of pre-commit.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.