Project

Profile

Help

Issue #8004

limit allowed characters for rpm distribution name

Added by thm 3 months ago. Updated about 2 months ago.

Status:
NEW
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

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 repoNEW<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by dalley 3 months ago

  • Triaged changed from No to Yes

#2 Updated by dalley 3 months ago

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

Please register to edit this issue

Also available in: Atom PDF