Skip to content

Validate content repository creation #151

Open
@smashwilson

Description

@smashwilson

The content repository creation form doesn't make any attempt to validate its inputs. There are a bunch of things we can give early feedback on without waiting until Docker tries to launch a container with bad configuration, such as:

  • contentRepositoryPath and controlRepositoryLocation are both valid paths on the filesystem.
  • contentRepositoryPath exists, is a readable directory, and contains a valid _deconst.json file.
  • controlRepositoryLocation exists, is a readable directory, and contains a Gruntfile.js file.
  • displayName is non-empty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions