The Toolkit for Online Communities
18814 Community Members, 0 members online, 1873 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Development : ad_acs_version is not helpful

Forum OpenACS Development: ad_acs_version is not helpful

Icon of envelope Request notifications

Posted by Randy O'Meara on
I was looking for a method to determine the major version of oacs so that I can make the right calls to create a user in my aa-test procs, and found ad_acs_version. This proc is supposed to return (from its doc section) "version string (major.minor.release)". It doesn't. It returns "development" which is pretty useless.

Is there another way to get this information? Or should this proc be fixed to return what's advertised?

BTW, the same "development" string is returned from the 4-6 CVS tip and HEAD versions.

Posted by Peter Marklund on
The procs ad_acs_version and ad_acs_relrease_date were essentially left unimplemented. I made the procs use the version_name and release_date of the acs-kernel package.
Posted by Randy O'Meara on
Thank you, Peter. This makes it possible to code for both 4.x and 5.x while straddling the latest-released and soon-to-be-released line.