Commit fe24e079 authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'trizzi-master-patch-68885' into 'master'

Update the max NuGet packages returned

See merge request gitlab-org/gitlab!52265
parents 91fd3b8f 6cf45d60
...@@ -5,7 +5,7 @@ module Packages ...@@ -5,7 +5,7 @@ module Packages
class PackageFinder class PackageFinder
include ::Packages::FinderHelper include ::Packages::FinderHelper
MAX_PACKAGES_COUNT = 50 MAX_PACKAGES_COUNT = 300
def initialize(current_user, project_or_group, package_name:, package_version: nil, limit: MAX_PACKAGES_COUNT) def initialize(current_user, project_or_group, package_name:, package_version: nil, limit: MAX_PACKAGES_COUNT)
@current_user = current_user @current_user = current_user
......
---
title: Update max number of NuGet packages returned
merge_request: 52265
author:
type: fixed
...@@ -612,3 +612,7 @@ Plan.default.actual_limits.update!(generic_packages_max_file_size: 100.megabytes ...@@ -612,3 +612,7 @@ Plan.default.actual_limits.update!(generic_packages_max_file_size: 100.megabytes
``` ```
Set the limit to `0` to allow any file size. Set the limit to `0` to allow any file size.
### Package versions returned
When asking for versions of a given NuGet package name, the GitLab Package Registry returns a maximum of 300 versions.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment