[Dxspider-support] New version of check_build.pl and others

Keith Maton g6nhu at me.com
Tue Feb 7 11:12:56 GMT 2023


fatal: detected dubious ownership in repository at '/home/sysop/spider'
To add an exception for this directory, call:

	git config --global --add safe.directory /home/sysop/spider


Do you want me to do this exception.

V1.1 of the script was working perfectly.



> On 7 Feb 2023, at 11:05, Kin <ea3cv at cronux.net> wrote:
> 
> It works perfectly for me:
>  
> sh/ver
> DXSpider v1.57 (build 497 git: mojo/378cbf24[r]) using perl v5.30.3 on Linux
> Copyright (c) 1998-2023 Dirk Koopman G1TLH
> EA3CV de EA3CV-3  7-Feb-2023 1100Z dxspider >
>  
> check
> There is no new build
> EA3CV de EA3CV-3  7-Feb-2023 1100Z dxspider >
>  
> If there is no new version, it doesn't install and doesn't restart.
> It has been tested on 5 different nodes.
> Could you help me by doing the following and sending me the answer?
>  
> cd /spider
> git remote show origin
>  
>  
> Kin
>  
>  
> De: Keith Maton <g6nhu at me.com> 
> Enviado el: martes, 7 de febrero de 2023 11:57
> Para: The DXSpider Support list <dxspider-support at tobit.co.uk>
> CC: Kin <ea3cv at cronux.net>
> Asunto: Re: [Dxspider-support] New version of check_build.pl and others
>  
> I’ve just installed this version and when I ran it, according to the debug log, there’s a new build.  The cluster was restarted.
>  
> I checked and I’m running build 497.
>  
> Ran it again and again, according to the debug log, there’s a new build.  The cluster was restarted.
>  
> I’m still running build 497.
>  
> So it seems a little enthusiastic :)
>  
> pi at dx-spider-mojo:/home/sysop/spider $ grep -E "[no|a] new build" /spider/local_data/debug/2023/038.dat
> 1675767185^RING: 10:53:00^(chan) -> D G6NHU There is a new build
> 1675767253^RING: 10:54:13^(chan) -> D G6NHU There is a new build
> 
> 
> 
> 
>  
> 
> 
> On 7 Feb 2023, at 09:35, Kin via Dxspider-support <dxspider-support at tobit.co.uk> wrote:
>  
> Hi,
>  
> 1. Modifications to check_build.pl script 
>  
> * Before doing a possible git pull, the possible commit is checked.
> * Backup is only triggered if dxspider is updated
> * The backup directory is moved to /home/sysop/spider.backup
>  
> Note: Only for Mojo version > build 495
>      File::Copy::Recursive has to be installed
>           Debian (or similar): apt install libfile-copy-recursive-perl
>           Alternative: cpan install File::Copy::Recursive
>      Run from the dxspider terminal or the crontab
>      Can be automated with crontab i.e.
>           0 1 * * 1,2,3,4,5 run_cmd("check_build Y")
>           0 1 * * 1,2,3,4,5 run_cmd("check_build")
>                      
> 2. New script undo_newbuild.pl
>  
> This utility is used to undo the last update in case of problems.
> It is located in /spider/local_cmd.
> Run from the dxspider terminal or crontab
>  
>  
> 3. Improved update_ip.pl script
>  
> * Create variables (if they don't exist) in /spider/scripts/startup
> * Modify the variables in /spider/scripts/startup
>  
> Note: Only for Mojo version > build 495
>      Path::Tiny must be installed 
>           Debian (or similar): apt install libpath-tiny-perl
>           Alternative: cpanm install Path::Tiny
>      Run from the dxspider terminal or the crontab
>      Can be automated with crontab i.e.
>           00,10,20,30,40,50 * * * * run_cmd("update_ip")
>  
> Everything has been tested on Debian and Ubuntu with success.
>  
> https://www.dropbox.com/s/8j1xdoinqwomr50/check_build.pl?dl=0
>  
> 73 de Kin EA3CV
>  
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at tobit.co.uk <mailto:Dxspider-support at tobit.co.uk>
> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20230207/590ab605/attachment.htm>


More information about the Dxspider-support mailing list