Skip to content

Import/export qconsole workspaces #94

@rjrudin

Description

@rjrudin

As a Gradle user
I want to TITLE
So that I have an easy way to both save off workspaces for a specific project and to save off all workspaces for a particular user for when I'm e.g. resetting a ML instance

  • Will depend on functionality being added to ml-app-deployer
  • Need tasks for importing/exporting from/to the user's home directory and from the project directory, or more generally, a user-specified directory
  • For importing from the user's home directory - "gradle mlImportWorkspaces -Puser=admin"
  • For exporting to the user's home directory - "gradle mlExportWorkspaces -Puser=admin"
  • For importing from a user-specified directory - "gradle mlImportWorkspaces -Puser=admin -Pdir=data/qconsole/workspaces" (as an example; the library will still append the given user name to the path to find workspaces)
  • For exporting to a user-specified directory - "gradle mlExportWorkspaces -Puser=admin -Pdir=data/qconsole/workspaces"
  • To simplify the above two use cases, support an "mlWorkspacesDir" Gradle property. If "dir" is set, use that. Else, check for "mlWorkspacesDir". Else, use the user's home directory (the default behavior of the underlying library).
  • Also allow for specifying a particular workspace name (just one for now) for importing/exporting - e.g. "gradle mlExportWorkspaces -Puser=admin -Pdir=data/qconsole/workspaces -PworkspaceName=(name of workspace)"
  • I think the "user" and "dir" properties should be safe to use - i.e. they won't conflict with existing Gradle properties of the same name

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions