Open nuest opened 10 years ago
There already is a version attribute - this should override the filename based version if both are present, see https://github.com/52North/WPS/blob/master/52n-wps-webapp/src/main/webapp/R/scripts/demo_uniform-table.R
Currently under development in https://github.com/nuest/WPS/tree/wps4r/feature/script-versions
An easier version of versioning: automatically support versions, ignore filenames completely, simply use the highest process version. Support only single integers as process versions.
Later semantic versioning might be supported for versions, but this is not crucial.
Branch linked above merged into wps4r/wps-4.0
, so far only tests and test files.
Implement a feature to support different versions of a script. The feature has to be enabled in an annotation
wps.versioned: true
, then the versions are based on the script filenames with the patternscriptname-versionstring.R
, whereversionstring
can be parsed with Java Semver (https://github.com/zafarkhaja/jsemver)