Skip to content

Conversation

@parkr
Copy link
Member

@parkr parkr commented Dec 8, 2023

We have been asking folks to run jekyll import for a while, but it requires a Gemfile. Not everyone wants to have a Gemfile or knows how to set one up. I'd like to be a bit more independent of Jekyll and its not-always-entirely-working system for external subcommands.

This commit adds a new top-level 'jekyll-import' command so that this gem can handle importing without requiring a Gemfile with :jekyll_plugins.

The flow is still rather tedious:

  1. Run jekyll-import to see subcommands
  2. Run jekyll-import <subcommand> --help to see options
  3. Run jekyll-import <subcommand> <options> but get a dependency-not-found error
  4. Run gem install <dependency1> to install
  5. Re-run jekyll-import <subcommand> <options> but get another dependency-not-found error.
  6. Run gem install <dependency_N> to install. Repeat 5 and 6 until all dependencies are satisfied.
  7. Finally, re-run jekyll-import <subcommand> <options> and observe your output site (assuming to bugs in the importer)

Fixes #530.

@parkr parkr requested a review from mattr- December 8, 2023 17:47
We have been asking folks to run 'jekyll import' for a while, but it requires a Gemfile.
Not everyone wants to have a Gemfile or knows how to set one up. I'd like to be a bit
more independent of Jekyll and its not-always-entirely-working system for external subcommands.

This commit adds a new top-level 'jekyll-import' command so that this gem can handle importing
without requiring a Gemfile with :jekyll_plugins.
@parkr parkr force-pushed the jekyll-import-command branch from 4d164ca to 501bb8a Compare January 17, 2024 05:50
@parkr
Copy link
Member Author

parkr commented Jan 17, 2024

@jekyllbot: merge +minor

@jekyllbot jekyllbot merged commit d4aea31 into master Jan 17, 2024
@jekyllbot jekyllbot deleted the jekyll-import-command branch January 17, 2024 05:53
jekyllbot added a commit that referenced this pull request Jan 17, 2024
github-actions bot pushed a commit that referenced this pull request Jan 17, 2024
Parker Moore: Add jekyll-import command. (#532)

Merge pull request 532
@jekyll jekyll locked and limited conversation to collaborators Jan 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

You must install the 'jekyll-import' gem version > 0 to use the 'jekyll import' command.

4 participants