Page 1 of 1
Mod Portal Feature Request: show dependency graph
Posted: Fri Jun 24, 2022 2:49 pm
by sparr
Simpler request first... In the mod portal UI I'd like to see the dependency list for a mod, and be able to click through to those other mods.
Actual request that prompted this post... I'd like to see all the mods that depend on the one I'm interested in.
My use case for this, at this moment, is "how popular is the signal strings mod, among mod developers?". I don't want to know how many players use it, I want to know how many other mods depend on it and use it.
https://github.com/search?l=&q=signalst ... &type=code tells me there are ~5 mods on github that depend on it, but many mod portal mods aren't on github.
Re: Mod Portal Feature Request: show dependency graph
Posted: Tue Jan 16, 2024 7:16 pm
by Stringweasel
+1 To be able to see on the mod portal all mods that (optionally) depend on a mod. Even if it's only visible to the mod authors. A simple list of mods is fine. And maybe it's easiest if it only checks the latest version of said mods.
My use case is that there are a few reports of players installing my mod without realizing. So it would be useful to see if it might be a hard dependency in another mod. For example this
reddit thread and there's also some mentions to it on the SE Discord.
I'm sure this will also be useful for other mods. And would for sure be very interesting statistics for mod authors.
Re: Mod Portal Feature Request: show dependency graph
Posted: Tue Jan 16, 2024 7:20 pm
by Stringweasel
Also a thread mentioning this.
viewtopic.php?f=34&t=85466
Re: Mod Portal Feature Request: show dependency graph
Posted: Wed Jan 17, 2024 9:32 am
by mmmPI
As non-mod-author i would find it interesting too to see which mods depend on the mod i'm interested in, sometimes it's an old classic mod, and there exist new tweaks or variant built upon it or compatibility bridges and it's not always easy to find them even if you know the 2 or 3 letters acronyms for those classic mod.
Re: Mod Portal Feature Request: show dependency graph
Posted: Sun Jan 21, 2024 6:48 pm
by FuryoftheStars
mmmPI wrote: ↑Wed Jan 17, 2024 9:32 am
As non-mod-author i would find it interesting too to see which mods depend on the mod i'm interested in, sometimes it's an old classic mod, and there exist new tweaks or variant built upon it or compatibility bridges and it's not always easy to find them even if you know the 2 or 3 letters acronyms for those classic mod.
Agreed!
Re: Mod Portal Feature Request: show dependency graph
Posted: Thu Apr 04, 2024 2:29 pm
by Quezler
originally posted on the factorio discord, but crossposted since this forum post was pointed out to me: (picture previews available on discord)
been working on a little project these last few days, a javascript injectable that shows you which mods have added yours as a dependency:
```
document.head.appendChild(Object.assign(document.createElement('script'), {
type: "module",
crossorigin: "anonymous",
integrity: "sha256-mxZ8He+OtLaKW5YiSJ7uZl7Uu88j/9bX7wcLbabRiII=",
src: 'http s://proxmox.nydus.app/factorio-mod-portal-dependants-checker/mods-v1.js',
}));
```
if you run this snippet whilst on the download page of a mod (via the javascript console, a javascript bookmark, or e.g. the "code injector" addon for firefox) it'll pull in the dependants for you.
you are encouraged to check out the javascript file yourself before running it, and once you feel satisfied/safe the integrity checksum will prevent your browser from running it if the content of the javascript file ever changes.
i didn't have take the opportunity yet to clean the code up since the second part was all like "oh i need this, oh and that too, and this needs to go in between here and there to work, and oeh that would work well there, etc"
if you think its interesting/neat or have questions/comments/suggestions i'd love to hear them, probably best to make a thread attached to this message in order to keep it all together.
original links:
-
https://discord.com/channels/1396775903 ... 1686597682
-
https://discord.com/channels/1396775903 ... 4155995278
Re: Mod Portal Feature Request: show dependency graph
Posted: Thu Apr 04, 2024 3:14 pm
by FuryoftheStars
These can be uploaded to the forums. Not everyone uses Discord.
Re: Mod Portal Feature Request: show dependency graph
Posted: Fri Apr 05, 2024 5:32 pm
by Quezler
FuryoftheStars wrote: ↑Thu Apr 04, 2024 3:14 pm
These can be uploaded to the forums. Not everyone uses Discord.
fiiiiiineee, i'll download the images and re-upload them to the forum:
- Screenshot_2023-11-16_at_18.49.26.png (204.78 KiB) Viewed 1104 times
- Screenshot_2024-04-04_at_15.34.10.png (157.67 KiB) Viewed 1104 times
Re: Mod Portal Feature Request: show dependency graph
Posted: Thu Apr 25, 2024 6:56 pm
by vinzenz