• HatchIT problems?

    From Anna Christina Na¿@VERT to GitLab issue in main/sbbs on Tue Jun 22 14:11:44 2021
    open https://gitlab.synchro.net/main/sbbs/-/issues/274

    Hi,

    I'm trying to hatch a nodelist to a fileecho with SBBS.
    One of my links to a fileecho is my own point, but it won't receive the file.

    The tic and flo files are created in `/sbbs/fido/outbound.1a4`:
    00020001.flo
    ti_0004e.tic
    But as I learned, they should've been in a .pnt directory.

    Besides, the .tic file has this content:

    Area WEEDNET-NODELIST
    Origin 420:2/1
    From 2:240/5824
    To 420:2/1.1
    File WEEDNET.Z76
    Size 1498
    Date 1624282982
    Desc WeedNet first nodelist
    Created by TickIT 1.6
    Crc C94A52C8
    Path 2:240/5824
    Pw


    I'm wondering why my FidoNet address is written to this file as I selected my WeedNet address as `Origin`.

    Are these findings bugs or did I do anything wrong here?

    Also, is it possible to hatch files using a command-line tool which can be called from a script (eg. a cronjob)?

    Thank you!

    Anna

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Anna Christina Na¿@VERT to GitLab note in main/sbbs on Tue Jul 20 15:10:08 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/274#note_2064

    Hi,

    I've changed the 3.18b version of hatchit.js to include a non-interactive mode. As I'm not that into git, I've attached my version to this issue. [hatchit-acn.js](/uploads/f1107a52bb186d92323d40a127a85b18/hatchit-acn.js)

    The problem with point directories still persists, I have to figure out how to "calculate" this directory path.

    But it should now be possible to hatch a file via a script :)

    Regards,
    Anna

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Anna Christina Na¿@VERT to GitLab note in main/sbbs on Fri Aug 6 10:33:23 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/274#note_2065

    Hi,

    I've changed my version further, now I think it also calculates the outbound path of points correctly.
    At least with my own point, it is working :) [hatchit-acn.js](/uploads/9085705175aaad08d3af5afdfb0fd2f9/hatchit-acn.js)

    Using this HatchIT version, I now can script nodelist creation, adding to the filebase and hatching to the fileecho.

    Maybe this will also help other users.

    Regards,
    Anna

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Fernando Toledo@VERT to GitLab note in main/sbbs on Sun Oct 17 01:33:46 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/274#note_2121

    Non interactive mode for hatchit are very interesting thing! thanks!
    I hope than can be merge with the original file.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From acn@VERT/IMZADI to Fernando Toledo on Thu Oct 21 17:11:09 2021
    Hi,

    Non interactive mode for hatchit are very interesting thing! thanks!
    I hope than can be merge with the original file.

    This is up to digital man :)
    My code might also have to be changed slightly to work with 3.19 and the new filebase.

    Regards,
    Anna

    ---
    þ Synchronet þ Imzadi Box -*- box.imzadi.de
  • From Anna Christina Na¿@VERT to GitLab note in main/sbbs on Fri Jan 14 00:34:17 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/274#note_2193

    Hi,

    I've adapted my HatchIT version to 3.19b, see attached file. [hatchit-acn.js](/uploads/249fa0cc22cd6b54ed7422f0e387373a/hatchit-acn.js)

    Regards,

    Anna

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Anna Christina Na¿@VERT to GitLab note in main/sbbs on Fri Jan 14 02:31:20 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/274#note_2198

    Hi,

    here's the latest version with issue 305 being closed: [hatchit-acn.js](/uploads/09b0ce828e463080061ed13ea6dfc849/hatchit-acn.js)

    Regards,
    Anna

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Fri Jan 14 11:11:40 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/274#note_2200

    @acn128 looking to merge your hatchit.js into Git. Is there a reason you needed to use OldFileBase() rather than just FileBase()?

    All OldFileBase() does is map the old property names used in ec's load/filebase.js to the new/native FileBase() property names introduced in v3.19. The only change I can see that would be needed is to replace file.path with filebase.get_path(file.name).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Anna Christina Na¿@VERT to GitLab note in main/sbbs on Fri Jan 14 11:22:02 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/274#note_2201

    Thank you for merging it into the main tree!

    I've used the 3.19b hatchit.js as a base - and there OldFileBase() is used...
    I haven't compared the OldFileBase with the new FileBase(); I just took my changes from 3.18b's hatchit.js and added them to the new hatchit.js (and I tried to fix the problem with files directed at points and with the TIC passwords).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Fri Jan 14 12:14:53 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/274#note_2202

    Ah, I see. Yes, no problem. I haven't used hatchit.js myself, so I'm hesitant to make changes I can't (yet) personally test. I'll be merging in your changes here.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab issue in main/sbbs on Fri Jan 14 12:20:46 2022
    close https://gitlab.synchro.net/main/sbbs/-/issues/274

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Fri Jan 14 12:20:46 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/274#note_2203

    Your patch was merged.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From acn@VERT/IMZADI to Rob Swindell on Sat Jan 15 15:05:22 2022
    Thank you very much! :)

    Anna

    ---
    þ Synchronet þ Imzadi Box -*- box.imzadi.de