Simple Machines Community Forum

General Community => Site Comments, Issues and Concerns => Topic started by: Ian Wild on July 04, 2018, 07:45:22 AM

Title: Trying to submit a large mod failing (upload restarts)
Post by: Ian Wild on July 04, 2018, 07:45:22 AM
Hi all,

I'm trying to submit a new mod - a math notation editor I've been discussing in this thread (https://www.simplemachines.org/community/index.php?topic=560800.0). The zip file itself is huge (standing at 51Mb - it uses the fMath editor which contains it's own themes, fonts, etc... creating math notation isn't easy :o ) and as I try to upload it the mod submission page keeps resetting :(.

So firstly I was wondering if 51Mb for a mod is going to be too big anyway and, if not, if there was some way around my resetting issue: for example, I could split the ZIP file into multiple parts?

Thanks in advance.
Title: Re: Trying to submit a large mod failing (upload restarts)
Post by: Arantor on July 04, 2018, 08:19:10 AM
It's far too big for a mod, there are multiple ways this can fail, not least that most hosts limit the upload to 8MB or similar.

The only other mod I've seen that had a similar size problem broke the mod into two packages, one for the core and one for an additional 10MB of resources which were uploaded directly to the server, bypassing the package manager.
Title: Re: Trying to submit a large mod failing (upload restarts)
Post by: Ian Wild on July 04, 2018, 08:40:38 AM
Thanks for your message - and that's kinda what I was thinking :(

I could break the mod into two: one part is the core mod and the other the notation editor, which is the big 50Mb bit that you would have to install on the server separately. Would that be acceptable?

So you would have:

1) The core mod, which I would submit to the mod site.
2) The fMath editor code, which can be downloaded separately and copied onto the server.

Obviously I can have the mod display a warning if the fMath editor isn't installed.

What do you think?
Title: Re: Trying to submit a large mod failing (upload restarts)
Post by: Arantor on July 04, 2018, 08:42:28 AM
As long as it's clearly explained, I can't imagine it would be a problem. Though I'm not an official rep of the team for such things, though I personally would be fine with it.
Title: Re: Trying to submit a large mod failing (upload restarts)
Post by: Ian Wild on July 04, 2018, 04:57:14 PM
I've split the package and submitted it to the mod site here: https://custom.simplemachines.org/mods/index.php?mod=4187

Hopefully that's acceptable :D

Thanks again!
Title: Re: Trying to submit a large mod failing (upload restarts)
Post by: Arantor on July 04, 2018, 05:08:13 PM
Unfortunately I'm not a team member and thus cannot see it, but I have faith it will be :)
Title: Re: Trying to submit a large mod failing (upload restarts)
Post by: Steve on July 05, 2018, 05:23:40 PM
The Customization Team will be looking at it as soon as they get a chance. :)