-
Notifications
You must be signed in to change notification settings - Fork 10.5k
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
Import paths #2733 #5099
Import paths #2733 #5099
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5099 +/- ##
==========================================
- Coverage 88.19% 84.09% -4.11%
==========================================
Files 162 162
Lines 10497 10497
Branches 1517 1517
==========================================
- Hits 9258 8827 -431
- Misses 965 1409 +444
+ Partials 274 261 -13
|
That’s the idea. However, mind that this pull request includes unrelated commits that you probably dragged from another pull request. |
c46d0cf
to
4073ebc
Compare
Could you find out why the pull request diff shows so many changes? I suspect you might have accidentally changed the line ending of the files you edited. |
You are right @Gallaecio. I had accidentally changed the |
Either that or simply create a new one. In pull requests, at least in Scrapy, we are not strict at all with commit cleanliness, and in fact not rebasing (and hence force-pushing) can make it easier for reviewers. Mind that you also have conflicts with |
Co-authored-by: Adrián Chaves <adrian@chaves.io>
Co-authored-by: Adrián Chaves <adrian@chaves.io>
Co-authored-by: Adrián Chaves <adrian@chaves.io>
…cess` section The example in the documentation doesn't take into account the project settings
This reverts commit 229352e.
062a8d5
to
e821e2d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to be careful when editing news.rst
. Unlike other pages in the documentation, this page covers past versions where the code (e.g. imports available) might have been different. For example, it seems there was no scrapy.Item
in 0.8, so the last change in news.rst
is definitely wrong.
Since one of the goals of this change is to keep all documentation links to different import paths working, I would suggest not changing the news.rst
page at all.
The changes look good to me. I think we can merge as soon as we address #5099 (comment) and the issue reported by CI (sounds like |
Hello @Gallaecio, could you guide me on how to fix the lines-ending error? Because, I have tried the |
@marlenachatzigrigoriou I must say I’m not sure myself how to do it. I suggest you try https://stackoverflow.com/a/21014534/939364. If that does not work either, let me know, I’ll give it a try myself. |
@Gallaecio I think the way you suggested is not for this case. " for the commits you haven’t pushed yet" and I've already committed and pushed the changes in commits that contain more than one file. |
I’ll give it a try when I get a chance. |
Hello @Gallaecio! @marlenachatzigrigoriou and I have fixed the lines ending problem in spiders.rst & practices.rst. It would be nice if you could check the files, so the pull request may hopefully get merged. Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me, thank you for such a thorough change.
@Gallaecio please check this file and let me know if this is the way that I should carry this issue, so I will be able to continue with the other files.
Fixes #2733.