The score specification intends that the container file elements that have a source path are resolved relative to the source of the score file and not just relative to the working directory. This ensures that score-compose generate sub-component/score.yaml works as expected.
This PR fixes this by tracking the source file info in the state object and using this when resolving the source file.
The score specification intends that the container file elements that have a source path are resolved relative to the source of the score file and not just relative to the working directory. This ensures that
score-compose generate sub-component/score.yaml
works as expected.This PR fixes this by tracking the source file info in the state object and using this when resolving the source file.