Mailinglist Archive: opensuse-packaging (127 mails)

< Previous Next >
Re: [opensuse-packaging] Re: Poll about Url vs URL in RPM preamble
On 08/11/2017 12:12 PM, Jan Ritzerfeld wrote:
Am Freitag, 11. August 2017, 00:02:38 CEST schrieb Jan Engelhardt:
On Thursday 2017-08-10 20:10, Jan Ritzerfeld wrote:
As I already told you, "Url" is perfect upper camel case! See


Sorry. I don't get it. The section explicitly cares about acronyms or unusual
constructs like "IPv6" or "iOS". Just have a look at the first example: "XML
HTTP request". "XMLHTTPRequest" is the incorrect one and thus "URL".
Or the second one: "new customer ID". "newCustomerID" is the incorrect one and
thus "URL".
And even "supports IPv6 on iOS?". "supportsIPv6OnIOS" is the incorrect one and
thus "URL".

I see that the linked style guide (this is a question of style as tag names are case insensitive) is from Google for Java. Since SUSE is not Google and RPM spec files are not Java, I don't see any reason why this style guide is applicable. Even if the linked guide is used just to say "what camel case is", there are other people who think acronyms and/or initialisms can/should be all caps in camel case. In fact this Fedora document has the URL tag name as all uppercase.

Is there an OpenSUSE document (a style guide) that says spec file tag names should be in upper camel case, and further clarifies that upper camel case means that initialisms and acronyms should be rendered like "Url"? If so, then so be it, otherwise I think the discussion here is what should such a document say.

Jason Craig
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >