openhab / openhab-linuxpkg

Repo for Linux packages
Eclipse Public License 2.0
18 stars 33 forks source link

Higher maturity packages should be in lower distributions too #56

Closed BClark09 closed 7 years ago

BClark09 commented 7 years ago

DEB

RPM

Choose between:

BClark09 commented 7 years ago

@ThomDietrich ;)

ThomDietrich commented 7 years ago

Thanks ;)

BClark09 commented 7 years ago

@ThomDietrich I've updated the description. For RPM formats there is no way of being able have having one file for multiple repos, and I think the RPM spec recommends against having a single package in one place. In your opinion, is the option selected for RPM the most appropriate one?

ThomDietrich commented 7 years ago

I'm struggling to decide. For me it feels natural to have the newest stable version in all repositories as long as there is no testing or snapshot build. So I would tend towards option 1 - however it might be an idea to check other repositories and how they handle cases like this. Did you do that?

BClark09 commented 7 years ago

I found very few examples of snapshot directories, but none of them had stable rpms inside the lower distributions.

1, asks to add either snapshot or stable. If you look at what snapshot provides, you'll see no stable rpm version. 2 is an example repo file, much like we are currently suggesting for openHAB, again same as above.

It makes more sense to to it this way for RPM than it would for Debian, because generally the contents must be much stricter and relevant to single files. If you have two files coming from the same place you need to make sure that they're identical. There's no unstable -> testing -> stable pattern in CentOS or Redhat either.