From djk at tobit.co.uk Tue May 6 17:12:28 2008 From: djk at tobit.co.uk (Dirk Koopman) Date: Tue, 06 May 2008 17:12:28 +0100 Subject: [Dxspider-announce] Developers of local addons or commands Message-ID: <4820836C.9080207@tobit.co.uk> The main version number of the code has been quietly upissued to 1.55. This is because one of the fundamental API calls (to do with getting user info) has changed. Any developers that have added local code will need to check that they are using the correct version of the API. To check whether you may have a problem do:- cd /spider; grep -rl 'DXUser->get' local local_cmd (ONLY) If you get any filenames as a result of this you will need to apply the following global edit:- cd /spider; perl -pi.bak -e 's/DXUser->get/DXUser::get/' \ `grep -rl 'DXUser->get' local local_cmd` note the use of both ' and `. They are different. If the check fails to produce anything, then you don't need to do the global edit (in fact it will hang - waiting for input - ^C to get out of it) Dirk G1TLH From djk at tobit.co.uk Tue May 6 17:18:30 2008 From: djk at tobit.co.uk (Dirk Koopman) Date: Tue, 06 May 2008 17:18:30 +0100 Subject: [Dxspider-announce] Developers of local addons or commands In-Reply-To: <4820836C.9080207@tobit.co.uk> References: <4820836C.9080207@tobit.co.uk> Message-ID: <482084D6.2080506@tobit.co.uk> Dirk Koopman wrote: > The main version number of the code has been quietly upissued to 1.55. > This is because one of the fundamental API calls (to do with getting > user info) has changed. > > Any developers that have added local code will need to check that they > are using the correct version of the API. > > To check whether you may have a problem do:- > > cd /spider; grep -rl 'DXUser->get' local local_cmd > > (ONLY) If you get any filenames as a result of this you will need to > apply the following global edit:- > > cd /spider; perl -pi.bak -e 's/DXUser->get/DXUser::get/' \ > `grep -rl 'DXUser->get' local local_cmd` > > note the use of both ' and `. They are different. > > If the check fails to produce anything, then you don't need to do the > global edit (in fact it will hang - waiting for input - ^C to get out of it) > NOTE: this only applies if you have upgraded from CVS / git and your node now proclaims itself as 1.55 build 0.3 or above. NOTE THIS AS WELL: this only applies to DEVELOPERs not ordinary sysops or users of the software. If you have not developed any perl addons or extra commands you can safely ignore all this. Sorry if this wasn't obvious. Dirk G1TLH