Skip to content

Renaming of OMERO.figure to ome-figure #689

@will-moore

Description

@will-moore

In order to advertise the fact that the "figure" app is available to the broad community of non-OMERO users, I think we need to drop "OMERO" from the name. Many users will simply ignore the app if it is called OMERO.figure, and never find out that it can support OME-Zarr without OMERO. E.g. see the discussion at AllenInstitute/biofile-finder#547

We could rename to https://github.com/ome/ome-figure OR https://github.com/ome/figure ?
Searching GitHub for "figure" repos only finds this one match: https://github.com/pibook/figure but there is https://pypi.org/project/figure/ package

Renaming Options:

  • omero-figure AND ome-figure: We could create a standalone ome-figure JavaScript app and let that be consumed by the existing omero-figure app. This would be similar to biofile-finder and omero-biofilefinder:
    • Pros:
      • Possible to apply different licences. E.g. MIT for ome-figure and GPL for omero-figure.
      • The omero-figure GitHub repo stays put.
      • Can still say "OMERO.figure is renamed to ome figure", at https://github.com/ome/figure
    • Cons:
      • Burden of keeping 2 repos in-sync with new features, updates etc. For omero-biofilefinder we manually bundle BFF app into static files.
      • The Figure_To_Pdf.py script has omero dependencies (would need to be GPL) but is also required for standalone app workflow. Which repo would it live in? If it stays in omero-figure, then keeping both apps in sync with new features is tricky.
      • There's quite a bit of JavaScript code that is specific to the OMERO use-case: interacting with OMERO json endpoints etc. Not ideal to move this to the ome-figure repo (would it need to be GPL?), but very tricky to extract it out.
      • User/dev confusion. How are the 2 apps related? What code is where? Need 2 PRs in different repos for each new feature. More complex developer workflow. Where do users create GitHub issues? etc.
  • Full rename of omero-figure to ome-figure. Rename the GitHub repo, package names etc etc.
    • Pros:
      • All the code stays together in 1 app. Relationship between different parts of the code (JS app, omero-web plugin, Figure_to_Pdf.py) stays the same as it is now
      • Only 1 repo to update with new features. Easier dev workflow - same as now.
    • Cons:
      • Lots of work to rename everything. BIG breaking change; hard to do this incrementally.
      • Upgrading for users would be more work. pip uninstall omero-figure, remove from omero.web.apps list. Then install and add ome-figure
  • Do nothing, keep omero-figure as it is now.
    • Not an option: see motivation at the intro above

There are a wide range of places where the renaming will need to take place. Some are just text/labels while others are more critical package names, urls, methods etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions