Limit the number of a direct dependencies per mod

A place to talk about the official Factorio mod portal (https://mods.factorio.com)
curiosity
Filter Inserter
Filter Inserter
Posts: 400
Joined: Wed Sep 11, 2019 4:13 pm
Contact:

Re: Limit the number of a direct dependencies per mod

Post by curiosity »

Merssedes wrote:
Sat Jul 27, 2024 10:23 am
BTW, there is no automated way to upload mods
Then what's this? https://wiki.factorio.com/Mod_publish_API

Merssedes
Fast Inserter
Fast Inserter
Posts: 130
Joined: Sun Oct 29, 2017 7:05 pm
Contact:

Re: Limit the number of a direct dependencies per mod

Post by Merssedes »

curiosity wrote:
Sat Jul 27, 2024 10:53 am
Merssedes wrote:
Sat Jul 27, 2024 10:23 am
BTW, there is no automated way to upload mods
Then what's this? https://wiki.factorio.com/Mod_publish_API
Sorry, was wrong about this one.

BraveCaperCat
Long Handed Inserter
Long Handed Inserter
Posts: 76
Joined: Mon Jan 15, 2024 10:10 pm
Contact:

Re: Limit the number of a direct dependencies per mod

Post by BraveCaperCat »

A quick solution would be to add a report feature to the mod portal. Then mods with too many dependencies for absolutely no reason can be reported and reviewed. I've also been meaning to continue disliking K2, but that's a discussion for another topic.

Pi-C
Smart Inserter
Smart Inserter
Posts: 1698
Joined: Sun Oct 14, 2018 8:13 am
Contact:

Re: Limit the number of a direct dependencies per mod

Post by Pi-C »

I just noticed a change in the way dependencies are presented:

In the tab "This mod", "Required" and "Optional" dependencies are subsumed under "Default". This used to be the case for the tab "From other mods" as well. However, there now is a new category "Mod with a lot of dependencies", and mods belonging to that category are not shown under "Default":
Mod_with_a_lot_of_dependencies.png
Mod_with_a_lot_of_dependencies.png (123.91 KiB) Viewed 335 times
While this gets the bad eggs out of the way, it's still not perfect. In the screenshot above, you can see that "MyRus2" and "RusGoldLocal-AllRussianTranslateMods" are flagged as "Mod with a lot of dependencies" because they definitely are mods with a lot of dependencies (156 for "MyRus2" and 129 for "RusGoldLocal"). However, I'd say that these mods have a lot of dependencies for legitimate reasons because they actually enhance the mods they depend on (unlike mods like "all-the-modportal" with >13,500 or "better" with >11,300 dependencies) by providing translations.

It's tempting to suggest that mods with the category "Localizations" are exempted from being classified as "Mod with a lot of dependencies", but I'm afraid that the really bad mods would just break the system by using that category as well. Setting a hard limit for the number of dependencies a mod may have also is iffy: Who could say what number of dependencies is reasonable? Let's say there's a limit of 200 dependencies. If somebody really went to all the trouble to translate 200 mods that's great -- but why should they be punished if they decided to translate even more?
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!

curiosity
Filter Inserter
Filter Inserter
Posts: 400
Joined: Wed Sep 11, 2019 4:13 pm
Contact:

Re: Limit the number of a direct dependencies per mod

Post by curiosity »

Pi-C wrote:
Mon Jul 29, 2024 11:37 am
While this gets the bad eggs out of the way, it's still not perfect. In the screenshot above, you can see that "MyRus2" and "RusGoldLocal-AllRussianTranslateMods" are flagged as "Mod with a lot of dependencies" because they definitely are mods with a lot of dependencies (156 for "MyRus2" and 129 for "RusGoldLocal"). However, I'd say that these mods have a lot of dependencies for legitimate reasons because they actually enhance the mods they depend on (unlike mods like "all-the-modportal" with >13,500 or "better" with >11,300 dependencies) by providing translations.
Good thing that you can tell by their name that they are translation mods.

Pi-C
Smart Inserter
Smart Inserter
Posts: 1698
Joined: Sun Oct 14, 2018 8:13 am
Contact:

Re: Limit the number of a direct dependencies per mod

Post by Pi-C »

curiosity wrote:
Mon Jul 29, 2024 2:26 pm
Pi-C wrote:
Mon Jul 29, 2024 11:37 am
… "MyRus2" and "RusGoldLocal-AllRussianTranslateMods" …
Good thing that you can tell by their name that they are translation mods.
Yes. But there are mods that have no English title, description, or info page. One can only tell what that mod is about (without downloading it, that is) if one knows the variety of Chinese used there.
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!

Qon
Smart Inserter
Smart Inserter
Posts: 2146
Joined: Thu Mar 17, 2016 6:27 am
Contact:

Re: Limit the number of a direct dependencies per mod

Post by Qon »

Pi-C wrote:
Mon Jul 29, 2024 2:47 pm
curiosity wrote:
Mon Jul 29, 2024 2:26 pm
Pi-C wrote:
Mon Jul 29, 2024 11:37 am
… "MyRus2" and "RusGoldLocal-AllRussianTranslateMods" …
Good thing that you can tell by their name that they are translation mods.
Yes. But there are mods that have no English title, description, or info page. One can only tell what that mod is about (without downloading it, that is) if one knows the variety of Chinese used there.
True in general, but for this specific mod we can understand that it is a Chinese translation mod. The github linked is called "factorio-chinese", so that is the English title. And the icon makes it obvious as well. :D
My mods: Capsule Ammo | HandyHands - Automatic handcrafting | ChunkyChunks - Configurable Gridlines
Some other creations: Combinassembly Language GitHub w instructions and link to run it in your browser | 0~drain Laser

Post Reply

Return to “Mod portal Discussion”