At the moment YAML completion can be achieved by adding the following on top of the package config files:
# yaml-language-server: $schema=https://github.com/chainguard-dev/melange/raw/refs/heads/main/pkg/config/schema.json
package:
It works as it is but it feels wrong to use Github repo content delivery as something that potentially have many download requests.
The proposal would be to move this file to a CDN with a domain that Chainguard might have for this purposes.
An example would be how the guys over go-task do it:
# yaml-language-server: $schema=https://taskfile.dev/schema.json
version: "3"
source
Since Melange is public, maybe a github-pages deployment would do the trick without having to provide your own CDN?