-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Allow relative local directory for repositories of type composer #11519
Comments
Ah weird I thought this supported relative paths, but indeed it seems like it doesn't. I think it should be fine to allow it.. |
Cool, thanks. Then I'll try to provide a PR for that |
helhum
added a commit
to helhum/composer
that referenced
this issue
Jun 26, 2023
helhum
added a commit
to helhum/composer
that referenced
this issue
Jun 26, 2023
Added support for local file paths in a very simple way, which I assumed has the lowest impact. Let me know in the PR if this is fine and whether I should add some docs or tests for that. |
Seldaek
pushed a commit
that referenced
this issue
Jul 18, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For a custom mono repo approach, I'm currently generating
packages.json
file in a local directory.I would love to be able to specify the path to this repository relative to the root composer.json similar to repositories of type path:
Composer repositories though, only allow URLs. I could specify a
file://
URL, but then the specified path needs to be an absolute file path:Is there anything conceptually ore security wise that is a blocker to allow local relative file system paths for repositories of type Composer?
If not, I'm happy to create a PR to allow it.
The text was updated successfully, but these errors were encountered: