Portal fails parsing valid changelog.txt

A place to talk about the official Factorio mod portal (https://mods.factorio.com)
Post Reply
User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2916
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Portal fails parsing valid changelog.txt

Post by Optera »

Please fix the portal's changelog parser to work exactly like the in game parser.
This mod has a working changelog in game, but the portal refuses to display it.

User avatar
Sanqui
Factorio Staff
Factorio Staff
Posts: 268
Joined: Mon May 07, 2018 7:22 pm
Contact:

Re: Portal fails parsing valid changelog.txt

Post by Sanqui »

The problem was that the Mod Portal expects the file to be named changelog.txt (i.e. case sensitive). I'll be fixing this soon.
ovo

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

Re: Portal fails parsing valid changelog.txt

Post by Pi-C »

Same issue here: The contents of changelog.txt is shown in the game, but not on the mod portal page. I've uploaded three days ago, so I guess something is wrong. :-)

[Edit: wrong information removed]

Update: Turns out nothing was wrong! It seems to be intended that the mod portal hides the changelog for the first release of a mod. After you release an update, the changelog will be shown. I just updated the changelog tutorial accordingly. :-)
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!

User avatar
Sanqui
Factorio Staff
Factorio Staff
Posts: 268
Joined: Mon May 07, 2018 7:22 pm
Contact:

Re: Portal fails parsing valid changelog.txt

Post by Sanqui »

Pi-C wrote:
Fri Jun 14, 2019 2:14 pm
Update: Turns out nothing was wrong! It seems to be intended that the mod portal hides the changelog for the first release of a mod. After you release an update, the changelog will be shown. I just updated the changelog tutorial accordingly. :-)
That's not intended at all, that's a bug! Thanks for finding it, I'll fix it soon :)
ovo

posila
Factorio Staff
Factorio Staff
Posts: 5202
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Portal fails parsing valid changelog.txt

Post by posila »

Sanqui wrote:
Thu Feb 14, 2019 1:18 pm
The problem was that the Mod Portal expects the file to be named changelog.txt (i.e. case sensitive). I'll be fixing this soon.
Game expects it to be all lower case too, though. But it is not enforced on Windows when the file is loaded from directory (instead of zip file), because Window's filesystem functions are case insensitive.

User avatar
Sanqui
Factorio Staff
Factorio Staff
Posts: 268
Joined: Mon May 07, 2018 7:22 pm
Contact:

Re: Portal fails parsing valid changelog.txt

Post by Sanqui »

posila wrote:
Wed Jun 19, 2019 8:56 am
Sanqui wrote:
Thu Feb 14, 2019 1:18 pm
The problem was that the Mod Portal expects the file to be named changelog.txt (i.e. case sensitive). I'll be fixing this soon.
Game expects it to be all lower case too, though. But it is not enforced on Windows when the file is loaded from directory (instead of zip file), because Window's filesystem functions are case insensitive.
Oh, that makes sense. So this changelog would load in Factorio on Windows, but not Linux. I've already got some checks for similar problems in place, so I'll make the Mod Portal throw an error on this too.
ovo

Post Reply

Return to “Mod portal Discussion”