abrt / faf

Platform for collection and analysis of packages and package crashes
GNU General Public License v3.0
46 stars 47 forks source link

Fix two bugs in handling of RPM headers #974

Closed mgrabovsky closed 3 years ago

mgrabovsky commented 3 years ago

These changes fix a few bugs in faf_rpm which made reposync unusable a while ago:

We should migrate away from autocommit eventually, though it's not yet clear to me what the practical implications are.

See commits for details.

Fixes #943 Fixes #958

mgrabovsky commented 3 years ago

This is going to need a bit more polishing in the related tests.

mgrabovsky commented 3 years ago

Ready for review now.

msrb commented 3 years ago

Ouch... these types of bugs are the worst. Thanks for looking into it @mgrabovsky :wink:

Review in progress now...

msrb commented 3 years ago

Looks good to me, but my knowledge of the code base is very very limited.

michalfabik commented 3 years ago

Looks good to me, LGTM.