Contributing Guidelines say:
All static files (WXR, ZIP, JPG etc.) referenced by the Blueprint must be included in the submitted directory in your Pull Request and referenced via the raw.githubusercontent.com domain.
However, it's unclear how to actually reference these files in blueprint.json in a PR. That blueprint can ship URLs pointing to the newly proposed branch, but once that branch is merged these URLs will need to magically start pointing to trunk.
Two solutions that came to mind:
- CI job to rewrite the URLs. I don't like it, though. It's extra work and will make forking and adjusting these files more difficult.
- Support URLs relative to the Blueprint. For example
{ "step": "installPlugin", "pluginZipFile": "./plugin.zip" }. This would be a breaking change because relative URLs are now relative to the client site URL. Maybe that's fine, though? Or perhaps we could ship a new resource type, like "blueprint-relative-url"?
cc @bgrgicak @brandonpayton @dmsnell for ideas