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

Import Polygon contest/tasks #106

Open
minhnhatnoe opened this issue Jun 14, 2023 · 1 comment
Open

Import Polygon contest/tasks #106

minhnhatnoe opened this issue Jun 14, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@minhnhatnoe
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Most problems nowadays are created with the Polygon system (by Codeforces). While we can import it the "traditional" way, it requires all packages to be fully built. If we download an entire contest package, all problems are "standard" built, which means it only comes with scripts to generate tests.

Describe the solution you'd like
I'd like to be able to import a polygon contest, complete with generated pdf statements.

To generate statements, we need Kjudge to be packaged with a TeX distribution. This can be packaged in a "full" Docker image.

To generate tests, the polygon scripts use wine32 (the 32-bit version, literally). We can rewrite these scripts or just use wine.

On frontend, this can be in spoiler, and calls a new API.

Additional context

https://github.com/Unknown15082 wishes to assign himself. I'll tell him to comment on this.

@minhnhatnoe minhnhatnoe added the enhancement New feature or request label Jun 14, 2023
@natsukagami
Copy link
Owner

his can be packaged in a "full" Docker image.

To generate tests, the polygon scripts use wine32 (the 32-bit version, literally). We can rewrite these scripts or just use wine.

Let's create a different binary and package it in a different Docker image. I don't want to package a ~gb worth of TeX distribution into the kjudge image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants