diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-10 15:09:27 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-10 15:09:27 +0300 |
commit | 43d1fef975a24dcaac3ad9bbf20ae9839f5ec9ed (patch) | |
tree | 7b68a14e21158abeffebd40f32ca840aa55e6d77 /app/services/packages | |
parent | 19a36e759b6ba949c5e37e6e40e9f1a230106aa0 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/packages')
-rw-r--r-- | app/services/packages/pypi/create_package_service.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/services/packages/pypi/create_package_service.rb b/app/services/packages/pypi/create_package_service.rb index 087a8e42a66..fca7b1bca37 100644 --- a/app/services/packages/pypi/create_package_service.rb +++ b/app/services/packages/pypi/create_package_service.rb @@ -9,7 +9,13 @@ module Packages ::Packages::Package.transaction do meta = Packages::Pypi::Metadatum.new( package: created_package, - required_python: params[:requires_python] || '' + required_python: params[:requires_python] || '', + metadata_version: params[:metadata_version], + author_email: params[:author_email], + description: params[:description], + description_content_type: params[:description_content_type], + summary: params[:summary], + keywords: params[:keywords] ) unless meta.valid? |