You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is rather a question whether this might be feasible to improve the overall process: Is it possible that the bot watches for commits in the language repositories and creates a new commit to update the languages submodule in the core repository to that commit? As asked in dlang-tour/core#482 the problem is that the core repo doesn't contain the most recent translations. This isn't a problem for Travis because here we have magic that automatically updates the submodules to the according HEAD of the language repos. But it is a problem when someone runs the tour offline using dub.
Or generally if someone wants to develop locally the translation submodules need be updated manually which isn't optimal in my eyes.
The text was updated successfully, but these errors were encountered:
Is it possible that the bot watches for commits in the language repositories and creates a new commit to update the languages submodule in the core repository to that commit?
Yep. We could give the bot "write" access to the base repository, s.t. it automatically makes the update commit.
It would be something like:
clone the base repository (needs to be on /tmp at Heroku)
do git submodule foreach git pull origin master
do a commit (git doesn't allow empty commits anyways)
push the commit with the bot's credentials
But it is a problem when someone runs the tour offline using dub.
Yeah, but we first need to figure out how we can tell dub to clone the submodules.
Or generally if someone wants to develop locally the translation submodules need be updated manually which isn't optimal in my eyes.
For local development there's the --lang-dir flag which allows to run the tour with any language folder.
This is rather a question whether this might be feasible to improve the overall process: Is it possible that the bot watches for commits in the language repositories and creates a new commit to update the languages submodule in the core repository to that commit? As asked in dlang-tour/core#482 the problem is that the core repo doesn't contain the most recent translations. This isn't a problem for Travis because here we have magic that automatically updates the submodules to the according HEAD of the language repos. But it is a problem when someone runs the tour offline using dub.
Or generally if someone wants to develop locally the translation submodules need be updated manually which isn't optimal in my eyes.
The text was updated successfully, but these errors were encountered: