-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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 bustools to 0.44.1 #51514
Update bustools to 0.44.1 #51514
Conversation
📝 Walkthrough📝 WalkthroughWalkthroughThe pull request involves an update to the Possibly related PRs
Suggested reviewers
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 using PR comments)
Other keywords and placeholders
CodeRabbit Configuration 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: 1
🧹 Outside diff range and nitpick comments (1)
recipes/bustools/build.sh (1)
9-9
: Prefer$(uname)
over backticks for command substitutionIn bash scripting, using
$(command)
for command substitution is generally preferred over backticks`command`
, as it enhances readability and allows for easier nesting of commands.Apply this diff to implement the suggestion:
-if [[ `uname` == "Darwin" ]]; then +if [[ $(uname) == "Darwin" ]]; then
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (2)
- recipes/bustools/build.sh (1 hunks)
- recipes/bustools/meta.yaml (2 hunks)
🧰 Additional context used
🪛 yamllint
recipes/bustools/meta.yaml
[error] 1-1: syntax error: found character '%' that cannot start any token
(syntax)
🔇 Additional comments (8)
recipes/bustools/meta.yaml (8)
1-1
: Version update looks good.The package version has been correctly updated to 0.44.1, which aligns with the PR objectives.
🧰 Tools
🪛 yamllint
[error] 1-1: syntax error: found character '%' that cannot start any token
(syntax)
30-30
: Home URL formatting improvement.The addition of quotation marks around the home URL is a minor formatting improvement. The URL itself remains correct.
31-31
: License field formatting improvement.The addition of single quotes around the license field is a minor formatting improvement. The license information itself remains correct.
36-37
: Valuable additions of dev_url and doc_url.The new dev_url and doc_url fields provide useful links to the development repository and documentation, respectively. These additions enhance the package metadata and improve user accessibility to project resources.
43-45
: Valuable additions to identifiers section.The new identifiers for biotools and DOI provide important cross-references to other bioinformatics resources. These additions enhance the discoverability and citability of the package.
1-1
: Ignore yamllint false positive.The yamllint tool reports a syntax error for the '%' character at the beginning of the file. This is a false positive as the '%' is part of the Jinja2 template syntax, which is correctly used in Conda recipes. No changes are needed.
🧰 Tools
🪛 yamllint
[error] 1-1: syntax error: found character '%' that cannot start any token
(syntax)
Line range hint
1-45
: Summary: All changes look good, PR is ready for merge.The updates to the meta.yaml file for bustools are consistent with the PR objectives:
- Version has been correctly updated to 0.44.1.
- SHA256 checksum has been updated for the new source tarball.
- Formatting improvements have been made to the home and license fields.
- Valuable additions include dev_url, doc_url, and new identifiers.
All changes have been reviewed and approved. The package metadata is now up-to-date and provides improved information for users. This PR is ready to be merged.
9-9
: SHA256 checksum update looks correct.The SHA256 checksum has been updated to match the new source tarball for version 0.44.1. This is a necessary change to ensure the integrity of the downloaded source.
To verify the checksum, you can run the following script:
recipes/bustools/build.sh
Outdated
@@ -1,10 +1,21 @@ | |||
#!/bin/bash | |||
set -euo pipefail | |||
|
|||
export CPATH=$PREFIX/include | |||
export INCLUDE_PATH=$PREFIX/include |
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.
Use CPATH
instead of INCLUDE_PATH
for include directories
The environment variable CPATH
is recognized by compilers like GCC and Clang to specify additional include directories. INCLUDE_PATH
is not commonly used by compilers and may not have the intended effect. To ensure that the compiler includes the necessary headers from $PREFIX/include
, it's recommended to use CPATH
.
Apply this diff to fix the issue:
-export INCLUDE_PATH=$PREFIX/include
+export CPATH=$PREFIX/include
📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
export INCLUDE_PATH=$PREFIX/include | |
export CPATH=$PREFIX/include |
Update
bustools
: 0.44.0 → 0.44.1recipes/bustools
(click to view/edit other files)Home | https://github.com/BUStools/bustools
Releases |https://github.com/BUStools/bustools/tags
Author |
@BUStools
This pull request was automatically generated (see docs).