start transition to multiple variants per submission
This commit is contained in:
parent
306d9d0af6
commit
52ae6ae9a5
@ -302,6 +302,7 @@ outForTest repoDir submissionId (Entity testId test) = do
|
|||||||
checksum <- liftIO $ gatherSHA1ForCollectionOfFiles [outF]
|
checksum <- liftIO $ gatherSHA1ForCollectionOfFiles [outF]
|
||||||
return Out {
|
return Out {
|
||||||
outSubmission=submissionId,
|
outSubmission=submissionId,
|
||||||
|
outVariant=Nothing,
|
||||||
outTest=testId,
|
outTest=testId,
|
||||||
outChecksum=SHA1 checksum }
|
outChecksum=SHA1 checksum }
|
||||||
|
|
||||||
|
@ -59,6 +59,10 @@ Submission
|
|||||||
isPublic Bool default=False
|
isPublic Bool default=False
|
||||||
isHidden Bool Maybe
|
isHidden Bool Maybe
|
||||||
UniqueSubmissionRepoCommitChallenge repo commit challenge
|
UniqueSubmissionRepoCommitChallenge repo commit challenge
|
||||||
|
Variant
|
||||||
|
submission SubmissionId
|
||||||
|
name Text
|
||||||
|
UniqueVariantSubmissionName submission name
|
||||||
Fork
|
Fork
|
||||||
source SubmissionId
|
source SubmissionId
|
||||||
target SubmissionId
|
target SubmissionId
|
||||||
@ -77,6 +81,7 @@ Comment
|
|||||||
text Textarea
|
text Textarea
|
||||||
Out
|
Out
|
||||||
submission SubmissionId
|
submission SubmissionId
|
||||||
|
variant VariantId Maybe
|
||||||
test TestId
|
test TestId
|
||||||
checksum SHA1
|
checksum SHA1
|
||||||
UniqueOutSubmissionTestChecksum submission test checksum
|
UniqueOutSubmissionTestChecksum submission test checksum
|
||||||
|
Loading…
Reference in New Issue
Block a user