[FEATURE] Shorthand way to define `files` and `volumes`
@lekaf974 is already working on this.
Since May 15, 2026.
- Dominant language
- Makefile
- Stars
- 8.1k
- Forks
- 2.1k
- PR merge metrics
- No merged PRs in 30d
Description
Detailed description
Score is designed for developers to quickly and easily define what their workloads need to run. Following the principals of incrementally repealing complexity and focusing on developer experience, there are a number of properties that could have short hand versions.
This PR will focus on files and volumes.
A shorthand for:
files:
/usr/local/conf/app:
content: "Hello world"
Could be:
files:
/usr/local/conf/app: "Hello world"
Same for volumes.
Context
This is part of the broader iniative to move at some point the Score spec from v1b1 to v1.
Possible implementation
- Update the
filesandvolumespart of the spec to support this 3rd options for end users to definefilesandvolumes - In
score-gouse this open PR's branch to support this part there - In
score-composeuse this openscore-compose's PR's branch to support this part alongside still supporting the 2 other existing ways. - Same as right above for
score-k8s - Once everything is validated and tested above, let's approve all the PR and do the release in cascade accordingly
Additional information
Take similar approach as what was done in the past with this exact same files and volumes part of the Spec: https://github.com/score-spec/spec/pull/123.
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.
Assessment
This issue has not been assessed yet.