On Mon, Jan 23, 2017 at 3:19 PM, Gergo Tisza gtisza@wikimedia.org wrote:
On Mon, Jan 23, 2017 at 12:29 PM, Erik Bernhardson < ebernhardson@wikimedia.org> wrote:
- Fork the library, publish it under wikimedia/elastica, and change the
minimum version to 5.5.x This is a bit of a pain, but accomplishes the
goal
You could also fork the package definition (ie. use a hand-maintained package file instead of packagist, but still refer to the upstream elastica repo in that file), that's less effort to maintain. OTOH unless they have a policy of keeping B/C with PHP 5.5, you'll probably have to fork the code sooner or later anyway.
That does sound a little easier, although if i'm going to bite the bullet might as well go all the way. I'll be creating this repo tomorrow and getting everything put together. Should be relatively easy i think, although it means we're on the hook for pushing future changes and making sure they are 5.5 compatible.
It seems i could create the repo as either of these: * mediawiki/vendor/elastica? * mediawiki/extensions/Elastica/elastica
Will probably do the first, unless someone has a good reason not to.
_______________________________________________
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l