8000 special case bug by sanchitram1 · Pull Request #101 · teaxyz/chai · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

special case bug #101

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

Merged
merged 3 commits into from
May 22, 2025
Merged

special case bug #101

merged 3 commits into from
May 22, 2025

Conversation

sanchitram1
Copy link
Member
@sanchitram1 sanchitram1 commented May 22, 2025

and a test testing all special cases!

@sanchitram1 sanchitram1 requested a review from jhheider May 22, 2025 19:31
@jhheider jhheider requested a review from Copilot May 22, 2025 19:33
Copy link
Contributor
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR addresses a special case bug by updating the URL transformation logic for crates.io packages and adding comprehensive tests for various special case scenarios.

  • Fixes the URL formation for crates.io packages by extracting the package name from the import identifier.
  • Adds unit tests to validate the special case handling for multiple package sources.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
tests/package_managers/crates/test_special_case.py Adds tests covering different special cases for URL transformation.
package_managers/pkgx/transformer.py Updates the special_case() logic to correctly form URLs for crates.io packages.

sanchitram1 and others added 2 commits May 22, 2025 14:41
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@sanchitram1 sanchitram1 merged commit b971330 into main May 22, 2025
2 checks passed
@sanchitram1 sanchitram1 deleted the fix/pkgx-crates-urls branch May 22, 2025 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0