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

feat(plugin): execute from function #3899

Merged
merged 10 commits into from
Jan 24, 2024
Merged

Commits on Jan 21, 2024

  1. feat(plugin): execute from func

    This change introduces a `plugin.Execute()` function that can be used to
    run arbitrary code without affecting the Ignite CLI dependencies. The
    code lives in its own repo, like any other plugins. Arguments can be
    passed to update the behavior.
    
    Once merged, this will be used to remove the interchain-security dependency
    from Ignite CLI which we currently have in #3660 (see discussions [0])
    
    Because this will be used internally in Ignite CLI for specific cases,
    I don't feel that we need to document this feature in the official
    documentation.
    
    [0]: #3660 (comment)
    tbruyelle committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    70434a5 View commit details
    Browse the repository at this point in the history
  2. add missing CL

    tbruyelle committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    c9bfefb View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. Configuration menu
    Copy the full SHA
    2e4ab96 View commit details
    Browse the repository at this point in the history
  2. fix CL

    tbruyelle committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    2ed60eb View commit details
    Browse the repository at this point in the history
  3. go imports order

    tbruyelle committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    8a8b7de View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Pass APIOption to Execute

    Also:
    - redirect stdout/stderr to buffer, so Execute's client can read the
      plugin output
    - unwrap rpc status error
    - add more tests
    - add ChainInfo.Home (will be used for consumer plugin)
    - update .gitignore in plugin template to ignore also *.ign files
    tbruyelle committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    8e8cddc View commit details
    Browse the repository at this point in the history
  2. fix linter

    tbruyelle committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    faf9330 View commit details
    Browse the repository at this point in the history
  3. fix test

    tbruyelle committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    365fa93 View commit details
    Browse the repository at this point in the history
  4. fix test

    tbruyelle committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    55d6619 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

  1. Configuration menu
    Copy the full SHA
    6d7b2ae View commit details
    Browse the repository at this point in the history