I'm trying to think of a way of automating importing and file hatching using Mystic when dealing with a changing filename like this? At present
1) Could the function syntax allow for file extension wildcards such as
.* ?
2) Could provision be made to allow for the importing of a file in to Mystic and its hatching when this MUTIL function is called?
My thoughts are that I don't want someone to put a AutoHatch * in there and hatch 2390490283 files, so that might have been why I didn't allow
it to begin with.
But since you have a good reason for it, I think its time to reconsider
:)
2) Could provision be made to allow for the importing of a file in to Mystic and its hatching when this MUTIL function is called?
Mass Upload should cover this part, right? If you run them both in the same MUTIL process, MUTIL will always try to mass upload files before it hatches.
Yes I guess so. How would a file like a compressed nodelist be handled though? The situation being that you only want the one copy of the file
in the file base and it replaces the last copy and filename in the base. With a TIC import the REPLACES verb can take care of that as part of the import/hatch process... but with Mass Upload I'm picking it may not?
In that case you're right it wouldn't replace it. I think the hatch
would still work because any previous file would have already been
hatched and flagged as hatched so only the new file would actually hatch.
The issue then would only be that it'd still have the old nodelists in your file database.
I'm still conflicted on how to best implement this, considering the auto hatch function does require a file base, and there is nothing that provides the actual file location outside of the file base itself. So changing this is going to rewrite a full rewrite of the functions and break existing setups.
Yes I guess so. How would a file like a compressed nodelist be handle though? The situation being that you only want the one copy of the fi in the file base and it replaces the last copy and filename in the ba With a TIC import the REPLACES verb can take care of that as part of import/hatch process... but with Mass Upload I'm picking it may not?
In that case you're right it wouldn't replace it. I think the hatch
would still work because any previous file would have already been
hatched and flagged as hatched so only the new file would actually hatch.
I'm going to stop now :) Kinda went down a rabbit hole. But suffice to
say that just using Mass Upload then running FileToss on it's own is not going to be enough for what I'm hoping to do within Mystic.
The end result is it gets generated and hatched automatically, but
you'll end up with the old nodelists in your fsx nodelist base because mass upload won't do a replace. The older nodelists won't autohatch because they'll already be flagged as hatched.
Having thought through it a little more, I can make the autohatch add
the file to the Mystic database and replace the old one during the
hatch (without breaking existing configurations) BUT it will require
that the file is copied to the file area's directory first.
On 02-09-20 01:09, Al wrote to g00r00 <=-
Maybe a simple hatch utility could do that with "Replaces" and the like
if needed.
Since Mystic (or mutil) has all the functions needed built in it sounds
to me like we just need to put the file in the inbound with a bare bones tic file and let it go..
Maybe a simple hatch utility could do that with "Replaces" and the like
if needed.
Thats probably the easiest solution if someone knows how to make the barebone .TIC file.
Yep, in spite of the fact I hatch files regularly I forget what a barebones tic looks like or needs.. ;)
A small utility or script would be welcome by a few of us so we can get that done as quickly and easily as possible.
I'm not sure if it will help or not, but I do have a text file here that explains all of the keywords for a tic file. I've dropped it into Paul's filebox, in case he would like to hatch it out.
I've never written a tic file, as I let HTick do that for me, but the keywords are pretty straight-forward.
I agree with Al. If there was a tool to create the TIC then I could
just use that in lieu of Htick. While it replaces one tool for another
it does not really make the overall functionality of trying to hatch
files outside of the logged in Mystic UI any easier...
In the early days when I was hatching stuff out I was using an edited
TIC per Mystic release for each OS to fudge this hatching process. It
was time consuming editing each by hand and updating file sizes etc. for the files I wanted to pass to Mystic to toss and hatch :(
I agree with Al. If there was a tool to create the TIC then I could just use that in lieu of Htick. While it replaces one tool for another it
does not really make the overall functionality of trying to hatch files outside of the logged in Mystic UI any easier...
I wonder if a .mps could do this?
That way nodes who want to hatch files could add it to a menu. It would need to be able to calculate the md5sum of the file and insert the
needed keywords like "Replaces" if needed for any file being hatched.
It should be simple enough to put together a script to generate the tic file. Perhaps even just have a generic tic file, that you would just change the filename, description, filesize and crc, and have it import/hatch...
I'd try to throw one together, but I'm already juggling three different projects... :(
I think I may just rewrite the autohatch function instead of trying to bandaid something like we've been discussing.
I worry about the statistical tracking though, because when it is found
as a TIC Mystic isn't going to count it as a hatched file.
On 02-09-20 12:17, Al wrote to g00r00 <=-
Hello g00r00,
Thats probably the easiest solution if someone knows how to make the barebone .TIC file.
Yep, in spite of the fact I hatch files regularly I forget what a barebones tic
looks like or needs.. ;)
A small utility or script would be welcome by a few of us so we can get that done as quickly and easily as possible.
On 02-09-20 13:57, Black Panther wrote to Al <=-
I've never written a tic file, as I let HTick do that for me, but the keywords are pretty straight-forward.
On 02-10-20 12:51, Avon wrote to Black Panther <=-
In the early days when I was hatching stuff out I was using an edited
TIC per Mystic release for each OS to fudge this hatching process. It
was time consuming editing each by hand and updating file sizes etc.
for the files I wanted to pass to Mystic to toss and hatch :(
On 02-09-20 18:14, Black Panther wrote to Avon <=-
On 10 Feb 2020, Avon said the following...
In the early days when I was hatching stuff out I was using an edited
TIC per Mystic release for each OS to fudge this hatching process. It
was time consuming editing each by hand and updating file sizes etc. for the files I wanted to pass to Mystic to toss and hatch :(
It should be simple enough to put together a script to generate the tic file. Perhaps even just have a generic tic file, that you would just change the filename, description, filesize and crc, and have it import/hatch...
I'd try to throw one together, but I'm already juggling three different projects... :(
A small utility or script would be welcome by a few of us so we
can get that done as quickly and easily as possible.
Would you like a copy of my "hatch" utility that I've been using for
ages to hatch files on VKRadio and other nets? It builds a TIC file,
as part of the hatching process.
Well, if an MPS can't, an MPY can most likely work.
If I was not so swamped with work these days, I'd give it a shot just
for fun. Unfortunately my time is extremely rare at the moment :(
Would you like a copy of my "hatch" utility that I've been using for
ages to hatch files on VKRadio and other nets? It builds a TIC file, as part of the hatching process.
On 02-10-20 16:12, Al wrote to Vk3jed <=-
I also use htick but I'm curious how your script works, so I'm to grab
it here in a few minutes here.
Are you feeding files and tics to Mystic?
On 02-10-20 17:34, Analog wrote to Vk3jed <=-
Would you like a copy of my "hatch" utility that I've been using for
ages to hatch files on VKRadio and other nets? It builds a TIC file, as part of the hatching process.
If you don't mind, I'd also like it.
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 95 |
Nodes: | 16 (0 / 16) |
Uptime: | 02:06:47 |
Calls: | 4,624 |
Files: | 8,491 |
Messages: | 348,762 |