No symlinks in vendor if embedded on static build
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 11.3k
- Forks
- 488
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 11
Description
What happened?
I'm using openapi-generator to generate code from a openapi spec. The resulting bundle will be placed into generated/api-bundle. According to the documentation, the composer.json should be edited like this:
"repositories": [
{
"type": "path",
"url": "generated/api-bundle"
}
],
and composer will handle this by creating a directory based on the first part of package name and symlinks to this directory. So good so clear.
Due to the code, this is not support yet?
Build Type
Docker (Alpine)
Worker Mode
Yes
Operating System
GNU/Linux
CPU Architecture
x86_64
PHP configuration
---
Relevant log output
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with embed.go around the linked code at line 139 and inspect how embedded files are handled during a static Docker Alpine build. Reproduce the worker-mode build with Composer path repositories and verify that the generated vendor directory preserves the symlinked package paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go, php
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100