Project

Profile

Help

Issue #8004

closed

limit allowed characters for rpm distribution name

Added by thm over 3 years ago. Updated over 2 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Ticket moved to GitHub: "pulp/pulp_rpm/2261":https://github.com/pulp/pulp_rpm/issues/2261


The name of an rpm distribution will be used to construct the config.repo file at the root of the distribution. More specifically, it will be used as the section header ([name]) for the repo information therein.

Currently, pulp rpm allows to contain that name characters like '/', which yum/dnf will consider invalid. pulp rpm should check and disallow using names containing such chars.

According to yum.conf(5) and the (source)[https://github.com/rpm-software-management/libdnf/blob/dnf-4-master/libdnf/utils/utils.hpp#L4], allowed chars are ascii lower and upper case alphabetic letters, digits, and these chars: -_.: only.


Related issues

Related to RPM Support - Issue #8005: allow setting a "name" (i.e. description) for a repoCLOSED - DUPLICATEActions
Actions #1

Updated by dalley over 3 years ago

  • Triaged changed from No to Yes
Actions #2

Updated by dalley over 3 years ago

  • Related to Issue #8005: allow setting a "name" (i.e. description) for a repo added
Actions #3

Updated by pulpbot over 2 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF