-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update to miniconda 24.4, add earthaccess and pyephem #18
Conversation
WalkthroughThe recent update to version 24.4.0 includes upgrading to Miniconda 24.4.0-0, setting the matplotlib backend based on the OS, and adding the Changes
Sequence Diagram(s) (Beta)N/A Assessment against linked issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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.
Actionable comments posted: 2
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (6)
- CHANGELOG.md (1 hunks)
- README.GMAO (1 hunks)
- README.NAS (1 hunks)
- README.NCCS (1 hunks)
- README.md (1 hunks)
- install_miniconda.bash (3 hunks)
Files skipped from review due to trivial changes (3)
- README.GMAO
- README.NAS
- README.NCCS
Additional Context Used
LanguageTool (9)
CHANGELOG.md (4)
Near line 41: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... - Updated to Python 3.12 by default. - Updated to use Micromamba by default on Linux. ...
Rule ID: ENGLISH_WORD_REPEAT_BEGINNING_RULE
Near line 79: Consider using either the past participle “defaulted” or the present participle “defaulting” here.
Context: ... by default on macOS - mamba is still default on Linux - Explicit Conda Packages -...
Rule ID: BEEN_PART_AGREEMENT
Near line 114: Consider using a different verb for a more formal wording.
Context: ...e a Git master branch of the package to fix issues with Python3 and scipy - Req...
Rule ID: FIX_RESOLVE
Near line 290: Consider adding two commas here.
Context: ... are from Anaconda, while conda will of course install other dependencies as well. For...
Rule ID: OF_COURSE_COMMAREADME.md (5)
Near line 11: Consider a shorter alternative to avoid wordiness.
Context: ...Kouatchou. We do not ## Installation In order to use the install script, you can run: `...
Rule ID: IN_ORDER_TO_PREMIUM
Near line 12: The word ‘install’ is not a noun.
Context: ...t ## Installation In order to use the install script, you can run: ``` ./install_min...
Rule ID: A_INSTALL
Near line 18: The word ‘install’ is not a noun.
Context: ...prefix /opt/GEOSpyDwill create an install at:
/opt/GEOSpyD/24.4.0-0_py3.12/YY...
Rule ID: A_INSTALL
Near line 23: The word ‘install’ is not a noun.
Context: ...`` where YYYY-MM-DD is the date of the install. We use a date so that if the stack is ...
Rule ID: A_INSTALL
Near line 24: The word ‘install’ is not a noun.
Context: ...the stack is re-installed, the previous install is not overwritten. ## Usage ``` Usag...
Rule ID: A_INSTALL
ShellCheck (58)
install_miniconda.bash (58)
[warning] 38-38: NODE appears unused. Verify use (or export if used externally).
[info] 286-286: Double quote to prevent globbing and word splitting.
[info] 287-287: Double quote to prevent globbing and word splitting.
[warning] 288-288: GFORTRAN_PATCH appears unused. Verify use (or export if used externally).
[info] 288-288: Double quote to prevent globbing and word splitting.
[info] 354-354: Double quote to prevent globbing and word splitting.
[info] 386-386: Double quote to prevent globbing and word splitting.
[info] 386-386: Double quote to prevent globbing and word splitting.
[info] 391-391: Double quote to prevent globbing and word splitting.
[info] 391-391: Double quote to prevent globbing and word splitting.
[info] 391-391: Double quote to prevent globbing and word splitting.
[info] 391-391: Double quote to prevent globbing and word splitting.
[info] 413-413: Double quote to prevent globbing and word splitting.
[info] 413-413: Double quote to prevent globbing and word splitting.
[info] 413-413: Double quote to prevent globbing and word splitting.
[warning] 425-425: Use "$@" (with quotes) to prevent whitespace problems.
[info] 425-425: Double quote to prevent globbing and word splitting.
[info] 430-430: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 432-432: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 433-433: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 434-434: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[warning] 434-434: Use "$@" (with quotes) to prevent whitespace problems.
[info] 434-434: Double quote to prevent globbing and word splitting.
[info] 435-435: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 439-439: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 441-441: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 442-442: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 443-443: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[warning] 443-443: Use "$@" (with quotes) to prevent whitespace problems.
[info] 443-443: Double quote to prevent globbing and word splitting.
[info] 444-444: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 454-454: Double quote to prevent globbing and word splitting.
[info] 467-467: Double quote to prevent globbing and word splitting.
[info] 496-496: Double quote to prevent globbing and word splitting.
[info] 508-508: Double quote to prevent globbing and word splitting.
[info] 590-590: Double quote to prevent globbing and word splitting.
[info] 606-606: Double quote to prevent globbing and word splitting.
[info] 645-645: Double quote to prevent globbing and word splitting.
[info] 650-650: Double quote to prevent globbing and word splitting.
[warning] 659-659: Use "${var:?}" to ensure this never expands to / .
[info] 659-659: Double quote to prevent globbing and word splitting.
[info] 662-662: Double quote to prevent globbing and word splitting.
[info] 662-662: Double quote to prevent globbing and word splitting.
[info] 664-664: Double quote to prevent globbing and word splitting.
[info] 666-666: Double quote to prevent globbing and word splitting.
[info] 666-666: Double quote to prevent globbing and word splitting.
[info] 670-670: Double quote to prevent globbing and word splitting.
[info] 670-670: Double quote to prevent globbing and word splitting.
[info] 672-672: Double quote to prevent globbing and word splitting.
[info] 676-676: Double quote to prevent globbing and word splitting.
[info] 676-676: Double quote to prevent globbing and word splitting.
[info] 683-683: Double quote to prevent globbing and word splitting.
[info] 683-683: Double quote to prevent globbing and word splitting.
[info] 685-685: Double quote to prevent globbing and word splitting.
[info] 685-685: Double quote to prevent globbing and word splitting.
[info] 690-690: Double quote to prevent globbing and word splitting.
[info] 699-699: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 699-699: Double quote to prevent globbing and word splitting.
Markdownlint (4)
README.md (4)
19: null
Fenced code blocks should be surrounded by blank lines
14: null
Fenced code blocks should have a language specified
19: null
Fenced code blocks should have a language specified
28: null
Fenced code blocks should have a language specified
Additional comments not posted (5)
README.md (1)
15-15
: Update the Miniconda version in the example command to match the new default version.- ./install_miniconda.bash --python_version 3.12 --miniconda_version 24.4.0-0 --prefix /opt/GEOSpyD + ./install_miniconda.bash --python_version 3.12 --miniconda_version 24.4.0-0 --prefix /opt/GEOSpyDLikely invalid or redundant comment.
CHANGELOG.md (1)
30-33
: Confirm the addition of theearthaccess
andpyephem
packages.install_miniconda.bash (3)
62-62
: Update the default Miniconda version in the script to match the new version.
578-578
: Confirm the addition of theearthaccess
package installation.
626-626
: Confirm the addition of thepyephem
package installation.
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.
Actionable comments posted: 1
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- CHANGELOG.md (1 hunks)
Additional Context Used
LanguageTool (4)
CHANGELOG.md (4)
Near line 41: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... - Updated to Python 3.12 by default. - Updated to use Micromamba by default on Linux. ...
Rule ID: ENGLISH_WORD_REPEAT_BEGINNING_RULE
Near line 79: Consider using either the past participle “defaulted” or the present participle “defaulting” here.
Context: ... by default on macOS - mamba is still default on Linux - Explicit Conda Packages -...
Rule ID: BEEN_PART_AGREEMENT
Near line 114: Consider using a different verb for a more formal wording.
Context: ...e a Git master branch of the package to fix issues with Python3 and scipy - Req...
Rule ID: FIX_RESOLVE
Near line 290: Consider adding two commas here.
Context: ... are from Anaconda, while conda will of course install other dependencies as well. For...
Rule ID: OF_COURSE_COMMA
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (3)
- CHANGELOG.md (1 hunks)
- README.md (3 hunks)
- install_miniconda.bash (4 hunks)
Additional context used
LanguageTool
README.md
[style] ~11-~11: Consider a shorter alternative to avoid wordiness.
Context: ...Kouatchou. We do not ## Installation In order to use the install script, you can run: `...
[grammar] ~12-~12: The word ‘install’ is not a noun.
Context: ...t ## Installation In order to use the install script, you can run: ``` ./install_min...
[grammar] ~18-~18: The word ‘install’ is not a noun.
Context: ...prefix /opt/GEOSpyDwill create an install at:
/opt/GEOSpyD/24.4.0-0_py3.12/YY...
[grammar] ~23-~23: The word ‘install’ is not a noun.
Context: ...`` where YYYY-MM-DD is the date of the install. We use a date so that if the stack is ...
[grammar] ~24-~24: The word ‘install’ is not a noun.
Context: ...the stack is re-installed, the previous install is not overwritten. ## Usage ``` Usag...CHANGELOG.md
[style] ~45-~45: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... - Updated to Python 3.12 by default. - Updated to use Micromamba by default on Linux. ...
[grammar] ~83-~83: Consider using either the past participle “defaulted” or the present participle “defaulting” here.
Context: ... by default on macOS - mamba is still default on Linux - Explicit Conda Packages -...
[style] ~118-~118: Consider using a different verb for a more formal wording.
Context: ...e a Git master branch of the package to fix issues with Python3 and scipy - Req...
[uncategorized] ~180-~180: Possible missing comma found.
Context: ... longer supports Python 2. From here on out all additions are for Python 3 only ##...
[typographical] ~294-~294: Consider adding two commas here.
Context: ... are from Anaconda, while conda will of course install other dependencies as well. For...
Markdownlint
README.md
19-19: null
Fenced code blocks should be surrounded by blank lines
14-14: null
Fenced code blocks should have a language specified
19-19: null
Fenced code blocks should have a language specified
28-28: null
Fenced code blocks should have a language specified
Shellcheck
install_miniconda.bash
[warning] 38-38: NODE appears unused. Verify use (or export if used externally).
[info] 286-286: Double quote to prevent globbing and word splitting.
[info] 287-287: Double quote to prevent globbing and word splitting.
[warning] 288-288: GFORTRAN_PATCH appears unused. Verify use (or export if used externally).
[info] 288-288: Double quote to prevent globbing and word splitting.
[info] 354-354: Double quote to prevent globbing and word splitting.
[info] 386-386: Double quote to prevent globbing and word splitting.
[info] 386-386: Double quote to prevent globbing and word splitting.
[info] 391-391: Double quote to prevent globbing and word splitting.
[info] 391-391: Double quote to prevent globbing and word splitting.
[info] 391-391: Double quote to prevent globbing and word splitting.
[info] 391-391: Double quote to prevent globbing and word splitting.
[info] 413-413: Double quote to prevent globbing and word splitting.
[info] 413-413: Double quote to prevent globbing and word splitting.
[info] 413-413: Double quote to prevent globbing and word splitting.
[warning] 425-425: Use "$@" (with quotes) to prevent whitespace problems.
[info] 425-425: Double quote to prevent globbing and word splitting.
[info] 430-430: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 432-432: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 433-433: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 434-434: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[warning] 434-434: Use "$@" (with quotes) to prevent whitespace problems.
[info] 434-434: Double quote to prevent globbing and word splitting.
[info] 435-435: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 439-439: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 441-441: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 442-442: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 443-443: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[warning] 443-443: Use "$@" (with quotes) to prevent whitespace problems.
[info] 443-443: Double quote to prevent globbing and word splitting.
[info] 444-444: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 454-454: Double quote to prevent globbing and word splitting.
[info] 467-467: Double quote to prevent globbing and word splitting.
[info] 496-496: Double quote to prevent globbing and word splitting.
[info] 508-508: Double quote to prevent globbing and word splitting.
[info] 513-513: Double quote to prevent globbing and word splitting.
[info] 595-595: Double quote to prevent globbing and word splitting.
[info] 611-611: Double quote to prevent globbing and word splitting.
[info] 650-650: Double quote to prevent globbing and word splitting.
[info] 655-655: Double quote to prevent globbing and word splitting.
[warning] 664-664: Use "${var:?}" to ensure this never expands to / .
[info] 664-664: Double quote to prevent globbing and word splitting.
[info] 667-667: Double quote to prevent globbing and word splitting.
[info] 667-667: Double quote to prevent globbing and word splitting.
[info] 669-669: Double quote to prevent globbing and word splitting.
[info] 671-671: Double quote to prevent globbing and word splitting.
[info] 671-671: Double quote to prevent globbing and word splitting.
[info] 675-675: Double quote to prevent globbing and word splitting.
[info] 675-675: Double quote to prevent globbing and word splitting.
[info] 677-677: Double quote to prevent globbing and word splitting.
[info] 681-681: Double quote to prevent globbing and word splitting.
[info] 681-681: Double quote to prevent globbing and word splitting.
[info] 688-688: Double quote to prevent globbing and word splitting.
[info] 688-688: Double quote to prevent globbing and word splitting.
[info] 690-690: Double quote to prevent globbing and word splitting.
[info] 690-690: Double quote to prevent globbing and word splitting.
[info] 695-695: Double quote to prevent globbing and word splitting.
[info] 704-704: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 704-704: Double quote to prevent globbing and word splitting.
Additional comments not posted (11)
README.md (4)
15-15
: Update the installation command to reflect the new Miniconda version.
20-20
: Ensure the directory path reflects the new Miniconda version.
33-33
: Clarify the Miniconda version in the usage section to match the new version.
52-55
: Confirm the example installation path includes the correct date format and Miniconda version.Verification successful
The example installation path in the README.md file correctly includes the new Miniconda version and the correct date format.
- Verified path:
/opt/GEOSpyD/24.4.0-0_py3.12/2024-03-08
Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the directory path reflects the new Miniconda version and date format. # Test: Search for the directory path in the README. Expect: Only occurrences of the new version and correct date format. rg --type markdown $'/opt/GEOSpyD/24.4.0-0_py3.12/2024-03-08'Length of output: 117
CHANGELOG.md (4)
28-28
: Update the Miniconda version in the changelog to match the new version.
29-29
: Clarify the conditions under which each backend is used for clarity.
34-35
: Confirm the addition of theearthaccess
package in the Conda packages section.
37-38
: Confirm the addition of thepyephem
package in the Pip packages section.install_miniconda.bash (3)
62-62
: Update the Miniconda version variable to reflect the new version.
583-583
: Confirm the addition of theearthaccess
package in the installation script.
631-631
: Confirm the addition of thepyephem
package in the pip installation section.
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- CHANGELOG.md (1 hunks)
- install_miniconda.bash (6 hunks)
Files skipped from review as they are similar to previous changes (1)
- install_miniconda.bash
Additional context used
LanguageTool
CHANGELOG.md
[style] ~49-~49: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... - Updated to Python 3.12 by default. - Updated to use Micromamba by default on Linux. ...
[grammar] ~87-~87: Consider using either the past participle “defaulted” or the present participle “defaulting” here.
Context: ... by default on macOS - mamba is still default on Linux - Explicit Conda Packages -...
[style] ~122-~122: Consider using a different verb for a more formal wording.
Context: ...e a Git master branch of the package to fix issues with Python3 and scipy - Req...
[uncategorized] ~184-~184: Possible missing comma found.
Context: ... longer supports Python 2. From here on out all additions are for Python 3 only ##...
[typographical] ~298-~298: Consider adding two commas here.
Context: ... are from Anaconda, while conda will of course install other dependencies as well. For...
Additional comments not posted (4)
CHANGELOG.md (4)
28-28
: Ensure the version update is correctly documented.
35-37
: Confirm the addition of theearthaccess
andpyephem
packages.
41-41
: Verify the removal of the oldsed
command is appropriate given the context.#!/bin/bash # Description: Verify the removal of the old sed command and ensure it's no longer needed. # Test: Search for the old sed command usage. Expect: No occurrences. rg --type bash $'sed .* numpy'
28-30
: Clarify the conditions under which each matplotlib backend is used.- Use MacOSX matplotlib backend on macOS, still use TkAgg on Linux + Use MacOSX matplotlib backend on macOS and TkAgg on Linux.Likely invalid or redundant comment.
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (3)
- CHANGELOG.md (1 hunks)
- install_miniconda.bash (7 hunks)
- tests/ephem_example.py (1 hunks)
Files skipped from review due to trivial changes (1)
- tests/ephem_example.py
Additional context used
LanguageTool
CHANGELOG.md
[style] ~53-~53: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... - Updated to Python 3.12 by default. - Updated to use Micromamba by default on Linux. ...
[grammar] ~91-~91: Consider using either the past participle “defaulted” or the present participle “defaulting” here.
Context: ... by default on macOS - mamba is still default on Linux - Explicit Conda Packages -...
[style] ~126-~126: Consider using a different verb for a more formal wording.
Context: ...e a Git master branch of the package to fix issues with Python3 and scipy - Req...
[typographical] ~302-~302: Consider adding two commas here.
Context: ... are from Anaconda, while conda will of course install other dependencies as well. For...
Markdownlint
CHANGELOG.md
25-25: null
Bare URL used
26-26: null
Bare URL used
Shellcheck
install_miniconda.bash
[warning] 38-38: NODE appears unused. Verify use (or export if used externally).
[info] 286-286: Double quote to prevent globbing and word splitting.
[info] 287-287: Double quote to prevent globbing and word splitting.
[warning] 288-288: GFORTRAN_PATCH appears unused. Verify use (or export if used externally).
[info] 288-288: Double quote to prevent globbing and word splitting.
[info] 354-354: Double quote to prevent globbing and word splitting.
[info] 386-386: Double quote to prevent globbing and word splitting.
[info] 386-386: Double quote to prevent globbing and word splitting.
[info] 391-391: Double quote to prevent globbing and word splitting.
[info] 391-391: Double quote to prevent globbing and word splitting.
[info] 391-391: Double quote to prevent globbing and word splitting.
[info] 391-391: Double quote to prevent globbing and word splitting.
[info] 413-413: Double quote to prevent globbing and word splitting.
[info] 413-413: Double quote to prevent globbing and word splitting.
[info] 413-413: Double quote to prevent globbing and word splitting.
[warning] 425-425: Use "$@" (with quotes) to prevent whitespace problems.
[info] 425-425: Double quote to prevent globbing and word splitting.
[info] 430-430: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 432-432: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 433-433: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 434-434: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[warning] 434-434: Use "$@" (with quotes) to prevent whitespace problems.
[info] 434-434: Double quote to prevent globbing and word splitting.
[info] 435-435: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 439-439: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 441-441: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 442-442: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 443-443: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[warning] 443-443: Use "$@" (with quotes) to prevent whitespace problems.
[info] 443-443: Double quote to prevent globbing and word splitting.
[info] 444-444: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 454-454: Double quote to prevent globbing and word splitting.
[info] 467-467: Double quote to prevent globbing and word splitting.
[info] 496-496: Double quote to prevent globbing and word splitting.
[info] 508-508: Double quote to prevent globbing and word splitting.
[info] 513-513: Double quote to prevent globbing and word splitting.
[info] 595-595: Double quote to prevent globbing and word splitting.
[info] 611-611: Double quote to prevent globbing and word splitting.
[info] 651-651: Double quote to prevent globbing and word splitting.
[info] 656-656: Double quote to prevent globbing and word splitting.
[warning] 665-665: Use "${var:?}" to ensure this never expands to / .
[info] 665-665: Double quote to prevent globbing and word splitting.
[info] 668-668: Double quote to prevent globbing and word splitting.
[info] 668-668: Double quote to prevent globbing and word splitting.
[info] 670-670: Double quote to prevent globbing and word splitting.
[info] 672-672: Double quote to prevent globbing and word splitting.
[info] 672-672: Double quote to prevent globbing and word splitting.
[info] 676-676: Double quote to prevent globbing and word splitting.
[info] 676-676: Double quote to prevent globbing and word splitting.
[info] 678-678: Double quote to prevent globbing and word splitting.
[info] 691-691: Double quote to prevent globbing and word splitting.
[info] 691-691: Double quote to prevent globbing and word splitting.
[info] 693-693: Double quote to prevent globbing and word splitting.
[info] 693-693: Double quote to prevent globbing and word splitting.
[info] 706-706: Double quote to prevent globbing and word splitting.
[info] 715-715: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 715-715: Double quote to prevent globbing and word splitting.
Additional comments not posted (7)
CHANGELOG.md (4)
24-27
: The fixes listed are well-documented with appropriate links to the issues. Good job on maintaining transparency.
31-34
: The updates and changes are clearly documented. The backend settings for matplotlib are particularly well-explained.
37-42
: The addition of new packages and an example is a positive enhancement to the project. It's great to see examples being added for better clarity.
45-45
: The removal of the outdated sed command is a good cleanup action, especially since the target file no longer exists.install_miniconda.bash (3)
Line range hint
1-62
: The initial setup of the script is well-structured. It includes comprehensive error handling and environment configuration, which enhances the robustness of the installation process.
Line range hint
583-632
: The package installation commands are correctly implemented. The script smartly handles different package managers and conditions based on the system architecture and Python version.
703-703
: The cleanup function is well-implemented, ensuring that the user's environment is restored to its original state after the installation. This is crucial for maintaining system integrity.
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- CHANGELOG.md (1 hunks)
- install_miniconda.bash (6 hunks)
Additional context used
LanguageTool
CHANGELOG.md
[style] ~52-~52: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... - Updated to Python 3.12 by default. - Updated to use Micromamba by default on Linux. ...
[grammar] ~90-~90: Consider using either the past participle “defaulted” or the present participle “defaulting” here.
Context: ... by default on macOS - mamba is still default on Linux - Explicit Conda Packages -...
[style] ~125-~125: Consider using a different verb for a more formal wording.
Context: ...e a Git master branch of the package to fix issues with Python3 and scipy - Req...
[uncategorized] ~187-~187: Possible missing comma found.
Context: ... longer supports Python 2. From here on out all additions are for Python 3 only ##...
[typographical] ~301-~301: Consider adding two commas here.
Context: ... are from Anaconda, while conda will of course install other dependencies as well. For...
Markdownlint
CHANGELOG.md
25-25: null
Bare URL used
Shellcheck
install_miniconda.bash
[warning] 38-38: NODE appears unused. Verify use (or export if used externally).
[info] 286-286: Double quote to prevent globbing and word splitting.
[info] 287-287: Double quote to prevent globbing and word splitting.
[warning] 288-288: GFORTRAN_PATCH appears unused. Verify use (or export if used externally).
[info] 288-288: Double quote to prevent globbing and word splitting.
[info] 354-354: Double quote to prevent globbing and word splitting.
[info] 386-386: Double quote to prevent globbing and word splitting.
[info] 386-386: Double quote to prevent globbing and word splitting.
[info] 391-391: Double quote to prevent globbing and word splitting.
[info] 391-391: Double quote to prevent globbing and word splitting.
[info] 391-391: Double quote to prevent globbing and word splitting.
[info] 391-391: Double quote to prevent globbing and word splitting.
[info] 413-413: Double quote to prevent globbing and word splitting.
[info] 413-413: Double quote to prevent globbing and word splitting.
[info] 413-413: Double quote to prevent globbing and word splitting.
[warning] 425-425: Use "$@" (with quotes) to prevent whitespace problems.
[info] 425-425: Double quote to prevent globbing and word splitting.
[info] 430-430: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 432-432: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 433-433: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 434-434: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[warning] 434-434: Use "$@" (with quotes) to prevent whitespace problems.
[info] 434-434: Double quote to prevent globbing and word splitting.
[info] 435-435: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 439-439: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 441-441: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 442-442: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 443-443: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[warning] 443-443: Use "$@" (with quotes) to prevent whitespace problems.
[info] 443-443: Double quote to prevent globbing and word splitting.
[info] 444-444: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 454-454: Double quote to prevent globbing and word splitting.
[info] 467-467: Double quote to prevent globbing and word splitting.
[info] 496-496: Double quote to prevent globbing and word splitting.
[info] 508-508: Double quote to prevent globbing and word splitting.
[info] 513-513: Double quote to prevent globbing and word splitting.
[info] 595-595: Double quote to prevent globbing and word splitting.
[info] 611-611: Double quote to prevent globbing and word splitting.
[info] 651-651: Double quote to prevent globbing and word splitting.
[info] 656-656: Double quote to prevent globbing and word splitting.
[warning] 665-665: Use "${var:?}" to ensure this never expands to / .
[info] 665-665: Double quote to prevent globbing and word splitting.
[info] 668-668: Double quote to prevent globbing and word splitting.
[info] 668-668: Double quote to prevent globbing and word splitting.
[info] 670-670: Double quote to prevent globbing and word splitting.
[info] 672-672: Double quote to prevent globbing and word splitting.
[info] 672-672: Double quote to prevent globbing and word splitting.
[info] 676-676: Double quote to prevent globbing and word splitting.
[info] 676-676: Double quote to prevent globbing and word splitting.
[info] 678-678: Double quote to prevent globbing and word splitting.
[info] 691-691: Double quote to prevent globbing and word splitting.
[info] 691-691: Double quote to prevent globbing and word splitting.
[info] 693-693: Double quote to prevent globbing and word splitting.
[info] 693-693: Double quote to prevent globbing and word splitting.
[info] 706-706: Double quote to prevent globbing and word splitting.
[info] 715-715: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
[info] 715-715: Double quote to prevent globbing and word splitting.
Additional comments not posted (11)
CHANGELOG.md (6)
30-30
: Update the Miniconda version to match the latest update.
31-32
: Clarify the conditions under which each backend is used formatplotlib
.
37-38
: Confirm the addition of theearthaccess
package.
39-39
: Confirm the addition of thepyephem
package.
26-26
: Address the issue withipython
andprompt_toolkit
as described.
44-44
: Ensure the removal of the oldsed
command is appropriate given the file no longer exists.Verification successful
The removal of the old
sed
command onnumpy
is appropriate as there are no occurrences of this command in the repository.
Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the removal of the old sed command on `numpy`. # Test: Search for the old sed command in the repository. Expect: No occurrences. rg --type bash $'sed .* numpy'Length of output: 60
Script:
#!/bin/bash # Description: Verify the removal of the old sed command on `numpy`. # Test: Search for the old sed command in the repository. Expect: No occurrences. rg --type sh $'sed .* numpy'Length of output: 29
install_miniconda.bash (5)
62-62
: Update the Miniconda version to match the latest update.
583-583
: Confirm the addition of theearthaccess
package.
632-632
: Confirm the addition of thepyephem
package.
701-702
: Address the issue withipython
andprompt_toolkit
as described.
684-693
: Ensure thematplotlib
backend settings are correctly implemented for different operating systems.
This PR updates the default miniconda version to 24.4.0-0.
We also add earthaccess as a new conda package and pyephem as a new pip package
Closes #17
Closes #16