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.

Plugin name collisions

See original GitHub issue

First off thanks so much for your awesome work on Intake!

Today I’ve been developing an Intake Plugin for Iris and noticed that if I create a netcdf plugin it collides with the xarray plugin and Intake only loads one of them at import time.

image

Luckily for my testing iris comes before xarray alphabetically so I have been able to test my plugin without removing the xarray one.

Given that both iris and xarray can open netcdf datasets I think this choice should probably be down to the user as to which one they want it to be loaded with. It would be great to update intake to be able to load multiple plugins for the same datatype and then allow the user to pass a kwarg somewhere to specify which one they want to use at a particular moment.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
martindurantcommented, Sep 26, 2018

Feel free to add PRs to change https://intake.readthedocs.io/en/latest/plugin-directory.html as you bring them up. Also, your install instructions probably also need -c intake, at least until intake packages migrate to conda-forge and/or main.

1reaction
martindurantcommented, Sep 26, 2018

Thank you for making intake-iris!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Avoiding plugin name collisions with WP updater
Adding the "client-" bit, I thought, was the way to reduce the odds of a collision by making the plugin specific to the...
Read more >
How to avoid PHP class name collision when distributing ...
1 Answer 1 ... First, you can't do this without modifying other plugin code unless you don't use classes at all. The fastest...
Read more >
Name Collision for Plugin #494 - VundleVim/Vundle.vim
It's showing this obnoxious error after running a script that has always worked perfectly for me before. Error detected while processing ...
Read more >
Conflicting names | WordPress 3 Plugin Development ...
If your site is running a lot of plugins, you are increasing the odds that a naming conflict might occur. While debugging a...
Read more >
5 WordPress Developer Tips for Using Prefixes and ...
Namespacing is a PHP feature designed to prevent conflicts when two classes or functions have the same name. This is known as a...
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