Skip to content

Bug: No Entry Points added when re-installing plugin #24

@micahpw

Description

@micahpw

When re-installing a plugin, the cli doesn't add the entrypoints again, forcing the user to clear the cache.

To reproduce:

  1. Install plugin X
  2. Remove Plugin X
  3. Install Plugin X again

micahwebb@Amys-MBP r2x-cli % cargo run install https://github.com/NREL/r2x-reeds --branch ml/move-plugins
Finished dev profile [unoptimized + debuginfo] target(s) in 0.06s
Running target/debug/r2x install 'https://github.com/NREL/r2x-reeds' --branch ml/move-plugins
Installed 7 entry point(s) in 5338ms

  • r2x-reeds==0.0.1
    micahwebb@Amys-MBP r2x-cli % cargo run install https://github.com/NREL/r2x-reeds --branch ml/move-plugins
    Finished dev profile [unoptimized + debuginfo] target(s) in 0.07s
    Running target/debug/r2x install 'https://github.com/NREL/r2x-reeds' --branch ml/move-plugins
    Audited 1 package in 9ms
    micahwebb@Amys-MBP r2x-cli % cargo run remove r2x-reeds
    Finished dev profile [unoptimized + debuginfo] target(s) in 0.07s
    Running target/debug/r2x remove r2x-reeds
    Uninstalled 7 plugins(s)
  • r2x-reeds==0.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions