score-spec / score-spec/spec

[FEATURE] Shorthand way to define `files` and `volumes`

Open
#196 11 comments 0 reactions 1 assignee View on GitHub

@lekaf974 is already working on this.

Since May 15, 2026.

good first issue help wanted new feature/idea
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 files and volumes part of the spec to support this 3rd options for end users to define files and volumes
  • In score-go use this open PR's branch to support this part there
  • In score-compose use this open score-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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.