rhsecapi icon indicating copy to clipboard operation
rhsecapi copied to clipboard

Migrate to setuptools, make python3 compatible, and reducing chattiness

Open kyle-walker opened this issue 6 years ago • 6 comments

Absolutely open to making changes to this PR, but a few of the changes included are:

  • Migrate to a setuptools packaging strategy. The benefit being that we can then leverage the "python setup.py " workflow for packaging and installation.

  • Made the utility python3 compliant, though this was done with a fairly heavy hand. Further work is remaining to help clean it up and make it more presentable.

  • Corrected the references to the older github page with the new RedHatOfficial/rhsecapi URL.

  • Reduced the chattiness of the utility outside of the query responses themselves. This translates mostly into setting a default logging level of WARNING so that we don't get the NOTICE messages unless we want them.

kyle-walker avatar Jul 24 '19 14:07 kyle-walker

It's been a few months, so - Bump!

kyle-walker avatar Nov 13 '19 18:11 kyle-walker

(Quite) a few more months. - Bump!

kyle-walker avatar Jul 27 '20 16:07 kyle-walker

@ryran is it possible to bump this? Still need more pythonic love :)

digitronik avatar Feb 04 '21 16:02 digitronik

Hi, any chance this could be merged at some point? The Python 3 support would be most desirable. Is there still something missing?

wyrmiyu avatar Jan 24 '23 11:01 wyrmiyu

Any updates on this?

malvads avatar Nov 22 '23 10:11 malvads

Any updates on this?

Just a heads-up, I have a COPR that auto-builds this fork on tag events.

(Edit: It helps to include the COPR in the message...) https://copr.fedorainfracloud.org/coprs/kwalker/rhsecapi/ (End Edit)

I also just went through the joy(more like pain) of moving the build process from rpkg to tito. The former seems to no longer be maintained upstream.

For anyone that is looking for a quick solution.

kyle-walker avatar Apr 03 '24 19:04 kyle-walker