Skip to content

io, OWFile: if URL without scheme, assume http by default#2393

Merged
astaric merged 3 commits intobiolab:masterfrom
kernc:from_url
Sep 1, 2017
Merged

io, OWFile: if URL without scheme, assume http by default#2393
astaric merged 3 commits intobiolab:masterfrom
kernc:from_url

Conversation

@kernc
Copy link
Contributor

@kernc kernc commented Jun 9, 2017

Issue

#2388

Includes
  • Code changes
  • Tests
  • Documentation

@jerneju
Copy link
Contributor

jerneju commented Jun 9, 2017

screenshot_20170609_122356

jerneju
jerneju previously requested changes Jun 9, 2017
Copy link
Contributor

@jerneju jerneju left a comment

Choose a reason for hiding this comment

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

Does not work.

@kernc
Copy link
Contributor Author

kernc commented Jun 9, 2017

ShouldMight work now.

@lanzagar
Copy link
Contributor

Tests fail. Please fix.

Test with more urls.

Why lstrip?

@codecov-io
Copy link

codecov-io commented Jul 7, 2017

Codecov Report

Merging #2393 into master will decrease coverage by 0.28%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2393      +/-   ##
==========================================
- Coverage   75.33%   75.05%   -0.29%     
==========================================
  Files         327      327              
  Lines       57595    57625      +30     
==========================================
- Hits        43388    43249     -139     
- Misses      14207    14376     +169

@kernc kernc force-pushed the from_url branch 5 times, most recently from 1b53592 to c39c24a Compare July 26, 2017 15:25
@kernc
Copy link
Contributor Author

kernc commented Jul 26, 2017

Tests fail. Please fix.

I don't know why the test fails. Please help.

Test with more urls.

What other URLs are reasonable to test with?

@janezd janezd added this to the 3.4.6 milestone Sep 1, 2017
@astaric astaric self-assigned this Sep 1, 2017
@astaric astaric force-pushed the from_url branch 2 times, most recently from f8e667f to 293f6d2 Compare September 1, 2017 10:27
@astaric
Copy link
Member

astaric commented Sep 1, 2017

The failing test on python3.4 was caused by a call to a method that has been added in Qt5. After replacing the call the test passes (locally), let's see what happens on travis.

@astaric astaric dismissed jerneju’s stale review September 1, 2017 10:30

This works now

FileWidget catches all exceptions
@astaric astaric merged commit 1f97b66 into biolab:master Sep 1, 2017
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.

6 participants