WPS icon indicating copy to clipboard operation
WPS copied to clipboard

Support R script versions

Open nuest opened this issue 9 years ago • 4 comments

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 pattern scriptname-versionstring.R, where versionstring can be parsed with Java Semver (https://github.com/zafarkhaja/jsemver)

nuest avatar Sep 30 '14 11:09 nuest

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

nuest avatar Dec 08 '14 09:12 nuest

Currently under development in https://github.com/nuest/WPS/tree/wps4r/feature/script-versions

nuest avatar Jan 12 '15 17:01 nuest

An easier version of versioning: automatically support versions, ignore filenames completely, simply use the highest process version. Support only single integers as process versions.

  • [ ] latest version is returned on calling DescribeProcedure
  • [ ] latest version is run when executing the process

Later semantic versioning might be supported for versions, but this is not crucial.

nuest avatar Jan 15 '15 09:01 nuest

Branch linked above merged into wps4r/wps-4.0, so far only tests and test files.

nuest avatar Jul 01 '15 14:07 nuest