#3827 389 - require only fast-forward commits to be pushed
Closed: Will Not/Can Not fix 7 years ago Opened 10 years ago by rmeggins.

= problem =
Need to prevent merge commits from being pushed to the 389 repos:

https://git.fedorahosted.org/cgit/389/ds.git/
https://git.fedorahosted.org/cgit/389/admin.git/
https://git.fedorahosted.org/cgit/389/adminutil.git/
https://git.fedorahosted.org/cgit/389/dsgw.git/
https://git.fedorahosted.org/cgit/389/console.git/
https://git.fedorahosted.org/cgit/389/admin-console.git/
https://git.fedorahosted.org/cgit/389/ds-console.git/
https://git.fedorahosted.org/cgit/389/winsync.git/

= analysis =
Merge commits are problematic for our project. It would be better to just prevent them from being pushed by default.

= enhancement recommendation =
http://stackoverflow.com/questions/5488442/pre-receive-hook-on-server-side-that-refuse-any-push-to-master-which-has-any-non

describes using a git hook to prevent pushing non-fast-forward commits to the master branch. In the 389 case, we want to prevent merge commits on all branches.


Wow. I just was looking at old tickets and happened to spot this one.

I have no idea how this dropped off all radar. ;(

In any case with hosted going away soon, I am guessing this is now moot.

Please reopen or file a new ticket if there's anything we can still do here.

:tokyo_tower:

@kevin changed the status to Closed

7 years ago

Login to comment on this ticket.

Metadata