joomla: use & require mysql2 instead of mysql#255
Merged
jekyllbot merged 1 commit intojekyll:masterfrom Jul 14, 2016
Merged
Conversation
Member
|
LGTM! |
Member
|
@jekyllbot: merge |
jekyllbot
added a commit
that referenced
this pull request
Jul 14, 2016
Contributor
|
Looks like the same needs to be done for the Joomla3 converter. I had to recently do some imports and had to manually apply the changes. Is there a specific reason for this not being updated or should I proceed with a PR? Also I think it's worth adding a |
Member
|
@ienev I'd be happy to take a look at a PR if you're willing to put one together! Unfortunately I don't have much time to put one together myself. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
joomla.rb was using Sequel.mysql, which appears to depend on the gem mysql. This is depracated and replacing mysql with mysql2 works fine; it is already in use for wordpress.rb. I also added the requirement for the mysql2 gem, as this doesn't appear to work without that.
Details of my error message when running the vanilla joomla importer without mysql:
`
I suggest, furthermore, that we say MySQL (not the gem) needs to be installed, which is not obvious to people who rent their webserver and database from a third party (i.e., me! heh). I'm not sure how to edit the documentation for joomla.rb, but it definitely needs to go onto individual importer pages, since a user of X CMS will not be looking over the documentation for Y CMS necessarily.
This is my first ever pull request so any comments on how I've done it are welcome.