Details
Description
Names from: https://sio2.mimuw.edu.pl/api/docs/
There is no way to check problem_id after package_upload, within API.
It makes impossible automatic reuploading package inside CI, without checking id by hand.
Because of that, API is much less useful than it could be.
Possible solution:
- package_upload returns package_id,
- package_id allows to check upload status (and problem_id if upload was successful).
Other solutions are also possible:
- Possibility to use package_id instead of problem_id.
- Reserving problem_id at the beginning. On fail, it is still reserved and waiting for package reupload.
There is no way to check problem_id after package_upload, within API.
It makes impossible automatic reuploading package inside CI, without checking id by hand.
Because of that, API is much less useful than it could be.
Possible solution:
- package_upload returns package_id,
- package_id allows to check upload status (and problem_id if upload was successful).
Other solutions are also possible:
- Possibility to use package_id instead of problem_id.
- Reserving problem_id at the beginning. On fail, it is still reserved and waiting for package reupload.
Issue Links
- relates to
-
SIO-2394 Improve API support for problem package CI (meta-ticket)
Activity
Szymon AcedaĆski
made changes -
Field | Original Value | New Value |
---|---|---|
Labels | tag1 | |
Priority | Major [ 3 ] | Minor [ 4 ] |
Jakub Wasilewski
made changes -
Assignee | Jakub Wasilewski [ wasyl ] |
Jakub Wasilewski
made changes -
Status | New [ 10000 ] | Resolved [ 5 ] |
Assignee | Jakub Wasilewski [ wasyl ] | Wojciech Dubiel [ wolf480 ] |
Resolution | Fixed [ 1 ] |
Jakub Wasilewski
made changes -
Assignee | Wojciech Dubiel [ wolf480 ] | Jakub Wasilewski [ wasyl ] |
Jakub Wasilewski
made changes -
Assignee | Jakub Wasilewski [ wasyl ] | Wojciech Dubiel [ wolf480 ] |
Wojciech Dubiel
made changes -
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
236d 11h 42m | 1 | Jakub Wasilewski | 2020-12-15 23:52 |