question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow users to provide user/case-specific user plugins as input

See original GitHub issue

There are situations where users may want to provide case-specific material properties, component shapes, etc. that are typically provided by plugins. Thus, it’d be nice if users could point to a plugin that resides in an input file using a new setting (e.g. userPluginPath).

Since it’s related to the overall repeatability of the run, the new file should be hashed in the stdout and copied into the output h5 file for safe keeping.

This will also close #535

Sidenote: our pre-existing custom Python input related to the shuffleLogic and controlLogic settings could likely be merged into this capability at a later time to make this an overall cleanup.

I’ll take a stab at implementing this.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
ntourancommented, May 6, 2022

Yeah so after more discussion it’s clear that this kind of thing would still be useful for some purposes, including doing rapid prototyping of test code that does things at special hooks. Effectively, this would allow people to use the plugin system as a convenient pathway for monkey patching during development/testing. I think as long as we put a strong indication near the ARMI version information that user plugins are in use, then we can maintain knowledge in the stdout about what code was actually run. Obviously, app-endorsed plugins explicitly imported and registered by the application should generally be used for actual qualified/traceable runs and analysis.

0reactions
john-sciencecommented, Jul 22, 2022

Yeah, I agree, thanks @sombrereau . If it ever happens laughing

I mean, it happened like a month ago.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Working with Users | Plugin Developer Handbook
Adding Users To add a user you can use wp_create_user() or wp_insert_user(). ... wp_create_user() allows you to create a new WordPress user.
Read more >
Using Kubernetes Plugins for Better Security | by Jay
RBAC plugins permit admins to devise a mechanism for setting and managing user permissions based on roles. The roles can range from global, ......
Read more >
Securing the Admin API - v3.1.x - Kong Docs
Kong Gateway's Admin API provides a RESTful interface for administration and configuration of Services, Routes, Plugins, Consumers, and Credentials.
Read more >
A travel guide to Cytoscape plugins - PMC - NCBI
The Plugin Manager allows the user to search for and install available plugins while Cytoscape is running without needing to restart. This ...
Read more >
How local Windows user permissions may affect plugins
Because these users have least privilege, custom plugins that are run by these users may not work after installing or upgrading to version...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found