Added check for filelists.xml size check before RPM package uploading
What does this MR do and why?
Added additional check of filelist.xml
file before RPM package push as limitation of packages count per single repository.
Screenshots or screen recordings
How to set up and validate locally
Before testing POST /api/v4/projects/:project_id/packages/rpm
endpoint, manually update size
field of the selected repository's 'filelists.xml' file in order to receive the expected exception. IRL file size updates will be handled by the appropriate service.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #384263 (closed)