clearlinux / autospec

RPM packaging automation tool
GNU General Public License v3.0
100 stars 59 forks source link

Rich text READMEs result in messy %descriptions #145

Open mythi opened 6 years ago

mythi commented 6 years ago

Rich text READMEs in github that start with badges links to CI/etc. checks result in %descriptions that contain URL syntax to those badges.

Seen with, e.g., https://github.com/tpm2-software/tpm2-tss/

matthewrsj commented 6 years ago

A solution for badges was explored, but due to the many different formats used we ended up providing a way to override the detected summary via a configuration file. More info can be found in https://github.com/clearlinux/autospec/issues/34 and https://github.com/clearlinux/autospec/pull/81

Also in the README: https://github.com/clearlinux/autospec/blame/master/README.rst#L338

Closing as we have a solution.

phmccarty commented 6 years ago

After I implemented support for a description file, I still think this work is needed. It is on my TODO list.

mythi commented 6 years ago

On Fri, Apr 27, 2018 at 6:51 PM, Matthew Johnson wrote:

A solution for badges was explored, but due to the many different formats used we ended up providing a way to override the detected summary via a configuration file. More info can be found in #34 https://github.com/clearlinux/autospec/issues/34 and #81 https://github.com/clearlinux/autospec/pull/81

I'm using make autospecnew. AFAICS the override is not an option with it.