Skip to content

Conversation

@redapple
Copy link
Contributor

@redapple redapple commented Mar 7, 2017

Related to #2433 (comment)

@codecov-io
Copy link

codecov-io commented Mar 9, 2017

Codecov Report

Merging #2632 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2632      +/-   ##
==========================================
+ Coverage   84.17%   84.18%   +<.01%     
==========================================
  Files         162      162              
  Lines        9088     9093       +5     
  Branches     1347     1348       +1     
==========================================
+ Hits         7650     7655       +5     
  Misses       1177     1177              
  Partials      261      261
Impacted Files Coverage Δ
scrapy/commands/runspider.py 73.52% <100%> (+0.39%)
scrapy/commands/list.py 80% <100%> (ø)
scrapy/settings/default_settings.py 98.63% <100%> (ø)
scrapy/commands/version.py 91.11% <100%> (ø)
scrapy/commands/settings.py 72.72% <100%> (ø)
scrapy/commands/startproject.py 100% <100%> (ø)
scrapy/spiderloader.py 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d3f8f3d...9628a73. Read the comment docs.

@redapple redapple changed the title [WIP] Add SPIDER_LOADER_WARN_ONLY to toggle between spiderloader failure and warning Add SPIDER_LOADER_WARN_ONLY to toggle between spiderloader failure and warning Mar 9, 2017
@redapple
Copy link
Contributor Author

redapple commented Mar 9, 2017

@vshlapakov , would this change work for you?

@redapple redapple added this to the v1.4 milestone Mar 9, 2017
SCHEDULER_PRIORITY_QUEUE = 'queuelib.PriorityQueue'

SPIDER_LOADER_CLASS = 'scrapy.spiderloader.SpiderLoader'
SPIDER_LOADER_WARN_ONLY = False
Copy link
Member

Choose a reason for hiding this comment

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

Could you please add docs for this option? Or are you waiting for @vshlapakov's feedback?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kmike , docs updated.

@redapple
Copy link
Contributor Author

redapple commented Mar 9, 2017

Sorry, I'll add some doc.
But yes, I was also asking if this solution would work (name of option still up of course)

@redapple redapple changed the title Add SPIDER_LOADER_WARN_ONLY to toggle between spiderloader failure and warning [WIP] Add SPIDER_LOADER_WARN_ONLY to toggle between spiderloader failure and warning Mar 9, 2017
@vshlapakov
Copy link

@redapple The changes looks good to me, thanks Paul! cc @chekunkov

@redapple redapple changed the title [WIP] Add SPIDER_LOADER_WARN_ONLY to toggle between spiderloader failure and warning [WIP] Add SPIDER_LOADER_WARN_ONLY to toggle between spiderloader failure or warning Mar 9, 2017
@chekunkov
Copy link
Contributor

LGTM

@redapple
Copy link
Contributor Author

redapple commented Mar 9, 2017

phew, f2ac24e was the whole point of this... ;)

@redapple redapple changed the title [WIP] Add SPIDER_LOADER_WARN_ONLY to toggle between spiderloader failure or warning [MRG] Add SPIDER_LOADER_WARN_ONLY to toggle between spiderloader failure or warning Mar 9, 2017
@kmike kmike merged commit 9c69e90 into scrapy:master Mar 9, 2017
@kmike
Copy link
Member

kmike commented Mar 9, 2017

Thanks @redapple, @vshlapakov and @chekunkov!

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.

5 participants