Forum OpenACS Development: ad_acs_version is not helpful
Posted by Randy O'Meara on 10/03/03 06:49 AM
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.
2: Re: ad_acs_version is not helpful (response to 1)
Posted by Peter Marklund on 10/03/03 12:14 PM
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.
3: Re: ad_acs_version is not helpful (response to 2)
Posted by Randy O'Meara on 10/04/03 12:15 AM
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.