Skip to content
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

[Dependent] [WIP] Enable backups with share data #5920

Closed
wants to merge 89 commits into from

Conversation

zhiltsov-max
Copy link
Contributor

@zhiltsov-max zhiltsov-max commented Mar 23, 2023

Motivation and context

Depends on #5083
Fixes #4989, #5042

  • Added support for importing backups that were created from tasks with data from share w/ or w/o cache
  • Added support for exporting importable backups for tasks with data from share w/ or w/o cache
  • Added missing related images data in backups for tasks with data from share

How has this been tested?

Checklist

  • I submit my changes into the develop branch
  • I have added a description of my changes into the CHANGELOG file
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • I have linked related issues (see GitHub docs)
  • I have increased versions of npm packages if it is necessary
    (cvat-canvas,
    cvat-core,
    cvat-data and
    cvat-ui)

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.

try:
data['client_files'] = self._sort_uploaded_files(data['client_files'])
except self._InvalidMetafileError as e:
return Response(data=str(e), status=status.HTTP_400_BAD_REQUEST)

Check warning

Code scanning / CodeQL

Information exposure through an exception

[Stack trace information](1) flows to this location and may be exposed to an external user.
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.

Export of backup isn't supported for tasks with data from a mounted share
2 participants