datopian / ckanext-versioning

Deprecated. See https://github.com/datopian/ckanext-versions. ⏰ CKAN extension providing data versioning (metadata and files) based on git and github.
https://tech.datopian.com/versioning/
GNU Affero General Public License v3.0
7 stars 4 forks source link

Validate Tag Names #5

Open pdelboca opened 4 years ago

pdelboca commented 4 years ago

When using a GitHub backend, version names like Version 1.2 are not supported since they are not valid as tag names.

Per previous discussion in the PR:

If you want to pass validation to the backend, I suppose you can do a try / except ValueError around the tag_create call. That would work but may not provide the best UX as CKAN level validation.