Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5529 Update mechanism improvements
  3. MAGNOLIA-3120

Remove repository/workspace mappings from module descriptors

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Won't Do
    • Major
    • None
    • None
    • None

    Description

      Modules can currently declare workspaces, but they also need to declare the repository to which they're mapped. It shouldn't be any of their business, as we've seen with UGC modules, when we want these workspaces to be shared for instance. A first fix was done with MAGNOLIA-3064, but ultimately, we should reflect this in the module descriptors AND our code as well.

      An updated module descriptor might look like:

        <repositories>
          <repository>
            <name>Store</name>
            <nodeTypeFile>/mgnl-nodetypes/owfe-nodetypes.xml</nodeTypeFile>
          </repository>
          <repository>
            <name>Expressions</name>
            <nodeTypeFile>/mgnl-nodetypes/owfe-nodetypes.xml</nodeTypeFile>
          </repository>
        </repositories>
      

      (for the workflow module)

      As of yet, it's undecided if we'll use the "repository" or "workspace" name. The latter is more accurate, but the former is more understandable for mere mortals.

      Additionally, we'll need to check and remove public API methods which take both repository and workspace name strings, and use our repository-to-workspace mapping consistently.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: