Uploaded image for project: 'Forge: MOP'
  1. Forge: MOP
  2. MOP-23

provide a sysadmin feature for locking down the repo and going into offline mode

    Details

    • Type: Feature Request
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Labels:
      None

      Description

      the current download of mop comes with nothing; so its empty. For it to be useful things need to be downloaded from typically the internet. Once the correct stuff has been installed, a sysadmin might wanna lock things down so mop turns into a offline mode by default; having all its requirements installed.

      So we might want some kinda command so a sysamin could take a mop distro and lock it down.

      e.g. from a clean install of mop

      mop download activemq camel cxf
      mop lock

      this would download all the transitive requirements of those projects (using aliases - more on that later) - then mop 'lock' would lock things down, setting offline mode on by default (by writing to say mop.home/mop.properties "offline = true" or something).

      folks could always disable this later, to download more stuff...

      mop unlock
      mop download servicemix
      mop lock

      To help with installing binary distros together with dependent jars; we might want to allow aliases for packages; even if we just encode some common ones in the out of the box distro.

      e.g. to download/install activemq, you have to use...

      mop install org.apache.activemq:apache-activemq:zip:bin:5.2.0 targetDir

      we can default to zip/tar.gz based on platform; but we can't easily deduce what the binary distro is; so maybe we need some kinda alias

      activemq -> org.apache.activemq:apache-activemq:$

      {type}

      :bin:$

      {version}

      so folks can do either

      mop install activemq
      mop install activemq:5.2.0

      in lockdown mode we might want to deafult to mop.home/repostory by default. in developer mode we might wanna reuse ~/.m2/repository

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jastrachan James Strachan
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: