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

ci-test.sh diff fail #177

Open
Nanush7 opened this issue Jan 10, 2025 · 2 comments
Open

ci-test.sh diff fail #177

Nanush7 opened this issue Jan 10, 2025 · 2 comments

Comments

@Nanush7
Copy link
Member

Nanush7 commented Jan 10, 2025

The first check in the ci-test.sh script, which is automatically run by the Python application workflow, always fails:

fatal: ambiguous argument 'thewca/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

I assume something like this should be done to fix this.

Context: that part of the script runs the diff between the official version and the translations, checking if both versions have the same numbered points. The check always fails because the wrc compiler is told to use the official files from thewca/master, but git cannot find it.

@lgarron
Copy link
Member

lgarron commented Jan 12, 2025

Presumably the issue is that our main branch is called main now?

@Nanush7
Copy link
Member Author

Nanush7 commented Jan 12, 2025

It doesn't work by changing master to main, at least not locally. Anyway, do we even want this? Most of the translations are outdated, so it will always throw a lot of output + it's always ignored.

I think the maintainers should run the diff manually.

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

No branches or pull requests

2 participants