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.

RFE: Support external/custom version sources (plugins)

See original GitHub issue

After inspecting nvchecker source code I found no way to include custom version handlers without core code modification as they seem to be hardcoded into handlers_precedence list and loading is always done from nvchecker.source package.

Instead of forking/rewriting/reinventing the wheel, I’d prefer to extend nvchecker with a simple plugin system:

  • put custom version sources into a predefined user directory (~/.nvchecker/sources ?) OR custom directory specified with new CLI argument (--extra-sources my_nv_sources_dir)
  • load all valid extra source handlers and use them the very same way as those included in nvchecker.source

That way, users can:

  • use nvchecker and its nice version handlers alongside custom handlers to get versions from all possible sources including those that aren’t generic enough to have an upstream handler
  • use/test custom handlers without forking nvchecker and optionally submit them easily for upstream inclusion

I’m willing and able to implement this if upstream is interested - please do let me know and I’ll start hacking. Otherwise I’ll be forced to create a competing project 😃

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

lilydjwgcommented, Aug 10, 2020

A rewrite is ongoing to address several issues e.g. #132. Alongside those changes, I’m planning to use Python’s native namespace packages for plugins.

Please wait for a few days for a test version of 2.0 to come out. This will be a breaking-changes version and target Python 3.7+.

lilydjwgcommented, Sep 3, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

[RFE] Samples on custom plugins for ONNX models #6 - GitHub
Hi. There should be better support for using custom plugins with ONNX models in the next release. Until then, yes I believe the...
Read more >
Request For Expenditure (RFE) – VFW Post 9182 and Auxiliary
Enables cloud protection for Limit Login Attempts Reloaded plugin and enhances your login ... **Custom IP origins** support (Cloudflare, Sucuri, etc.) ...
Read more >
Given an external estimator that assigns weights to features (e.g., the coefficients of a linear model), the goal of recursive feature elimination (RFE)...
Read more >
Inputs to DALI Dataset with External Source
Inputs to DALI Dataset with External Source¶. In this tutorial we will show how to use external data inputs with DALIDataset .
Read more >
Readme file for Dynamic Workload Console Fix Pack 5 ... - IBM
IBM Dynamic Workload Console version 9.5.0 Fix Pack 5 supports all product ... RFE 123295: Deleting a source file after an upload transfer ......
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 Post

No results found

github_iconTop Related Hashnode Post

No results found