Skip to content

Update to the new results export version.#6

Open
timreyn wants to merge 10 commits intorobiningelbrecht:masterfrom
timreyn:v2-export
Open

Update to the new results export version.#6
timreyn wants to merge 10 commits intorobiningelbrecht:masterfrom
timreyn:v2-export

Conversation

@timreyn
Copy link

@timreyn timreyn commented Jan 24, 2026

Hi Robin - I took a stab at updating this with the v2 WCA export, since I'd really like for this to stick around! I am still trying to test this (cloning this repo takes quite a while given the size, so I haven't been able to yet). But I wanted to go ahead and send this so that you're aware I'm working on this.

If this PR works, I'd be happy to help with maintenance moving forward.

@timreyn timreyn changed the title Update to the Update to the new results export version. Jan 24, 2026
@robiningelbrecht
Copy link
Owner

hi @timreyn did you manage to test this on your local environment?

@timreyn
Copy link
Author

timreyn commented Jan 26, 2026

Not yet, I'm not that experienced with docker and running into some issues. When I run

$ docker-compose run --rm php-cli composer install

it fails with

The repository at "/var/www" does not have the correct ownership and git refuses to use it:

fatal: detected dubious ownership in repository at '/var/www'

but I haven't figured out how to run the suggested command (git config --global --add safe.directory /var/www ) in the right docker container. When I skip ahead and try to run bin/build-new-api.sh it fails with ERROR 2005 (HY000): Unknown server host 'host.docker.internal' (-2) which I assume means that the docker setup wasn't successful and the mysql process isn't actually running.

Still working on this when I have time, I may try to change gears and run it as a github action on my branch.

@timreyn
Copy link
Author

timreyn commented Feb 1, 2026

Quick update - I've resolved the docker issues and have gotten it running halfway through. It's currently getting stuck on Persons, so I need to keep working on that. But I should be able to get this all working before too long.

@timreyn
Copy link
Author

timreyn commented Feb 7, 2026

OK I got Persons working, it takes ~1 hour to run that table though, I think mostly because the changes to remove value1-value5 require a join that's slow. Is it okay for this to be slow to regenerate?

(I will push more commits once I get all the way through, still some bugs in Ranks I need to fix)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants