Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add jekyll-import command #532

Merged
merged 1 commit into from
Jan 17, 2024
Merged

Add jekyll-import command #532

merged 1 commit into from
Jan 17, 2024

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
Copy link
Member Author

parkr commented Jan 17, 2024

@jekyllbot: merge +minor

@jekyllbot jekyllbot merged commit d4aea31 into master Jan 17, 2024
5 of 6 checks passed
@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
3 participants