Skip to content

Implement Export Handler #15

@schubmat

Description

@schubmat

Choose Git Export Strategy

Within the git sync settings the

  • project owner and
  • maintainers

can configure how the automatic export is handled. The following options should be available:

  • export and commit a raw file that is being saved,
  • export and commit every raw file that has been freshly created/uploaded,
  • export and commit every raw file that has been added to the project with git pull,
  • export and commit all raw files with every save action,
  • export and commit all raw files with every user logout (default),
  • trigger the export manually only.

All but the last option can be combined. The very last one is mutually exclusive to the other ones. However, if deselected, it does not imply that manual exports are to be disabled. They can always be triggered.

Time Stamps

For each export, a subfolder with a time stamp must be created. This has to be of the following format:

  • YYYY-MM-DD__File-Export

Clean-Up Strategy (Optional)

  • The user can determine how many recent exports will be saved. If more then the defined amount are available, exports will be removed, starting with the oldest each.

Obligation

The above-described functionality is to be integrated into the git repository configuration widget. It should be implemented in the commit configuration tab. There, is does not need to be configured explicitly as a default value will be chosen (see above).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions