Skip to content

We should make <versionFile> mandatory and specify options for its behaviour #196

@martindholmes

Description

@martindholmes

As suggested by @joeytakeda on #115:

I think empty <versionFile/> should just be "I don't want a version extension" and <versionFile>VERSION</versionFile> (where VERSION doesn't actually exist) would be "I don't care what it is, so just make it for me"; otherwise, there's no way that someone could decide not to have VERSION'd files. In terms of what we'd generate as the version, we could just do [a-z0-9] (to avoid any potential conflicts). And since we're using Saxon 10, we can use random-number-generator() to generate a unique six character version code (I hadn't had a chance to use it yet, but just played around with it and it's great. Would send a xsltfiddle, but neither xsltfiddle nor xquery fiddle has support for Saxon 10 at the moment apparently).

This would go along with making the element mandatory in the schema.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestrelease-blockerThe dev branch must not be merged into master while a release-blocker bug is open.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions