Skip to content

File sync #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

scottjpearson
Copy link
Contributor

Pre-flight Checklist

  • Are all the features in this PR tested?
  • Have other features this PR touches also been tested?
  • Has the code been formatted for consistency and readability?
  • Did you also update related documentation and tooling, such as .readme or tests?

Overview

This new feature for the API Sync module facilitates the synching of files if a configuration setting is checked. It handles imports and exports as described in the README.md. File deletions are made if the source project is empty. Logging messages are made if file transmission is successful.

Context

This PR is necessitated by an Edge for Scholars project that requires a large amount of files to be synched on a dev server.

Screenshots

To enable or disable, check the box in the module's configuration that says:

  • export-files: Check to export files only when the filename has changed. When exported, any files on the server will be overwritten by the new files. Exporting files can significantly increase the time required to sync a project. The holder of the API token must have Delete Record privileges on the remote server.
  • import-files: Check to import files only when the filename has changed. Files that you have saved will be replaced by any downloaded files. Importing files can significantly increase the amount of time required to sync a project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant