-
Notifications
You must be signed in to change notification settings - Fork 165
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
Spelling fixes in raster addons documentation #664
Conversation
Also, some links had some spaces shown in the rendered page, since the line was wrapped in the middle of the URL. It is now fixed.
And necessary indentation fixes to the touched header, to be consistent.
Indeed, I checked it up, MegaLinter seems a good upgrade to the project. It seems that MegaLinter was based off a rejected PR of Super-Linter, which is the GitHub general linter used here. So, that would mean replacing this, plus the Black and flake8 actions, since they are already included? I'm thinking of using it locally for the following checks, if possible. However, many |
Great work! I quickly went through some of the commits, but I am not sure how the review process works. One can review and comment or approve each commit separately? If I open a commit, there is this green button 'Review changes'. Is that button about the commit I opened, or the whole list? |
That is one I still wanted to port to Python, but to be honest sort of forgot about. It is mostly R code, should not be too difficult to change to Python. I'll have a look at it. |
Thanks for your great work. BTW: in GRASS-core, we also have the script |
For this, we have
They are naturally pretty invasive, so some care needs to be taken with the open large pull requests (maybe skip indentation of those for now till they have been merged). |
Of course. I was thinking of maybe having a preparatory pull request if we were to have a CI that would make sure it doesn't get dirty again. |
Ok, for my notes that I took, finally there isn't much more than the sentence in So once everyone who wants to review has reviewed, it will be ready to merge. |
@ecodiv You can open the commits or the files, and press the "+" like @neteler showed. A comment or suggested change can be made for the cumulative code changed in the PR (like if additionnal commits change something and it is still not right). See https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request if you want to learn more. :) |
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.
I found unnecessary lines changed in a diff.
Remove inserted lines from diff
(hopefully addressed in #667) |
After resolving the last two opened conversations, I think the PR can be merged. |
Sorry, unrelated to this already long PR discussion, but anyway:
Maybe, maybe not, my guess is that MegaLinter and Super-Linter diverged now enough that each has its own merits.
Not necessarily, direct and possibly finer control over Flake8 and Black (and possibly Pylint) is likely desired, e.g., due to changes in Black versions. |
If there are no objections, I'll merge this PR. Thanks for your efforts @echoix! |
Looks good to me! I will be ready to continue next weekend! |
Jusr to let you know that its been two weekends I'm playing around with MegaLinter in my fork. I'm learning how it works and configuring it correctly to be confident about it when it will be time to make a PR. Last week, the maintainer of MegaLinter jumped into my test PR, and made some performance changes to MegaLinter itself with what I observed. He even forked my fork to test an even more optimal configuration. I'm writing it here just to not make some duplicated work if someone though of implementing it while I'm working on it. My goal is to try it out, have it here, and one day have it in the core repo too. |
* Spelling fixes in r.accumulate * Spelling fixes in r.flexure * Spelling fixes in r.agent * Fix r.connectivity page description truncated * Spelling fixes r.area * Spelling fixes in r.area.createweight. Also, some links had some spaces shown in the rendered page, since the line was wrapped in the middle of the URL. It is now fixed. * Spelling fixes in r.connectivity.corridors * Spelling fixes in r.basin * Spelling fixes for r.bearing.distance * Spelling fixes for r.bioclim * Spelling fixes in r.bitpattern. And necessary indentation fixes to the touched header, to be consistent. * Spelling fixes in r.catchment * Spelling fixes in r.category.trim * Spelling fixes for r.change.info * Spelling fixes for r.clip * Spelling fixes for r.colors.cubehelix * Spelling fixes for r.colors.matplotlib * Spelling fixes for r.colors.out_sld * Spelling fixes in r.confusionmatrix * Spelling fixes in r.cpt2grass * Spelling fix in r.crater * Spelling fixes in r.denoise * r.diversity: HTML formating of parameter in manual * r.droka: Spelling fixes * r.droka: Spelling fixes and some english comments * r.edm.eval: Spelling fixes * r.edm.eval: HTML formating of parameters * r.euro.ecosystem: Spelling fixes * r.exdet: Spelling fixes * r.fidimo: Spelling fixes * r.fill.category: Spelling fixes * r.findtheriver: Spelling fixes * r.flexure: Spelling fixes * r.flowfill: Spelling fixes * r.forestfrag: Spelling fixes * r.futures.demand: Spelling fixes * r.futures.devpressure: Spelling fixes * r.futures.parallelpga: Spelling fixes * r.futures.pga: Spelling fixes * r.futures.potential: Spelling fixes * r.futures.potential: Spelling fixes * r.futures.potsurface: Spelling fixes * r.futures: Comment old SVN date * r.futures.calib: Spelling fixes * r.futures.demand: Additional spelling fixes * r.droka: Apply translation suggestions
Following some work already pulled recently, I continued proofreading the documentation and strings from the documentation, staying in the raster modules. Since I've stopped working on it without finishing the 167 subfolders (41 folders done on 167), I think it is still valuable to fine-tune and pull these changes, since I still passed through 20k lines of code.
All modules from
r.accumulate
tor.futures
(alphabetically), inclusively, were proofread and changed if needed, exceptr.estimap.recreation
andr.damflood
. I skippedr.estimap.recreation
since it appears to be developed on an external GitLab repository, so fetching upstream changes are more appropriate. Forr.damflood
, the changes are bigger and more complex, they are in another branch and the pull request will follow.I saw that the
r.edm.eval
add-on is only a shell script, that seems to be what add-ons were in GRASS 6 if I understood correctly. Does that mean that it is incompatible with GRASS 7 or GRASS 8?I have some other notes that I took on a paper when working on this, but unfortunately I don't have the paper with me at the moment, so I will add the revision comments to the specific lines where I wasn't sure either tomorrow or later, anyway this PR should take a couple days to review.