Skip to content
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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

BiocondaBot
Copy link
Collaborator

@BiocondaBot BiocondaBot commented Oct 7, 2024

Update varfish-server-worker: 0.13.00.17.0

install with bioconda Conda

Info Link or Description
Recipe recipes/varfish-server-worker (click to view/edit other files)
Summary "Rust-based tool for the heavy lifting in varfish-server."

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).

@BiocondaBot BiocondaBot added autobump Automatic Version Update new version labels Oct 7, 2024
Copy link
Contributor

coderabbitai bot commented Oct 7, 2024

📝 Walkthrough
📝 Walkthrough

Walkthrough

The pull request involves updates to the meta.yaml file for the varfish-server-worker package. Key changes include an increment in the version number from "0.13.0" to "0.17.0" and a modification of the build number from 1 to 0. The skip attribute for macOS remains unchanged. Additionally, the source URL has been updated to reflect the new version's tarball, changing from v0.13.0 to v0.17.0. The SHA256 checksum has also been updated to ensure the integrity of the new version's source. The requirements section has been modified to include protobuf in the host dependencies, while clangdev has been retained. The summary has been enclosed in quotes, and a new dev_url field has been added. Other metadata such as the home URL and license remains unchanged, although the license family has been explicitly stated as MIT.

Possibly related PRs

  • Update harpy to 1.9 #51171: The changes in this PR involve updating the meta.yaml file, specifically the version and SHA256 checksum, similar to the updates made in the main PR for the varfish-server-worker package.
  • Update oakvar to 2.11.12 #51387: This PR also updates the meta.yaml file for the oakvar package, changing the version and SHA256 checksum, which aligns with the versioning updates in the main PR.
  • Update oakvar to 2.11.14 #51409: Similar to the main PR, this PR updates the meta.yaml file for the oakvar package, focusing on version and checksum changes.
  • Update oakvar to 2.11.21 #51512: This PR continues the pattern of updating the meta.yaml file for the oakvar package, reflecting changes in version and SHA256 checksum.
  • Update sawfish to 0.12.7 #51624: This PR updates the meta.yaml file for the sawfish package, including version and checksum updates, akin to the changes in the main PR.
  • Update oakvar to 2.11.24 #51678: This PR updates the meta.yaml file for the oakvar package, focusing on version and checksum modifications, similar to the main PR's updates.

📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between 01abc94 and c41f0f8.

📒 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 (5)
recipes/varfish-server-worker/meta.yaml (5)

8-11: LGTM: Build configuration is correct

Build number reset to 0 is appropriate for a version bump, and platform restrictions are properly maintained.


30-31: Previous review comment is still valid

The duplicate clangdev dependency issue was identified in a previous review. Please refer to the existing comment for the resolution.


42-45: LGTM: Metadata improvements

Good improvements to the metadata:

  • Explicit license family
  • Properly quoted summary
  • Added dev_url for better package documentation

14-15: Verify source tarball integrity

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

1-1: Version mismatch with PR objectives

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 successful

Version 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 executed

The 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?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@BiocondaBot BiocondaBot changed the title Update varfish-server-worker to 0.13.1 Update varfish-server-worker to 0.13.2 Oct 7, 2024
@BiocondaBot BiocondaBot changed the title Update varfish-server-worker to 0.13.2 Update varfish-server-worker to 0.14.0 Oct 9, 2024
@BiocondaBot BiocondaBot changed the title Update varfish-server-worker to 0.14.0 Update varfish-server-worker to 0.15.0 Oct 24, 2024
@BiocondaBot BiocondaBot changed the title Update varfish-server-worker to 0.15.0 Update varfish-server-worker to 0.16.0 Oct 28, 2024
@BiocondaBot BiocondaBot changed the title Update varfish-server-worker to 0.16.0 Update varfish-server-worker to 0.16.1 Oct 30, 2024
Copy link
Contributor

@coderabbitai coderabbitai bot left a 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

📥 Commits

Files that changed from the base of the PR and between efde4f2 and 01abc94.

📒 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:

  1. Properly quoted summary text
  2. 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.

Comment on lines +30 to +31
- clangdev
- protobuf
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codebase verification

⚠️ Potential issue

Remove duplicate clangdev and keep protobuf dependency

Based on the git history:

  1. The duplicate clangdev was introduced in commit a6e9ded when the recipe was cleaned up, moving dependencies from build to host section.
  2. protobuf is a legitimate dependency that has been present since early versions of the package (visible in the git history) and was similarly moved from build to host 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:

  1. clangdev is listed twice (lines 25 and 30)
  2. 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

@BiocondaBot BiocondaBot changed the title Update varfish-server-worker to 0.16.1 Update varfish-server-worker to 0.17.0 Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autobump Automatic Version Update new version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants