Allow only certain users to make large commits (megabytes) (BB-9416)

Issue #8287 wontfix
Dan Fabulich
created an issue

If a user makes a large commit (hundreds of megabytes) it can be hard to fix it, as everyone downstream may be required to manually rebase their own work.

(And if anyone forgets to rebase, they might push the large commit back to the repository again, starting the work all over again.)

We'd like to set a threshold size for a given commit. If the commit is greater than N bytes, it should only be allowed to be pushed by an administrator.

Comments (3)

  1. Brian Nguyen

    Hi Dan,

    Thanks for reporting. This is actually something we have been considering ourselves. I've added this to our backlog and we'll take a look.

    Cheers, Brian

  2. Dylan Etkin

    Hi Dan,

    We may look at adding commit push size limits at some point but we would not allow you to change that on a per-user basis.

    Thanks for understanding, cheers,


  3. Log in to comment