Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #13452 - Support download_policy for importer #165

Merged
merged 1 commit into from Feb 1, 2016

Conversation

daviddavis
Copy link
Contributor

No description provided.

@daviddavis daviddavis changed the title [WIP] Fixes #13452 - Support download_policy for importer Fixes #13452 - Support download_policy for importer Feb 1, 2016
DOWNLOAD_IMMEDIATE = 'immediate',
DOWNLOAD_ON_DEMAND = 'on_demand',
DOWNLOAD_BACKGROUND = 'background'
].freeze
Copy link
Member

Choose a reason for hiding this comment

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

Why does this need to be explicitly frozen?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ruby doesn't warn you if you modify a constant that's an array.

@ehelms
Copy link
Member

ehelms commented Feb 1, 2016

I take it this download policy is only valid for yum repositories within Pulp?

@daviddavis
Copy link
Contributor Author

@ehelms yes, that's correct (for pulp 2.8 at least). There may be support for other content types in the future.

@ehelms
Copy link
Member

ehelms commented Feb 1, 2016

ACK

daviddavis added a commit that referenced this pull request Feb 1, 2016
Fixes #13452 - Support download_policy for importer
@daviddavis daviddavis merged commit a96e68e into Katello:master Feb 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants