Update repository limit notifications

What does this MR do and why?

It updates the repository limit push notifications for paid tiers under PlanLimits.

References

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Will go over limit Already over the limit
Screenshot_2025-02-11_at_3.24.07_PM Screenshot_2025-02-10_at_5.09.03_PM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Case 1:

  • Enter the groups page http://gdk.test:3000/users/root/groups
  • Create a new group
  • Enter the group settings and modify the size limit: General -> Repository size limit (MiB)
  • Enter an amount that is lower than the total size of the repo
  • Clone the repo locally
  • Add any file or modify an existing one
  • Commit and push the changes
  • See error message

Case 2:

  • Enter the groups page http://gdk.test:3000/users/root/groups
  • Create a new group
  • Enter the group settings and modify the size limit: General -> Repository size limit (MiB)
  • Enter an amount that is higher than the total size of the repo
  • Clone the repo locally
  • Add any file or modify an existing one such that the change will go over the repo size limit
  • Commit and push the changes
  • See error message
Edited by Jorge Cook

Merge request reports

Loading