Skip to content

Local file and rclone resources: support relative paths for global_local_path #50

@jfischer

Description

@jfischer

We should support defining the global_local_path as a relative path (in addition to an absolute path). This will make it easier to have the same environment across all copies of a workspace.

A few considerations:

  • When cloning, we expect the directory to already be present. If the directory happens to be under the workspace, this restriction will have to be relaxed.
  • If the directory is under the workspace, we should add it to the workspace's .gitignore.
  • Rclone will copy from the remote when you do a clone. Is this a security issue if the directory is outside the workspace? (this is a potential problem in the current implementation as well)
  • Rclone expects the directory to be present already (if empty). When creating, maybe make this a command line option or ask the user if they want it created...

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions