Skip to content

Conversation

@adrum
Copy link

@adrum adrum commented Nov 16, 2024

This extends the package parsing logic to look at --repo= options when initializing packages. This is useful when combined with testing packages before they have made it release, or trialing a private package/project. This resolves #9

It supports 3 different repository types from composer:

  1. composer registries: cpx <vend>/<pack> --repo=https://composer.example.com
  2. git repos: cpx <vend>/<pack> --repo=git+https://github.com/<vendor>/<repo>
  3. local paths: cpx <vend>/<pack> --repo=path:/some/place/on/disk

This also extends to the new command added in #11:

cpx new <vend>/<pack> project-name --repo=git+https://gitlab.com/<vendor>/<repo>

This should be merged after #11, assuming that one is accepted eventually. If not, I can readjust this branch to make it non-dependent on #11.

@adrum adrum mentioned this pull request Mar 14, 2025
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.

Feature: Custom Repository

1 participant