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

Allow development of the SDK alongside QFieldCloud #944

Merged
merged 2 commits into from
May 22, 2024

Conversation

suricactus
Copy link
Collaborator

No description provided.

@duke-nyuki
Copy link
Collaborator

@suricactus suricactus requested a review from boardend May 21, 2024 08:20
Copy link
Contributor

@boardend boardend left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@@ -83,6 +83,8 @@ def get(self, request: Request, projectid: str) -> Response:
path = PurePath(version.key)
filename = str(path.relative_to(*path.parts[:3]))
last_modified = version.last_modified.strftime("%d.%m.%Y %H:%M:%S %Z")
# NOTE ETag is a MD5. But for the multipart uploaded files, the MD5 is computed from the concatenation of the MD5s of each uploaded part.
# TODO make sure when file metadata is in the DB, this is a real md5sum of the current file.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a task for this TODO? (And should the TODO stay in the source code?)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer we keep the TODO and note for the future us. As for the task, check QF-2760

@suricactus suricactus merged commit fbd23ea into master May 22, 2024
6 of 8 checks passed
@suricactus suricactus deleted the QF-3813-dev-sdk branch May 22, 2024 14:27
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.

None yet

3 participants