Skip to content

Allow use of file:// urls in repos during development.#4801

Merged
ericholscher merged 3 commits into
masterfrom
allow-local-files-in-dev
Nov 1, 2018
Merged

Allow use of file:// urls in repos during development.#4801
ericholscher merged 3 commits into
masterfrom
allow-local-files-in-dev

Conversation

@ericholscher

@ericholscher ericholscher commented Oct 24, 2018

Copy link
Copy Markdown
Member

Closes #4061

@codecov

codecov Bot commented Oct 24, 2018

Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (master@9917933). Click here to learn what that means.
The diff coverage is 33.33%.

@@            Coverage Diff            @@
##             master    #4801   +/-   ##
=========================================
  Coverage          ?   76.26%           
=========================================
  Files             ?      158           
  Lines             ?     9984           
  Branches          ?     1262           
=========================================
  Hits              ?     7614           
  Misses            ?     2025           
  Partials          ?      345
Impacted Files Coverage Δ
readthedocs/projects/validators.py 78.46% <33.33%> (ø)

valid_schemes = public_schemes
if allow_private_repos:
valid_schemes += private_schemes
if getattr(settings, 'DEBUG'): # allow `file://` urls in dev

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I use git daemon for local dev

Neat.

@ericholscher ericholscher merged commit 7202e08 into master Nov 1, 2018
@stsewd stsewd deleted the allow-local-files-in-dev branch November 1, 2018 15:37
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.

2 participants