cmsImportUser overwrites .itime_contest
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1k
- Forks
- 412
- Avg merge
- 6d 10h
- Merged PRs (30d)
- 3
Description
we have a script that basically runs cmsImportUser to grab all new users from contest.yaml, and then runs cmsImportContest to update the contest/tasks. however, because of the way .itime_contest is used, cmsImportUser actually also touches .itime_contest, despite not importing the contest parameters. this means that the cmsImportContest actually never updates the contest parameters.
i guess we should move the itime_contest writing operation to a different place?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Trace how cmsImportUser and cmsImportContest handle .itime_contest, starting with the import flow described in the issue and contest.yaml. Reproduce the sequence of importing users and then contest data, and verify that contest parameters are updated after the user import; done means cmsImportUser no longer prevents cmsImportContest from applying them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100