[Dxspider-announce] Developers of local addons or commands

Dirk Koopman djk at tobit.co.uk
Tue May 6 17:18:30 BST 2008


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



More information about the Dxspider-announce mailing list