52North / WPS

**DEPRECATED** The 52°North Web Processing Service enables the deployment of geo-processes on the web in a standardized way.
GNU General Public License v2.0
63 stars 55 forks source link

Support R script versions #144

Open nuest opened 10 years ago

nuest commented 10 years ago

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 commented 9 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

nuest commented 9 years ago

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

nuest commented 9 years ago

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.

nuest commented 9 years ago

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