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

Preserve information whether attachments are executable. #2691

Merged
merged 1 commit into from
Sep 21, 2024

Conversation

meisterT
Copy link
Member

This is relevant for testing tools which are often uploaded as attachments for interactive problems. When we download the samples (via the web interface or API), we should mark these files as executable iff they were executable when uploading.

Copy link

sentry-io bot commented Sep 17, 2024

🔍 Existing Issues For Review

Your pull request is modifying functions with the following pre-existing issues:

📄 File: webapp/src/Service/DOMJudgeService.php

Function Unhandled Issue
App\Service\DOMJudgeService::getSamplesZipForContest Doctrine\ORM\NoResultException: No result was found for query although at least one row was expected. /src/Service/DOMJudgeService.php in...
Event Count: 2

Did you find this useful? React with a 👍 or 👎

Copy link
Member

@nickygerritsen nickygerritsen left a comment

Choose a reason for hiding this comment

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

The migration is missing.

@meisterT
Copy link
Member Author

Thanks, added.

This is relevant for testing tools which are often uploaded as
attachments for interactive problems. When we download the samples (via
the web interface or API), we should mark these files as executable iff
they were executable when uploading.
@meisterT meisterT added this pull request to the merge queue Sep 21, 2024
Merged via the queue into DOMjudge:main with commit 270975d Sep 21, 2024
26 checks passed
@meisterT meisterT deleted the execattach branch September 21, 2024 05: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.

2 participants