Skip to content

Conversation

@Seldaek
Copy link
Member

@Seldaek Seldaek commented May 5, 2023

Fixes #11409

@Seldaek Seldaek added the Feature label May 5, 2023
@Seldaek Seldaek added this to the 2.6 milestone May 5, 2023
@Seldaek Seldaek requested a review from naderman May 5, 2023 11:49
@stof
Copy link
Contributor

stof commented May 5, 2023

should this have tests ?

Also, you probably need to update the ValidRepositoryValidator of Packagist to reject URLs starting with a ~ before merging this, to make sure that Packagist will not end up expanding ~ to the HOME on the server.

@Seldaek
Copy link
Member Author

Seldaek commented May 5, 2023

Ah yes good point I'll make sure this is fine on the packagist end. Tests I don't think it's really worth it here..

Seldaek added a commit to composer/packagist that referenced this pull request May 5, 2023
@Seldaek Seldaek merged commit 3bb191a into composer:main May 7, 2023
vtsykun added a commit to vtsykun/packeton that referenced this pull request May 17, 2023
ktomk added a commit to ktomk/composer that referenced this pull request Oct 16, 2023
Otherwise the URL may not be supported since 3bb191a (Add support for
env vars and ~ (for HOME) in repo paths for vcs and artifact
repositories, fixes composer#11409 (composer#11453), 2023-05-07)
ktomk added a commit to ktomk/composer that referenced this pull request Oct 25, 2023
Otherwise the URL may not be supported since 3bb191a (Add support for
env vars and ~ (for HOME) in repo paths for vcs and artifact
repositories, fixes composer#11409 (composer#11453), 2023-05-07)
Seldaek pushed a commit that referenced this pull request Oct 26, 2023
Otherwise the URL may not be supported since 3bb191a (Add support for
env vars and ~ (for HOME) in repo paths for vcs and artifact
repositories, fixes #11409 (#11453), 2023-05-07)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Environment variable not work with local repo

2 participants