Project

Profile

Help

Story #6648

closed

As a user, I can use longer urls in models for collection metadata URL fields

Added by osapryki over 4 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 72
Quarter:

Description

At the moment URL fields (documentation, homepage, issues, repository) in CollectionVersion model are defined as models.URLField(max_length=128, ...). This is not enough sometimes as URL length can easily exceed 128 symbols length.

We had several reports from our customers that collection import failed due to bigger URL length used in collection metadata.

Fields length should be increased to reasonably bigger size.

Actions #1

Updated by bmbouter over 4 years ago

  • Project changed from 34 to Ansible Plugin

Make them 2000 char limit, aligned with the max limit of urls in browsers.

Actions #2

Updated by fao89 over 4 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fao89
  • Sprint set to Sprint 72
Actions #3

Updated by fao89 over 4 years ago

  • Status changed from ASSIGNED to POST
Actions #4

Updated by bmbouter over 4 years ago

  • Tracker changed from Issue to Story
  • Subject changed from Increase size in models for collection metadata URL fields to As a user, I can use longer urls in models for collection metadata URL fields
  • % Done set to 0

Added by Fabricio Aguiar over 4 years ago

Revision d996c5e3 | View on GitHub

Increased max length for CollectionVersion fields

https://pulp.plan.io/issues/6648 closes #6648

Actions #6

Updated by Anonymous over 4 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #7

Updated by fao89 over 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions #8

Updated by fao89 over 4 years ago

  • Sprint/Milestone set to 0.2.0

Also available in: Atom PDF