Home_greyopenFATE - openSUSE feature tracking > #309995
Dashboard | Search | Sign up | Login

Please login or register to be able to edit or vote this feature.

libzypp: generate posix portable character set filenames

Feature state

openSUSE Distribution
New
openSUSE-11.3
Rejected Information

Description

Background:  Currently, libzypp automatically generates file names for .repo files in
/etc/zypp/repos.d
, and corresponding directory names in
/var/cache/zypp/{packages,raw,solv}/
.  From a very quick look at the source, it seems that the names are generated from the repo alias, with
"/"
translated to
"_"
, but no other translations.

Desired Feature:  Automatically generated file and directory names should be constructed using only the POSIX portable filename character set.

http://www.opengroup.org/onlinepubs/000095399/basedefs/xbd_chap03.html#tag_03_276

The repo alias should be groomed with undesirable characters stripped or translated before file and directory name generation.

User benefit:

Quick rationale: Spaces in filenames are EVIL!!!!!!

Extended rationale: libzypp should not make assumptions about the filesystem where files and directories may be stored. Some filesystems may choke on the filenames that are currently auto-generated. Further, many tools and scripts which iterate over files and directories implicitly presume that file/directory names don't contain weird characters.

Discussion


No comments yet

Last change: 2 years ago
Voting
Score: 0
  • Negative: 2
  • Neutral: 0
  • Positive: 2
Tags
Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint