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

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


Doh.  I normally do everything as sysop but for some reason, I’d SUd to Pi when I ran that command.

Just done it again, see below.

But I can confirm that when I logged into the console and ran check_build, I was logged in as sysop.


sysop at dx-spider-mojo:/spider $ git remote show origin
* remote origin
  Fetch URL: git://scm.dxcluster.org/scm/spider
  Push  URL: git://scm.dxcluster.org/scm/spider
  HEAD branch: master
  Remote branches:
    1.53           tracked
    Aranea1        tracked
    NEW_ROUTE      tracked
    NewRoute       tracked
    PC90-2         tracked
    SIMPLEROUTE    tracked
    anyevent       tracked
    backportdxprot tracked
    cachespots     tracked
    contchat       tracked
    ip_address     tracked
    legacy-1.53    tracked
    master         tracked
    mojo           tracked
    multiconnect   tracked
    new-spawn      tracked
    newdisc        tracked
    newpc92timings tracked
    newprot        tracked
    newprot2       tracked
    newusers       tracked
    origin         tracked
    spider         tracked
    spider2        tracked
    staging        tracked
    users.v3j      tracked
    wpxloc.dat     tracked
  Local branches configured for 'git pull':
    master merges with remote master
    mojo   merges with remote mojo
  Local refs configured for 'git push':
    master pushes to master (local out of date)
    mojo   pushes to mojo   (up to date)



> On 7 Feb 2023, at 11:28, Kin <ea3cv at cronux.net> wrote:
> 
> What this message indicates is that the directory (and/or more items) has a different owner.
>  
> I assume you are running it as user sysop the command I gave you?
>  
> 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/c62f9ef0/attachment-0001.htm>


More information about the Dxspider-support mailing list