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

1042932 - Fix listings files in export distributor for both individual r... #445

Merged
merged 4 commits into from Feb 14, 2014

Conversation

barnabycourt
Copy link
Contributor

...epos and repo groups.
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1042932

@bowlofeggs bowlofeggs self-assigned this Feb 14, 2014
# build iso and publish via HTTPS
self._publish_isos(repo, config, progress_callback)
else:
export_dir = config.get(constants.EXPORT_DIRECTORY_KEYWORD)
util.generate_listing_files(export_dir, self.working_dir)

Choose a reason for hiding this comment

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

Is that call to _publish_isos not necessary in this branch of the if statement?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, if an export directory is specified we export the expanded form of the repository and not the ISO.

@bowlofeggs
Copy link

If you can just add a test asserting that listing file is excluded (and comment explaining why we want to exclude it), LGTM.

Oh, and please do remove the unit test from that doc block. Is that what your fancy IDEs do these days?

@barnabycourt barnabycourt merged commit 23e1cba into distributed-tasks Feb 14, 2014
@barnabycourt barnabycourt deleted the barnabycourt-1042932 branch February 14, 2014 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants