-
Notifications
You must be signed in to change notification settings - Fork 28
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
use redirector's /server-info
(or just "OPTIONS" call)
#184
Comments
jwodder
added a commit
that referenced
this issue
Aug 10, 2020
jwodder
added a commit
that referenced
this issue
Aug 10, 2020
jwodder
added a commit
that referenced
this issue
Aug 10, 2020
jwodder
added a commit
that referenced
this issue
Aug 10, 2020
yarikoptic
added a commit
that referenced
this issue
Aug 12, 2020
* origin/master: (24 commits) Remove duplicate "requests" dependency get_instance(): Immediately return known instances that lack redirector URLs Raise helpful error if /server-info returns invalid version Make redirector report http://localhost:8081 as Girder URL Test uploading an unregistered dandiset Assert a certain code path is unreachable Test that lock_dandiset() is called when uploading Tests of lock_dandiset() Remove unused monkeypatches Configure flake8 to run on test code as well Detect nonexistent Dandisets when uploading ENH: upload - add locking of the dandiset Make pytest ignore DeprecationWarnings from responses Fetch all commits in test workflow Replace some occurrences of known_instances with get_instance() Test get_instance() CliVersionTooLowError → CliVersionTooOldError Move CLI version exceptions to dandi/exceptions.py Use semantic_version instead of packaging [GH-184] Add a get_instance() function ... Conflicts: dandi/download.py dandi/girder.py dandi/tests/test_download.py - conflicted with a linting change dandi/tests/test_utils.py - both added tests No conflicts but needed changes: dandi/utils.py -- needed to add dandiapi into returned dandi_instance
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A satellite issue to redirector's dandi/redirector#20 to be merged in after redirector gets its portion merged:
get_instance
to avoid direct use ofknown_instances
lookup table. Instead it should given an instance name (or even just a URL later on?), take a.redirector
url and request that information from it. If it is a URL provided -- should just talk to it directly (that would in the future allow to specify "instance" via URL not hardcoded name)cli-version
in the record, raise a dedicated exception which would explain that the instance demands minimal version X and there are some bad versions which must not be used (if any prescribed in that record)..url
fields from the record (instead of hardcoded ones inconsts.py
)The text was updated successfully, but these errors were encountered: