[New: openFATE 309995] libzypp: generate posix portable character set filenames

Feature added by: Ned Ulbricht (ned_ulbricht) Feature #309995, revision 1 Title: libzypp: generate posix portable character set filenames openSUSE-11.3: Unconfirmed Priority Requester: Important Requested by: Ned Ulbricht (ned_ulbricht) Partner organization: openSUSE.org 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_0... The repo alias should be groomed with undesirable characters stripped or translated before file and directory name generation. Business case (Partner benefit): openSUSE.org: 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. -- openSUSE Feature: https://features.opensuse.org/309995

Feature changed by: Andreas Jaeger (a_jaeger) Feature #309995, revision 2 Title: libzypp: generate posix portable character set filenames - openSUSE-11.3: Unconfirmed + openSUSE-11.3: Rejected by Andreas Jaeger (a_jaeger) + reject reason: Not done for 11.3 Priority Requester: Important + openSUSE Distribution: New + Priority + Requester: Desirable Requested by: Ned Ulbricht (ned_ulbricht) Partner organization: openSUSE.org 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_0... The repo alias should be groomed with undesirable characters stripped or translated before file and directory name generation. Business case (Partner benefit): openSUSE.org: 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. -- openSUSE Feature: https://features.opensuse.org/309995

Feature changed by: Tomáš Chvátal (scarabeus_iv) Feature #309995, revision 3 Title: libzypp: generate posix portable character set filenames openSUSE-11.3: Rejected by Andreas Jaeger (a_jaeger) reject reason: Not done for 11.3 Priority Requester: Important - openSUSE Distribution: New + openSUSE Distribution: Rejected by Tomáš Chvátal (scarabeus_iv) + reject reason: Feel free to open a bug if it breaks somewhere. + Otherwise we do not plan to do it. Priority Requester: Desirable Requested by: Ned Ulbricht (ned_ulbricht) Partner organization: openSUSE.org 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_0... The repo alias should be groomed with undesirable characters stripped or translated before file and directory name generation. Business case (Partner benefit): openSUSE.org: 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. -- openSUSE Feature: https://features.opensuse.org/309995
participants (1)
-
fate_noreply@suse.de