Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: .spec linting support #115

Closed
yac opened this issue Mar 28, 2017 · 3 comments
Closed

RFE: .spec linting support #115

yac opened this issue Mar 28, 2017 · 3 comments
Assignees

Comments

@yac
Copy link
Contributor

yac commented Mar 28, 2017

In order for rdopkg to fix the .spec instead of just warning about problem
and failing (specfile.sanity_check), more transparent linting mechanism is needed that
allows:

@yazug
Copy link
Contributor

yazug commented Apr 26, 2017

I like the idea!

@bregman-arie
Copy link

It's been a long time since this was opened and we still hit the issue all the time. Do you think we'll a solution soon?

@yac yac added the next label Feb 23, 2018
@yac yac removed the next label Oct 23, 2018
@yac yac added the next label Jan 4, 2019
@yac
Copy link
Contributor Author

yac commented Jan 4, 2019

I finally have free cycles to start working on this along with related #66 \o/

sf-project-io pushed a commit that referenced this issue Feb 25, 2019
Switch from old sanity_check to new lint interface.

This shouldn't change functionality expect
slightly different output on .spec errors.

Related: #115

Change-Id: I3d3dc6819292fb19783f914e92f6e75afe010e51
sf-project-io pushed a commit that referenced this issue Feb 26, 2019
Errors are highlighted in red, warnings in yellow, and success in green.

First word of lint message is printed in bold as it's usually the error
name.

This makes parsing lint output much easier/faster \o/

Note: Colors are disabled for non-interactive stdout by default.

Related: #115

Change-Id: I51cc66c089cea79d893e2e833dfb5e6fa4e16c55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants