• zeripath's avatar
    Batch hook pre- and post-receive calls (#8602) · 7bfb83e0
    zeripath authored
    
    
    * make notifyWatchers work on multiple actions
    
    * more efficient multiple notifyWatchers
    
    * Make CommitRepoAction take advantage of multiple actions
    
    * Batch post and pre-receive results
    
    * Set batch to 30
    
    * Auto adjust timeout & add logging
    
    * adjust processing message
    
    * Add some messages to pre-receive
    
    * Make any non-200 status code from pre-receive an error
    
    * Add missing hookPrintResults
    
    * Remove shortcut for single action
    
    * mistaken merge fix
    
    * oops
    
    * Move master branch to the front
    
    * If repo was empty and the master branch is pushed ensure that that is set as the default branch
    
    * fixup
    
    * fixup
    
    * Missed HookOptions in setdefaultbranch
    
    * Batch PushUpdateAddTag and PushUpdateDelTag
    Co-authored-by: default avatarLunny Xiao <xiaolunwen@gmail.com>
    7bfb83e0
internal.go 2.8 KB