Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

Refactor MetadataFileContext to DRY things up #2565

Merged
merged 1 commit into from Jun 1, 2016
Merged

Conversation

seandst
Copy link
Contributor

@seandst seandst commented May 12, 2016

This appears to have been copied over to pulp_rpm at some point
and subsequently modified to have yum-specific behavior. Behaviors
that were not yum-specific and the related tests have been pushed
back to platform.

no checksum is added to the filename
:type checksum_type: str or None
:param no_checksum_filenames: file names that *will not* have a checksum prepended to them
:type no_checksum_filenames: list or None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick, but maybe name this "dont_checksum_filenames"? It's longer which is a negative, but it's more verby and maybe clearer (not that the param docs aren't clear). Feel free to ignore.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or dont_checksum_list maybe?

@bowlofeggs
Copy link
Contributor

LGTM. All comments are optional.

This appears to have been copied over to pulp_rpm at some point
and subsequently modified to have yum-specific behavior. Behaviors
that were not yum-specific and the related tests have been pushed
back to platform.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants