#634 Fixes for explodedSRPM layouts.
Merged by onosek. Opened by tdawson.
tdawson/rpkg cent-sig-fixes  into  master

Download 634.patch

I would replace it with: os.path.split(file_path)[1]

1 new commit added

  • Use os.path.split

I would replace it with: os.path.split(file_path)[1]

Sounds good to me.
Changed, and verified that it works as intended.

Thx. I am working on fixing unittests for this PR. So I will have to add some changes anyway :-).

Is it really possible, that some sources contain such old hashes?

Do you want to continue with "unknown" hash type instead of raising MalformedLineError exception?

The sources coming from RHEL into git.centos.org are using a sha1 hash. So, ya, we're seeing at least some of those old hashes.

Do you want to continue with "unknown" hash type instead of raising MalformedLineError exception?

I'm fine raising an exception instead of "unknown".
I think at that point, we've given it our best shot at figuring it out.

Commit fc4dc688 fixes this pull-request

Pull-Request has been merged by onosek

Metadata