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

move rpmlint-tests here and add CI? #14

Open
aspiers opened this issue Apr 7, 2017 · 7 comments
Open

move rpmlint-tests here and add CI? #14

aspiers opened this issue Apr 7, 2017 · 7 comments
Labels

Comments

@aspiers
Copy link
Member

aspiers commented Apr 7, 2017

I'm new to this rpmlint code, but I'm wondering why the tests are in a separate repo? If they were in this repo, then we could add CI (e.g. via Travis or similar) to ensure that any changes to code have the necessary corresponding changes to the test suite. It would also make it possible to automate local runs of the test suite. Am I missing something? Thanks!

@dirkmueller
Copy link
Member

rpmlint-tests predates the times when there was no proper testing upstream. It's​ purpose in my view is mostly obsolete except for integration testing which gives you the reason why it is separate: it is supposed to test the actual effective tool

@aspiers
Copy link
Member Author

aspiers commented Apr 7, 2017

Not disagreeing but I don't quite understand this, since AFAICS this repo contains checks which are not upstream. If the checks need to be upstreamed or ditched then we need an issue to track that. Otherwise we need downstream tests for the additional downstream checks, in which case my question still stands. Either way there is still work to be done -> reopening until it's clearer what the way forward is.

@aspiers aspiers reopened this Apr 7, 2017
@aspiers
Copy link
Member Author

aspiers commented Apr 7, 2017

FTR Dirk provided this list of rpmlint bugs which IIUC relates to what he said about the obsolescence issue.

@dirkmueller
Copy link
Member

That's what I tried to explain before. The rpmlint-tests are supposed to test the actual effective (e.g. the version that is used during building) tool, so thats why it is separate from this one (which is just containing checks that noone bothered doing properly upstream).

@mgerstner
Copy link
Contributor

I can see the purpose of testing rpmlint-mini, the final integration of all components. But it would also be helpful to get a more direct feedback when performing changes on the tests. Currently the rpmlint-tests in OBS often fail and nobody notices or cares, the original commiters often don't even realize it.

So we could additionally add GitHub CI or something similar that improves on this situation. What do you think @maltek, @jsegitz ?

@lnussel
Copy link
Member

lnussel commented Dec 11, 2019

OBS can integrate with github pull requests and automatically fork and build the package based on that AFAIK. That might be the easiest way as OBS is the target anyways. May want to talk to Adrian about that.

@jsegitz
Copy link
Contributor

jsegitz commented Jan 15, 2020

That sounds nice. I added it to our minutes for the next meeting so we can discuss it there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants