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

DM-24352: Add new link and auto transfer modes and default to auto for 2to3 #222

Merged
merged 2 commits into from Apr 6, 2020

Conversation

timj
Copy link
Member

@timj timj commented Apr 4, 2020

No description provided.

@timj timj requested a review from TallJimbo April 4, 2020 22:48
@@ -172,7 +172,7 @@ def convert(gen2root, gen3root, instrumentClass, calibFilterType,
instrument.applyConfigOverrides(ConvertRepoTask._DefaultName, convertRepoConfig)
if convertRepoConfig.raws.instrument is None:
convertRepoConfig.raws.instrument = instrumentClass
convertRepoConfig.raws.transfer = "symlink"
convertRepoConfig.raws.transfer = "auto"
Copy link
Member

Choose a reason for hiding this comment

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

This really needs to be controllable from the command-line. The right way to do that is to leverage the pex_config-override argument parsing that's in ctrl_mpexec, so maybe that can wait until we make this a butler subcommand.

But we also shouldn't let the lack of command-line flexibility now bias our choice of default behavior (especially down in daf_butler; see PR comment there). It'd be better to add an argparse option here for transfer mode manually, even if we do later replace it with more general pex_config stuff.

@timj timj merged commit 22095ce into master Apr 6, 2020
@timj timj deleted the tickets/DM-24352 branch April 6, 2020 20:16
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