It seems that OmegaT l10n projects use the
https://github.com/omegat-org/omegat.git/trunk/doc_src/en
url to refer to the documentation sources.
That creates an error when loading the project locally with a ["https://github.com/omegat-org/omegat.git/trunk/doc_src/en" does not exist] error.
It looks like the /trunk/ path does not exist anymore.
Docs are fetched using svn protocol from the OmegaT GitHub repository. It's done in order to fetch only
/doc_src/enfrom the source tree instead of the whole hierarchy. Git doesn't allow that (or maybe it's only my level of git knowledge), but GitHub provides an svn emulation which makes it possible. I think this is where /trunk/ part comes from.The error on the user's side is caused by GitHub timing out during its svn operation. Usually it's possible to eventually get the files after several attempts.
To try to work around the situation, I created a separate doc_src repository which is a copy of https://github.com/omegat-org/omegat/tree/master/doc_src/en, but this new repository isn't updated automatically. I enabled it as a source of documentation files to be translated in UK and PL OmegaT L10N repos, and there no such errors occur. But before this is applied to the rest of the L10N repos, it would be great to find a way to automate the update of https://github.com/OmegaT-L10N/doc_src from https://github.com/omegat-org/omegat/tree/master/doc_src/en. Any help in this regard will be most welcome.
I don't know if this bug belongs to this tracker, or should we have a separate tracker for localisation related issues, or what would be the best way to track such things?
You're right, maybe move it to the documentation tracker ?
Ticket moved from /p/omegat/bugs/1042/
It looks like Github Actions could be helpful.
It looks possible to generate a workflow where an update on the main doc_src branch triggers an update on the new doc_src repository that you created.
I don't have much time right now to investigate that at the moment though. Sorry for that.
https://docs.github.com/en/actions/learn-github-actions/introduction-to-github-actions
Is there any progress on this item?
If the workaround works now, let's fix that alter.
@kosivantsov do we still have the issue?