Skip to content
Snippets Groups Projects
Select Git revision
  • sh-workhorse-git-archive-cleaner
  • selhorn-handbook-remove
  • 517152-duo-enterprise-trial-lead-form
  • move-member-approval-to-ee
  • 513426-display-custom-fields-on-work-item-create-view-and-save-draft
  • master default protected
  • rails-next protected
  • ruby-next protected
  • 513160-fetch-version-project
  • 520781-only-fetch-custom-field-select-options-when-opening-dropdown
  • refactor-license-factory
  • irinabron/510170-3-loop-db-stats
  • 505845-show-only-linked-items-for-unlink-quick-action
  • docs-uc-fix-usage-of-since-pt3
  • 467997-vsd-add-namespace-metadata-viz
  • pw-tutorial-enterprise-package-registry
  • dakotadux/add-rest-api-to-update-status-of-external-requirement-controller
  • lw/517922-adapt-duo-ui-for-duo-amazon-q
  • 452305-permalink-dropdown
  • dakotadux/update-edit-frameworks-page-to-use-controls-table
  • v17.7.6-ee protected
  • v17.8.4-ee protected
  • v17.9.1-ee protected
  • v17.8.3-ee protected
  • v17.7.5-ee protected
  • v17.9.0-ee protected
  • v17.9.0-rc42-ee protected
  • v17.6.5-ee protected
  • v17.7.4-ee protected
  • v17.8.2-ee protected
  • v17.6.4-ee protected
  • v17.7.3-ee protected
  • v17.8.1-ee protected
  • v17.8.0-ee protected
  • v17.7.2-ee protected
  • v17.8.0-rc42-ee protected
  • v17.5.5-ee protected
  • v17.6.3-ee protected
  • v17.7.1-ee protected
  • v17.7.0-ee protected
40 results

application_setting.rb

  • Michael Becker's avatar
    5f426d5b
    Add new jsonb column to store settings for default branch protection · 5f426d5b
    Michael Becker authored and Bojan Marjanovic's avatar Bojan Marjanovic committed
    Currently, the options for default branch protection at the instance
    and group level lag behind, and are not as fine-grained, as the
    options available from the Protected Branches feature
    
    The branch defaults lag behind because the current implementation uses
    an integer column to store the default settings, which becomes
    difficult to expand as new options and finer detail controls are added
    to the protected branches feature
    
    To offer better support of protected branches features on the default
    branch, we can:
    
      1. use a jsonb column rather than an integer
      2. update the settings API to accept a payload the matches
         the protected branches API
      3. Pass those settings into the ProtecteBrancheService
    
    This commit performs step 1, by adding a new `jsonb` column
    
    Changelog: added
    5f426d5b
    History
    Add new jsonb column to store settings for default branch protection
    Michael Becker authored and Bojan Marjanovic's avatar Bojan Marjanovic committed
    Currently, the options for default branch protection at the instance
    and group level lag behind, and are not as fine-grained, as the
    options available from the Protected Branches feature
    
    The branch defaults lag behind because the current implementation uses
    an integer column to store the default settings, which becomes
    difficult to expand as new options and finer detail controls are added
    to the protected branches feature
    
    To offer better support of protected branches features on the default
    branch, we can:
    
      1. use a jsonb column rather than an integer
      2. update the settings API to accept a payload the matches
         the protected branches API
      3. Pass those settings into the ProtecteBrancheService
    
    This commit performs step 1, by adding a new `jsonb` column
    
    Changelog: added
Code owners
Assign users and groups as approvers for specific file changes. Learn more.