Changing rpmlint call to use taskotron provided workdir
AbandonedPublic

Authored by tflink on Jun 27 2014, 12:34 PM.

Details

Summary

adding an argument to rpmlint so that it doesn't create its own tempdir

Test Plan

I've tested the change locally, seems to be working fine

Diff Detail

Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
tflink retitled this revision from to Changing rpmlint call to use taskotron provided workdir.Jun 27 2014, 12:34 PM
tflink updated this object.
tflink edited the test plan for this revision. (Show Details)
tflink added reviewers: kparal, roshi.
kparal added inline comments.Jun 27 2014, 2:30 PM
run_rpmlint.py
12–13

I wonder whether it might happen that those temporary rpmlint files override something in the directory full of RPMs. I think it would be safer to make a subdir in workdir and give it to -E. But if you don't see it necessary, please push.

roshi accepted this revision.Jun 27 2014, 3:56 PM

Works fine here.

Creating a subdir like @kparal suggested might not be bad practice. Will re-review if you decide to create a subdir.

This revision is now accepted and ready to land.Jun 27 2014, 3:56 PM
roshi requested changes to this revision.Jun 27 2014, 4:19 PM

Spoke too soon, I just got lucky with the build I picked.

This revision now requires changes to proceed.Jun 27 2014, 4:19 PM
tflink abandoned this revision.Jun 27 2014, 5:44 PM

This turned out to be not a bug but a problem with one of the clients. As such, the fix is not needed and I'm abandoning the revision

run_rpmlint.py
12–13

yeah, that makes sense. will make the change