• New Perl Utilities

    From Michael Dukelsky@2:5020/1042 to All on Wed Nov 25 18:45:36 2020
    Hello All,

    Tuesday November 24 2020, Michael Dukelsky wrote to All:

    You may download the files in one archive here: https://github.com/huskyproject/util/archive/v1.0.zip

    It is better to use a different URL which always points to the latest release https://github.com/huskyproject/util/releases/latest
    It is already v1.1 now :)

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: Moscow, Russia (2:5020/1042)
  • From Angel Ripoll@2:341/66 to Michael Dukelsky on Sat Nov 28 18:57:28 2020
    Hola Michael!

    25 Nov 20 18:45, Michael Dukelsky escribió a All:

    https://github.com/huskyproject/util/releases/latest
    It is already v1.1 now :)

    Thanks a lot.

    I have used fixOutbound.pl and I think it does not do what is expected.


    *********************************************************
    root@bbs:~# fixOutbound.pl --dry-run
    ### It is a dry-run, no actual changes will be made ###
    Deleting orphan files from outbound
    /srv/fido/var/spool/outbound/44e18401.tu0 deleted /srv/fido/var/spool/outbound/45601a01.tu0 deleted /srv/fido/var/spool/outbound/459aab00.we0 deleted /srv/fido/var/spool/outbound/46278906.we0 deleted /srv/fido/var/spool/outbound/46a62c06.we0 deleted /srv/fido/var/spool/outbound/46ec2d02.th0 deleted /srv/fido/var/spool/outbound/4786de00.th0 deleted /srv/fido/var/spool/outbound/47f7a605.th0 deleted
    [...]

    *********************************************************

    If I look at the file 015500ca.clo:

    ********************************************************* root@bbs:/var/spool/ftn/outbound# cat 015500ca.clo ^/var/spool/ftn/outbound/44e18401.tu0
    ^/var/spool/ftn/outbound/45601a01.tu0
    ^/var/spool/ftn/outbound/459aab00.we0
    ^/var/spool/ftn/outbound/46278906.we0
    ^/var/spool/ftn/outbound/46a62c06.we0
    ^/var/spool/ftn/outbound/46ec2d02.th0
    ^/var/spool/ftn/outbound/4786de00.th0
    ^/var/spool/ftn/outbound/47f7a605.th0
    [...]
    *********************************************************

    As you can see, the files are in a flow file.

    Un saludo,
    Angel Ripoll
    aripoll @ zruspas.org

    --- GoldED+/LNX 1.1.5-b20180707 + HPT 1.9 + Binkd 1.1 en Debian
    * Origin: Synchronet - bbs.zruspas.org - Zruspa's BBS - (2:341/66)
  • From Kai Richter@2:240/77 to Angel Ripoll on Sun Nov 29 20:56:28 2020
    Hello Angel!

    29 Nov 20, Angel Ripoll wrote to Kai Richter:

    Deleting orphan files from outbound
    /srv/fido/var/spool/outbound/44e18401.tu0 deleted
    ^/var/spool/ftn/outbound/44e18401.tu0

    As you can see, the files are in a flow file.

    Same names but different locations = not same files.

    /var/spool/ftn is a symlink of /srv/fido/var/spool.
    They are the same files.

    There is no refernce to same files in the description: fixOutbound.pl - remove from outbound the echomail bundles not referred by any flow file.

    I see some husky config examples with /var/spool/ftn but normally there is no need to use that. Less complex configurations are easier to handle. I presume that you have different path definitions in your configuration. One use the symlink and one use the absolute pathname. Thats why the tool can't match the pathnames.

    I recommend to use no symlinks in the configuation. I have symlinks for quick access if i do manual maintenance work but they are nothing that husky knows about.

    Regards

    Kai

    --- GoldED+/LNX 1.1.4.7
    * Origin: Monobox (2:240/77)
  • From Kai Richter@2:240/77 to Angel Ripoll on Mon Dec 7 20:31:30 2020
    Hello Angel!

    07 Dec 20, Angel Ripoll wrote to Kai Richter:

    They are all with the symbolic links. I have changed it to the real
    paths and it works. But I don't understand why it doesn't work if everything is with the symbolic links

    I've the same problem with some windows desktop links. They're files that have an *.lnk extension and some tools can detect them while others can't. Maybe some tools expand the link to absolute path internally?

    Regards

    Kai

    --- GoldED+/LNX 1.1.4.7
    * Origin: Monobox (2:240/77)
  • From Michael Dukelsky@2:5020/1042 to All on Mon Jan 18 20:35:50 2021
    Hello All,

    Version 1.8 of the Husky Perl toolkit was published. It contains:

    * rmLinkMail.pl - remove netmail, echomail and files of a link.
    * rmLink.pl - remove a link.
    * fixOutbound.pl - remove from outbound the echomail bundles not referred by any flow file.
    * showold.pl - prints out to STDOUT how much netmail, echomail and files are stored for every link in the outbound and fileboxes and for how long they are stored.

    The utilities use Fidoconfig::Token and Husky::Rmfiles packages which are also present in the toolkit.

    What's new.
    1. If htick is not installed, then tests with file echos are not started.
    2. If hpt is not in the PATH, you can define the directory with hpt.
    3. Publication of the report in an echo or in netmail was added in fixOutbound.pl.
    4. .spec files for building in rpm-based Linux distributions were added.
    5. A script for building in Fedora, RHEL and related Linux distributions using the mock utility was added.
    6. Minor fixes and improvements.

    This toolkit can be found here: https://github.com/huskyproject/util/releases/latest

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: Moscow, Russia (2:5020/1042)