When using nbgv install, the URL for the $schema field in the generated version.json is hardcoded to reference the version.schema.json in the master branch (which seems to be redirected to the main branch). This can be confusing as it may guide the user to edit version.json in a manner that is incompatible with the installed version of nbgv, if the schema has been changed since the release was made.
I got bitten by this using the latest (3.5.119) version and trying to use the release.tagName setting. It took me a while to figure out that the feature is yet to be released, however the IDE happily let me use it since it is in the schema. I got confused when running nbgv prepare-release would remove the field in the updated version.json files. It would have been nice with a validation error instead of just ignoring the unknown field.
I suppose it can be a bit tricky to implement, but the generated version.json should preferably reference the correct version of the schema as well.
When using
nbgv install, the URL for the$schemafield in the generatedversion.jsonis hardcoded to reference theversion.schema.jsonin themasterbranch (which seems to be redirected to themainbranch). This can be confusing as it may guide the user to editversion.jsonin a manner that is incompatible with the installed version of nbgv, if the schema has been changed since the release was made.I got bitten by this using the latest (3.5.119) version and trying to use the
release.tagNamesetting. It took me a while to figure out that the feature is yet to be released, however the IDE happily let me use it since it is in the schema. I got confused when runningnbgv prepare-releasewould remove the field in the updatedversion.jsonfiles. It would have been nice with a validation error instead of just ignoring the unknown field.I suppose it can be a bit tricky to implement, but the generated
version.jsonshould preferably reference the correct version of the schema as well.