Skip to content
This repository has been archived by the owner on Mar 27, 2020. It is now read-only.

Schema validation of existing directories #5

Open
calebfaruki opened this issue Feb 21, 2019 · 0 comments
Open

Schema validation of existing directories #5

calebfaruki opened this issue Feb 21, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@calebfaruki
Copy link
Contributor

Abstract

The departments currently using Google Drive frequently change convention on how to name and structure their folders, inevitably leading to destructive or time-wasting scenarios where departments are out-of-sync.

To hedge against the potential risk of this, extending the GDrive library to validate a directory against a given schema would give a developer a programmatic way to report on these issues.

Proposed option(s)

exclusive boolean (default: false)

  • By default, validation function should only respond with the files from the schema that are not currently in the directory.
  • When true, this should also return files that are not in the schema, but are present in the directory. This could potentially flag edge cases that have, so far, evaded a developer's solution.
@calebfaruki calebfaruki added the enhancement New feature or request label Feb 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant