Skip to content

Conversation

@Turbo87
Copy link
Member

@Turbo87 Turbo87 commented May 28, 2024

Resolves #8739

This PR introduces a limit on the length of the description field. Descriptions like https://crates.io/crates/docker-rust-api seem unreasonably long, so I've decided for an arbitrary limit of 1000 characters for now. As mentioned on the linked discussion, our frontend currently truncates the description to 200 characters in some places, so 1000 as a hard limit seem okay to me.

@Turbo87 Turbo87 added C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works A-backend ⚙️ labels May 28, 2024
@Turbo87 Turbo87 requested a review from a team May 28, 2024 13:28
@codecov
Copy link

codecov bot commented May 28, 2024

Codecov Report

Attention: Patch coverage is 94.11765% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 88.64%. Comparing base (09527e2) to head (f273ca8).

Files Patch % Lines
src/controllers/krate/publish.rs 80.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8746   +/-   ##
=======================================
  Coverage   88.64%   88.64%           
=======================================
  Files         276      276           
  Lines       27549    27566   +17     
=======================================
+ Hits        24421    24437   +16     
- Misses       3128     3129    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Turbo87 Turbo87 merged commit c6f57da into rust-lang:main May 29, 2024
@Turbo87 Turbo87 deleted the description-limit branch May 29, 2024 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-backend ⚙️ C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants