rpm-software-management / spec-cleaner

spec-cleaner
BSD 3-Clause "New" or "Revised" License
28 stars 34 forks source link

Create two new groups for Haskell packages #198

Closed peti closed 7 years ago

peti commented 7 years ago

Suggested by @jengelh.

jengelh commented 7 years ago

We should stick to one group - or what's the use for two? And how is the user going to tell the difference?

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 94.161% when pulling df6d3110d162712b508aed8af77e96689583b514 on opensuse-haskell:master into eadfbbf91c7cd4c040b4764cb8cbd718e650d775 on openSUSE:master.

peti commented 7 years ago

Well, Devel/Languages/Haskell is used for tools and executables that Haskell packages install. Devel/Libraries/Haskell, on the other hand, is used for re-usable libraries found in -devel packages.

What else would you suggest?

peti commented 7 years ago

FYI: all spec files in https://build.opensuse.org/project/show/devel:languages:haskell:lts:9 have been re-generated with the new group tags. See https://build.opensuse.org/package/rdiff/devel:languages:haskell:lts:9/ghc-aeson?linkrev=base&rev=5 for a concrete example.

jengelh commented 7 years ago

If I look at e.g. Perl, only one really seems to be used.

   1121 Group:Development/Libraries/Perl
     26 Group:Development/Languages/Perl

(I also don't know why some have a prevalence in /Libraries/ and others in /Languages/. It makes no sense.)

peti commented 7 years ago

Well, the situation in our environment is different:

$ grep -l Development/Libraries/Haskell */*spec | wc -l             
2406
$ grep -l Development/Languages/Haskell */*spec | wc -l 
2462

As I've asked before: what exactly are you suggesting? It's one thing to say that you're unhappy about these choices, but it's quite another to actually suggest an alternative.

jengelh commented 7 years ago

what exactly are you suggesting?

That:

We should stick to one group

Which probably should mean: replace Development/Languages/Other by Development/Languages/Haskell.

scarabeusiv commented 7 years ago

Well the most important part is to add it to the wiki and rpm :) spec-cleaner should inherit it then.

peti commented 7 years ago

I'm not sure what you mean by "stick to one group". We are using two groups already.

replace Development/Languages/Other by Development/Languages/Haskell

What about those 2400 occurrences of Development/Libraries/Other? Do you think we should keep those?

jengelh commented 7 years ago

What about those 2400 occurrences of Development/Libraries/Other? Do you think we should keep those?

Should be replaced in the long run as well, by, for example, /C and C++. It might be reasonable though to leave "niche" languages (in the context of openSUSE) - like Fortran - in /Other.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 94.161% when pulling d84ecbece2c02fbc484f1154b6378e1ead47e954 on opensuse-haskell:master into a82a7330980afa8488d40c0827d7820762942ce7 on openSUSE:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 94.161% when pulling 907dcd9896937d779573cad8118a7de2611ccb70 on opensuse-haskell:master into f2c2a14c92fb7ac1ffb00a9447cdaa6b5843f52d on openSUSE:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 94.161% when pulling 907dcd9896937d779573cad8118a7de2611ccb70 on opensuse-haskell:master into f2c2a14c92fb7ac1ffb00a9447cdaa6b5843f52d on openSUSE:master.