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

git integration for contestants #2

Open
zielmicha opened this issue Jan 6, 2016 · 0 comments
Open

git integration for contestants #2

zielmicha opened this issue Jan 6, 2016 · 0 comments
Assignees
Milestone

Comments

@zielmicha
Copy link
Contributor

Contestants would have an option to push (and pull) to https://harnas/git/contest/contest-name to automatically submit tasks. The repo structure would look like this:

/run.cpp
/foo.py

The language and problem ID would be parsed from file name. Push (post-receive) hook would submit problems and print URL of the status page.

remote: Counting objects: 11, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 7 (delta 2), reused 0 (delta 0)
Unpacking objects: 100% (7/7), done.
From https://harnas/git/contest/contest-name
 * branch            master     -> FETCH_HEAD
Updating 9d447d2..f74fb21
remote: Submitting task RUN (new version of file)
remote: Check status at: https://harnas/contest/foobar/status?task=run
remote: Submitting task FOO (new file)
remote: Check status at: https://harnas/contest/foobar/status?task=foo
@zielmicha zielmicha self-assigned this Jan 6, 2016
@ArcCha ArcCha added this to the ideas milestone Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants