Comments (7)
There are several ways of doing this I can think of:
- Register all plugins in config.xml
- Register all plugins in some requirements.txt like file
- Possibly use
pip
itself: see https://pypi.python.org/pypi/bandersnatch and http://www.python.org/dev/peps/pep-0381/ - Register all plugins in some json-like file
Whatever the solution, it would be nice if these lib/scripts
cloned repositories would work similarly.
from omego.
Registered clones should also have a "default branch" and a dirty flag check associated with them. On a new install, it might be necessary to copy the files wholesale (if dirty) rather than re-cloning.
from omego.
from omego.
+1 installing with pip, although you'd still need some omero cleverness to enable it.
An alternative to registration file is apache/nginx like approach. I.e. directory for plugin-enabling scripts/links/whatever and another directory with symlinks to the former directory for enabled ones that actually get picked up.
from omego.
Also, I think it wouldn't be a bad thing if using a virtualenv even in production was the default, much less chance of a screw up. It's a shame you have to use --system-site-packages for Ice, but that's life. Just adding the .pth file to get omero in a virtualenv works really nicely.
That would play nicely into the hands of using pip for plugin management.
from omego.
@dpwrussell : @knabar made some minor modifications to OMERO.web recently which will hopefully make this work. Once that's in place, I'd say 👍 as well.
from omego.
I opened a PR for the change @joshmoore mentioned: ome/openmicroscopy#1770
from omego.
Related Issues (20)
- omego upgrade -nv
- missing openmicroscopy.zip from artifacts HOT 3
- omego download --build doesn't work HOT 1
- specify ice version HOT 3
- Error message more explicit HOT 2
- Invalid argument leads to wrong upgrade HOT 2
- Only upgrade if remote server path differs from target of local symlink HOT 1
- 0.4.0+ fail travis due to removed CI jobs HOT 1
- Version sourcing HOT 10
- omego db uses the old style for passing args to db script
- omego checking what DB action is needed HOT 1
- db verify deployed schema
- omego-for-ansible HOT 2
- omego/db.py is sensitive to .psqlrc settings HOT 1
- Tests for error codes
- 0.6.3 fails with missing arg HOT 1
- allow running precheck script HOT 3
- travis: upgrade step 5.3->5.4
- Non standard postgres port HOT 9
- Test OMERO.server on Python 3.6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omego.