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 mehari to 0.30.1 #51208

Closed
wants to merge 18 commits into from
Closed
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions recipes/mehari/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@

# Make sure bindgen passes on our compiler flags.
export BINDGEN_EXTRA_CLANG_ARGS="${CPPFLAGS} ${CFLAGS} ${LDFLAGS}"
export ROCKSDB_LIB_DIR="/usr/lib/"
export SNAPPY_LIB_DIR="/usr/lib/"

cargo install --no-track --locked --root "${PREFIX}" --path .
14 changes: 9 additions & 5 deletions recipes/mehari/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set version = "0.28.1" %}
{% set sha256 = "b1bb238782036c05795b74fbb7e97ff998e234fd89f4501234b052d3f2a0d683" %}
{% set version = "0.29.1" %}
{% set sha256 = "467d1f219f02c8b23e253fb02bbe0bb2339fa0007c1707671aeb694040481961" %}
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

Version update verified

The version in meta.yaml has been correctly updated to 0.29.1, matching the latest GitHub release. However, the PR objectives mention updating to 0.29.0. Please update the PR objectives to reflect the accurate version 0.29.1.

🔗 Analysis chain

Verify the version update

The version has been updated to 0.29.1, which is different from the 0.29.0 mentioned in the PR objectives. Please confirm if this is the intended version update.

The SHA256 checksum has been updated accordingly, which is correct when updating the package version.

To verify the correct version:

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the latest release version of mehari
# Expected result: The latest release version should match the version in meta.yaml

# Fetch the latest release version from GitHub
LATEST_VERSION=$(gh release list --repo varfish-org/mehari --limit 1 | awk '{print $1}' | sed 's/^v//')

# Compare with the version in meta.yaml
YAML_VERSION=$(awk '/^{% set version = / {print $4}' recipes/mehari/meta.yaml | tr -d '"')

echo "Latest GitHub release: $LATEST_VERSION"
echo "Version in meta.yaml: $YAML_VERSION"

if [ "$LATEST_VERSION" = "$YAML_VERSION" ]; then
    echo "Versions match."
else
    echo "Version mismatch detected."
fi

Length of output: 420


Script:

#!/bin/bash
# Description: Correctly extract the version from meta.yaml and verify it against the latest GitHub release
# Expected result: The latest release version should match the version in meta.yaml

# Fetch the latest release version from GitHub
LATEST_VERSION=$(gh release list --repo varfish-org/mehari --limit 1 | awk '{print $1}' | sed 's/^v//')

# Extract the version from meta.yaml using grep and sed
YAML_VERSION=$(grep '^{% set version =' recipes/mehari/meta.yaml | sed -E 's/.*"([^"]+)".*/\1/')

echo "Latest GitHub release: $LATEST_VERSION"
echo "Version in meta.yaml: $YAML_VERSION"

if [ "$LATEST_VERSION" = "$YAML_VERSION" ]; then
    echo "Versions match."
else
    echo "Version mismatch detected."
fi

Length of output: 424

🧰 Tools
🪛 yamllint

[error] 1-1: syntax error: found character '%' that cannot start any token

(syntax)


package:
name: mehari
Expand All @@ -25,6 +25,9 @@ requirements:
- cmake
- make
- pkg-config
- libprotobuf
- rocksdb
- snappy
host:
- clangdev
- openssl
Expand All @@ -45,6 +48,7 @@ about:
summary: VEP-like tool for sequence ontology and HGVS annotation of VCF files written in Rust.
dev_url: https://github.com/varfish-org/mehari

extra:
additional-platforms:
- linux-aarch64
## Currently, there is no rocksdb package available from conda for linux-aarch64, skip for now.
#extra:
# additional-platforms:
# - linux-aarch64