Giter Club home page Giter Club logo

Comments (7)

joshmoore avatar joshmoore commented on June 2, 2024

There are several ways of doing this I can think of:

Whatever the solution, it would be nice if these lib/scripts cloned repositories would work similarly.

from omego.

joshmoore avatar joshmoore commented on June 2, 2024

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.

joshmoore avatar joshmoore commented on June 2, 2024

/cc @knabar @sbesson

from omego.

dpwrussell avatar dpwrussell commented on June 2, 2024

+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.

dpwrussell avatar dpwrussell commented on June 2, 2024

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.

joshmoore avatar joshmoore commented on June 2, 2024

@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.

knabar avatar knabar commented on June 2, 2024

I opened a PR for the change @joshmoore mentioned: ome/openmicroscopy#1770

from omego.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.