On 2016-08-23 10:19, Julien Enselme wrote:
Hi, Recently I opened a review [1] for a new sphinx theme: py3doc_enhanced_theme [2] The upstream name is sphinx_py3doc_enhanced_theme, so in my opinion, the the package should be named python-sphinx_py3doc_enhanced_theme. Furthermore, there's another sphinx theme with underscores in its name: python3-sphinx_rtd_theme. So I find it logical that the package is named this way. However, the reviewer (Zbigniew Jędrzejewski-Szmek) pointed out that: - Dashes are preferred (See the guidelines [3]) - Most themes are named with this pattern: python-sphinx-theme-<name> Therefore, it would be consistent to name the package: python-sphinx- theme-py3doc-enhanced and I think that's a good point. A middle ground would be to use provides so the package can be installed with both names, but that leaves the question about the "main" name unresolved. Any thoughts?
Using hyphens in the package name keeps the package collection more consistent, and adding a Provides entry that uses underscores will more or less seamlessly take care of the case where people installing it assume it uses those instead. It's a win-win to do it that way, IMO.
-- Garrett Holmstrom -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx