Skip to content

Conversation

@jakecoffman
Copy link
Member

Added two more registry types that could use the URL -> registry behavior.

Copilot AI review requested due to automatic review settings July 16, 2025 20:51
@jakecoffman jakecoffman requested a review from a team as a code owner July 16, 2025 20:51
Copy link
Contributor

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 extracts the registry URL parsing logic into a reusable method and extends support for additional package ecosystem types. The change builds on previous work to handle URL-to-registry conversion for credential types beyond just npm.

  • Refactored inline URL parsing logic into a dedicated setRegistryFromUrl method
  • Extended registry extraction support to include composer_repository and docker_registry types
  • Added comprehensive test coverage for the new credential types

Reviewed Changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/updater.ts Extracted URL-to-registry parsing logic into a reusable method and added support for composer and docker registry types
tests/updater.test.ts Added test cases for docker and composer credential types to verify registry extraction from URLs

jakecoffman and others added 2 commits July 16, 2025 15:52
@jakecoffman jakecoffman merged commit 5c564b3 into main Jul 17, 2025
9 checks passed
@jakecoffman jakecoffman deleted the more-registry branch July 17, 2025 13:55
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.

3 participants