<isd>
Jacob Weisz: know anything about composer? I am trying to update the mediawiki package and hitting errors from this strange php package manager that I am unfamiliar with.
<isd>
My best guess is that we're pulling in a version of composer that is too new for mediawiki or something, but I'm unfamiliar with the relevant tooling
<ocdtrekkie>
I haven't ever used composer. I understand it is the PHP version of like an npm thing but I basically write all vanilla PHP.
<isd>
drat.
<isd>
The update does not seem like it's going to be too bad overall though. Yay for apps that were pretty mature even when sandstorm was new?
<isd>
Most of Jason's patches applied cleanly, only a couple exceptions, some of which may just be obsolete.
<ocdtrekkie>
I'm a big DokuWiki fan now, personally, but it'll be nice to bring that package up... six years.
<isd>
My housemates wanted something with a wysiwyg editor
<ocdtrekkie>
Ah yeah, that's where your WordPress and MediaWiki classics shine
<isd>
Looks like the version of mediawiki in the app store is so old that the migration scripts don't even support it anymore.
<isd>
(sidestepped the composer issue; you can get the deps just by pulling in submodules)
<ocdtrekkie>
Just going to publish as a new package then?
<isd>
Maybe. I don't have any old grains to migrate.
<isd>
The alternative would be to stash a copy of 1.27 in the grain for the purposes of intermediate upgrade. That sounds complicated.
<ocdtrekkie>
Yeah without even anecdata on the matter that might be a lot of work for a single grain somewhere.
<ocdtrekkie>
If you are considering the effort maybe ask the dev list if anyone needs upgrading.
<isd>
Looks like they re-did how user auth works internally, the sandstorm auth integration is bitrotten.
amenonsen has quit [Remote host closed the connection]
amenonsen has joined #sandstorm
blowfist has quit [Ping timeout: 256 seconds]
<TimMc>
It would be interesting if Sandstorm could support intermediate upgrades by having a package declare its min previous version.
<TimMc>
Then you could publish an intermediate package and then the newest package.
<ocdtrekkie>
We have an open issue for that.
<ocdtrekkie>
Actually the package definition even had a field for it, it just never was implemented.
cwebber has quit [Remote host closed the connection]
cwebber has joined #sandstorm
cwebber has quit [Ping timeout: 245 seconds]
blowfist has quit [Ping timeout: 250 seconds]
<isd>
I suppose I could do that anyway, and just tell anyone who wants to upgrade an ancient grain that they'll need to futz with the versions...
<isd>
But yes, that would be useful. It's a bit fiddly to implement though, because you need to be able to tell if the upgrade actually took; if you upgrade a grain, never launch it, and then upgrade it again, then the logic for the first upgrade never runs.
<isd>
So we'd have to define a way for grains to tell sandstorm what there "data version" is or such. All this is on the issue iirc.
<isd>
I'm not sure I care enough to do it either way, but I think I will ping the mailing list to see if anyone actually has old grains that they care about.
<ocdtrekkie>
Another possible resource is asking Kenton to check the data from servers which opt in to sharing usage data.
<isd>
kentonv: ^
<isd>
Any insights into how much use mediawiki gets?
<kentonv>
I shut down the dashboard a while back, though I think the data is still being collected in a grain on Alpha, but I'm not entirely sure how to access it