speced / bikeshed

:bike: A preprocessor for anyone writing specifications that converts source files into actual specs.
https://speced.github.io/bikeshed
Creative Commons Zero v1.0 Universal
1.11k stars 200 forks source link

No way to fully override "Previous Version" from command-line #2041

Open tidoust opened 3 years ago

tidoust commented 3 years ago

The spec-prod action computes the "Previous Version" link itself for publication to /TR and passed it to Bikeshed on the command-line with --md-previous-version. Command line argument should override the metadata entry in the spec source. However, with Previous Version, this rather adds an entry to the list.

The net result is that specs that have something like the typical Previous Version: from biblio metadata end up with two "Previous Version" links, instead of one: https://www.w3.org/TR/2021/WD-webcodecs-20210427/

Could the override be a real override?

cc @sidvishnoi, @deniak

tabatkins commented 3 years ago

I've had an idea in my back pocket for the ability to clear a metadata coming from previous levels, but haven't had a good use-case to justify working on it. This sounds reasonable.