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

Clients: switched bin/rucio download to API Fix #490 #567 #669 #1222 #1263 #1254

Merged
merged 7 commits into from Jun 19, 2018
Merged

Clients: switched bin/rucio download to API Fix #490 #567 #669 #1222 #1263 #1254

merged 7 commits into from Jun 19, 2018

Conversation

TWAtGH
Copy link

@TWAtGH TWAtGH commented Jun 15, 2018

Clients: switched bin/rucio download to API Fix #490 #567 #669 #1222

if force_scheme:
schemes = force_scheme if isinstance(force_scheme, list) else [force_scheme]
else:
schemes = ['davs', 'gsiftp', 'https', 'root', 'srm', 'file']
Copy link
Member

Choose a reason for hiding this comment

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

As just discussed, so that this is documented here too. This hardcoding of schemes is bad. I understand that this is how the list_replicas with metalink=True requires it, but it really shouldn't. The default behaviour of list_replicas should be if schemes = [] is given, all protocols should be supplied. That's the only way how we can make proper protocol failover work. Due to release considerations, I am in favour of merging this, but we should address this eventually. See #1262

@TWAtGH TWAtGH changed the title Clients: switched bin/rucio download to API Fix #490 #567 #669 #1222 Clients: switched bin/rucio download to API Fix #490 #567 #669 #1222 #1263 Jun 18, 2018
Copy link
Member

@bari12 bari12 left a comment

Choose a reason for hiding this comment

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

I am approving this as we need it in the 1.17.0 release, but due to the length it is difficult to review ;)

@bari12 bari12 merged commit c2c0fc8 into rucio:next Jun 19, 2018
@TWAtGH TWAtGH deleted the feature-669-switch_clidownload_to_api branch September 5, 2018 14:28
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