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

chore(main): release 0.20.0 #897

Merged
merged 1 commit into from
Nov 20, 2024
Merged

Conversation

dreulavelle
Copy link
Member

@dreulavelle dreulavelle commented Nov 20, 2024

🤖 I have created a release beep boop

0.20.0 (2024-11-20)

Features

  • add denied reasoning when trashing torrents and added adult parsing (#888) (d3b5293)

This PR was generated with Release Please. See documentation.

Summary by CodeRabbit

  • New Features

    • Added denied reasoning when trashing torrents.
    • Introduced adult parsing capabilities.
  • Bug Fixes

    • Improvements to symlink rebuilding and detection of multiple episodes in the symlink library.
  • Documentation

    • Updated changelog to reflect new version 0.20.0 and previous version 0.19.0 features and fixes.

Copy link
Contributor

coderabbitai bot commented Nov 20, 2024

Walkthrough

The pull request introduces version 0.20.0 of the project, updating the CHANGELOG.md to document new features such as denied reasoning for trashing torrents and adult parsing capabilities. It also updates the pyproject.toml to reflect the new version number and specifies updates to the regex and requests-cache dependencies. The previous version, 0.19.0, is also documented, noting several features and bug fixes.

Changes

File Change Summary
CHANGELOG.md Added new version entry for 0.20.0 with features including denied reasoning and adult parsing. Documented previous version 0.19.0 with its features and bug fixes.
pyproject.toml Updated project version from 0.19.0 to 0.20.0. Specified updated versions for regex and requests-cache.

Possibly related PRs

  • chore(main): release 0.19.0 #868: The changes in this PR include the addition of features related to torrent management, such as reindexing and filesize validation, which are relevant to the new features introduced in the main PR regarding torrent handling and logging.

Suggested reviewers

  • Gaisberg

Poem

In the burrow deep, where the code does leap,
A version new, with features to keep.
Adult parsing’s here, and reasoning too,
For torrents we trash, a hop and a chew!
With updates so bright, let’s celebrate right! 🐇✨


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.

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

🧹 Outside diff range and nitpick comments (2)
pyproject.toml (2)

Line range hint 77-77: Consider cleaning up commented dependency

The commented out memray dependency might be needed for memory profiling. Consider either:

  1. Removing it if it's no longer needed
  2. Uncommenting it if memory profiling is required
  3. Adding a comment explaining why it's commented out

Update regex package to the latest version (2024.11.6)

The regex package has a newer version available (2024.11.6) compared to the current version (2023.12.25) being used. Since this dependency is critical for adult content parsing improvements, updating to the latest version is recommended. The requests-cache package is already using the latest version (1.2.1).

No security vulnerabilities were found for either package.

🔗 Analysis chain

Line range hint 21-21: Verify regex and requests-cache versions

The regex package version (^2023.12.25) is from December 2023. Given that this dependency is likely critical for the adult content parsing improvements, we should verify if a newer version is available.

Also applies to: 47-47

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Check latest versions and potential issues for both packages

echo "Checking latest versions from PyPI..."
for pkg in "regex" "requests-cache"; do
  echo "Package: $pkg"
  curl -s "https://pypi.org/pypi/$pkg/json" | jq -r '.info.version'
done

echo -e "\nChecking for security advisories..."
for pkg in "regex" "requests-cache"; do
  echo "Package: $pkg"
  gh api graphql -f query='{
    securityVulnerabilities(first:5, ecosystem:PIP, package:"'$pkg'") {
      nodes {
        advisory {
          summary
          severity
          publishedAt
        }
        vulnerableVersionRange
      }
    }
  }'
done

Length of output: 1282

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between d3b5293 and 097b1fb.

📒 Files selected for processing (2)
  • CHANGELOG.md (1 hunks)
  • pyproject.toml (1 hunks)
✅ Files skipped from review due to trivial changes (1)
  • CHANGELOG.md
🔇 Additional comments (2)
pyproject.toml (2)

3-3: LGTM: Version bump aligns with release objectives

The version bump to 0.20.0 correctly reflects the new feature additions mentioned in the PR objectives.


Line range hint 1-88: Verify dependencies for new features

Given the new features (denied reasoning for torrents and adult content parsing), let's verify if all required dependencies are present.

✅ Verification successful

Let me check the actual implementation details to verify if the existing dependencies are sufficient for these features.


Let me check one more thing about the RTN package since it seems to be handling the core functionality.


Based on the analysis of the codebase and dependencies, I can now provide the final response:

Dependencies are sufficient for the new features

The codebase already includes all necessary dependencies for the new features:

  • Adult content parsing and denial reasoning are handled through the rank-torrent-name (RTN) package (version >=1.5)
  • Core functionality is integrated through RTN's ParsedData, Torrent, and GarbageTorrent components
  • Standard library components and existing dependencies (typing, logging) support the implementation
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Search for relevant imports in the codebase that might be used for these features

echo "Searching for adult content parsing related imports..."
rg -l "import.*(?:adult|parse|content)" --type py

echo -e "\nSearching for torrent denial reasoning related imports..."
rg -l "import.*(?:torrent|deny|trash)" --type py

Length of output: 642


Script:

#!/bin/bash
# Check implementation details of files that might use these features
echo "Checking adult content parsing implementation..."
rg -A 5 "(?i)adult.*content|parse.*adult" --type py

echo -e "\nChecking denial reasoning implementation..."
rg -A 5 "(?i)deny.*reason|trash.*reason|torrent.*reject" --type py

echo -e "\nChecking imports in these specific files..."
cat src/program/services/scrapers/shared.py src/program/services/downloaders/shared.py | rg "^import|^from.*import"

Length of output: 1263


Script:

#!/bin/bash
# Check RTN package version and requirements
echo "Checking RTN package in dependencies..."
grep -A 1 "rank-torrent-name" pyproject.toml

echo -e "\nChecking RTN usage for adult content and denial..."
rg -A 5 "RTN.*(?:adult|deny|reject|trash)" --type py

Length of output: 361

@dreulavelle dreulavelle merged commit 72f6813 into main Nov 20, 2024
2 checks passed
@dreulavelle dreulavelle deleted the release-please--branches--main branch November 20, 2024 23:10
@dreulavelle
Copy link
Member Author

🤖 Created releases:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant