spec-prod icon indicating copy to clipboard operation
spec-prod copied to clipboard

Possibility to pin version of Bikeshed/ReSpec

Open tidoust opened this issue 3 years ago • 2 comments

Via https://github.com/gpuweb/gpuweb/issues/3222#issuecomment-1192917097

Spec-prod automatically uses the latest version of Bikeshed or ReSpec. Once in a while, an update to the edition tools introduces a bug that breaks builds of a particular spec (in the above example because the tool generates invalid HTML).

Some groups like to take a "dev" approach to spec building, treating editing tools and spec-prod as dependencies. If there was a way to pin the version of the tool being used and a mechanism to detect when a new version is available that creates a PR automatically (not to end up in situations where specs use outdated versions of the tools), that would make it possible to detect that the build breaks before switching to the newer version.

tidoust avatar Jul 25 '22 08:07 tidoust

Something like using requirements.txt and package.json? Sending dependency update PRs could then be responsibility of Dependabot.

sidvishnoi avatar Jul 25 '22 11:07 sidvishnoi

I had mentioned "dependencies" more as a model of thinking in terms of versions than in terms of using a particular dependencies mechanism. That said, if the pinned version could be specified in a requirements.txt or package.json file, we could indeed leverage Dependabot's ability to notify repo owners about new versions.

tidoust avatar Jul 25 '22 14:07 tidoust