-
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 varfish-server-worker to 0.17.0 #51197
base: master
Are you sure you want to change the base?
Conversation
📝 Walkthrough📝 WalkthroughWalkthroughThe pull request involves updates to the Possibly related PRs
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used🪛 yamllintrecipes/varfish-server-worker/meta.yaml[error] 1-1: syntax error: found character '%' that cannot start any token (syntax) 🔇 Additional comments (5)recipes/varfish-server-worker/meta.yaml (5)
Build number reset to 0 is appropriate for a version bump, and platform restrictions are properly maintained.
The duplicate
Good improvements to the metadata:
Let's verify the SHA256 checksum matches the source tarball. #!/bin/bash
# Description: Verify the source tarball checksum
# Expected: SHA256 should match the recipe
# Download and verify checksum
curl -sL https://github.com/varfish-org/varfish-server-worker/archive/refs/tags/v0.17.0.tar.gz | sha256sum
The PR description indicates an update to version 0.16.1, but the recipe is being updated to 0.17.0. Please verify if this is intentional. ✅ Verification successfulVersion update to 0.17.0 is correct and available Both v0.16.1 (0ce7f13) and v0.17.0 (192a1b7) tags exist in the repository. While the PR description mentions v0.16.1, updating to the latest available version v0.17.0 is a valid approach as it includes all improvements from v0.16.1. The version bump to 0.17.0 appears intentional and correct. 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Verify the latest release version
# Expected: Find the latest release version to confirm if 0.17.0 is correct
# Check latest release version
gh release list --repo varfish-org/varfish-server-worker --limit 1
Length of output: 185 Script: #!/bin/bash
# Let's try a different approach to verify the version
# 1. Check if the tag exists
git ls-remote --tags https://github.com/varfish-org/varfish-server-worker.git "v0.17.0"
# 2. Also check v0.16.1 tag
git ls-remote --tags https://github.com/varfish-org/varfish-server-worker.git "v0.16.1"
# 3. List recent tags for context
git ls-remote --tags https://github.com/varfish-org/varfish-server-worker.git | sort -V | tail -n 5
Length of output: 687 🧰 Tools🪛 yamllint[error] 1-1: syntax error: found character '%' that cannot start any token (syntax) 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
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
- recipes/varfish-server-worker/meta.yaml (2 hunks)
🧰 Additional context used
🪛 yamllint
recipes/varfish-server-worker/meta.yaml
[error] 1-1: syntax error: found character '%' that cannot start any token
(syntax)
🔇 Additional comments (4)
recipes/varfish-server-worker/meta.yaml (4)
1-1
: Version bump looks correct.
The version update to 0.16.1 matches the PR objectives and follows the standard versioning format.
🧰 Tools
🪛 yamllint
[error] 1-1: syntax error: found character '%' that cannot start any token
(syntax)
8-8
: Build number reset is appropriate.
Resetting the build number to 0 for a new version is the correct practice in conda-forge/bioconda.
44-45
: Metadata updates look good.
The changes include:
- Properly quoted summary text
- Added dev_url pointing to the GitHub repository
Both changes improve the recipe's metadata quality.
15-15
: Verify the SHA256 checksum.
The new checksum needs to be verified against the upstream source.
- clangdev | ||
- protobuf |
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.
💡 Codebase verification
Remove duplicate clangdev and keep protobuf dependency
Based on the git history:
- The duplicate
clangdev
was introduced in commit a6e9ded when the recipe was cleaned up, moving dependencies frombuild
tohost
section. protobuf
is a legitimate dependency that has been present since early versions of the package (visible in the git history) and was similarly moved frombuild
tohost
section.
Remove the duplicate clangdev
entry:
host:
- clangdev
- openssl
- sqlite
- zlib
- - clangdev
- protobuf
The protobuf
dependency should be kept as it's a required component of the package.
🔗 Analysis chain
Review duplicate dependency and new protobuf requirement.
There are two issues in the host requirements:
clangdev
is listed twice (lines 25 and 30)- New
protobuf
dependency has been added
Remove the duplicate clangdev
entry:
host:
- clangdev
- openssl
- sqlite
- zlib
- - clangdev
- protobuf
Let's verify if protobuf is a new dependency in the upstream project:
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Check for protobuf-related changes in the upstream repository
# Expected: Find evidence of protobuf usage
# Search for protobuf-related files and imports
rg -l "proto"
rg -l "protobuf"
Length of output: 294
Script:
#!/bin/bash
# Let's try a different approach to verify protobuf usage:
# 1. Check for .proto files
fd -e proto
# 2. Look for protobuf in any build/dependency files
fd -g "*requirements*.txt" -g "setup.py" -g "pyproject.toml" -g "Cargo.toml" -X cat
# 3. Search for protobuf imports or usage with more specific patterns
rg "from.*proto"
rg "import.*proto"
rg "use.*proto"
Length of output: 7825
Script:
#!/bin/bash
# Let's check the git history of the meta.yaml file to understand when and why protobuf was added
# Check git history for the specific file
git log -p recipes/varfish-server-worker/meta.yaml
# Also check the upstream repository's requirements
curl -sL https://raw.githubusercontent.com/varfish-org/varfish-server-worker/v0.16.1/Cargo.toml
Length of output: 12740
Update
varfish-server-worker
: 0.13.0 → 0.17.0recipes/varfish-server-worker
(click to view/edit other files)Home | https://github.com/varfish-org/varfish-server-worker
Releases |https://github.com/varfish-org/varfish-server-worker/tags
Recipe Maintainer(s) | @holtgrewe
Author |
@varfish-org
This pull request was automatically generated (see docs).