-
Notifications
You must be signed in to change notification settings - Fork 48
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
Develop branch for dataverse-language-packs #59
Comments
Yes, that's right but we need a clear workflow to manage all translations for different versions. We're working on Weblate as a service to get everything in one place and with CI/CD pipeline to get a proper versions of translations. It's very difficult to manage this workflow manually even without develop branch. |
My suggestion would be to first document the branching strategy. As an example, here's how we wrote this up for Dataverse at http://guides.dataverse.org/en/4.19/developers/version-control.html#branching-strategy The Dataverse branching strategy had a big change a few years ago. (Anyone interested can look at http://guides.dataverse.org/en/4.0/developers/branching-strategy.html for how it used to be.) So it's fine for the branching strategy to change over time. The important thing, in my opinion, is to write it down. 😄 |
Branching strategy for language packs is actually quite simple. As I understand it, there is one branch for each Dataverse version released (tag). en_US locale is then copied here from the original remote branch (e.g. https://github.com/IQSS/dataverse/tree/v4.19). Following that, other locales can be added based on this en_US locale. No need for |
I've only pointed a git submodule to an entire git repo. I don't know if it's possible to point to a subdirectory of a git repo.
Don't you need a branch to hold the README, at least? 😄 |
@pdurbin Could the last version branch be the default branch ? Then the README file would be updated there. |
@mhvezina in theory, yes, but you'd need to switch the default branch every time to make a new branch (a new branch called
So maybe you'd need to tell people to re-clone fairly often? When the default branch changes? That's my concern, but maybe it's ill-founded. 😄 Something else to consider is that the default branch is always the default target for pull requests. This can be changed on the fly but a lot of people will probably just use this default. Maybe this is what you're saying... that you want pull requests to go into the branch for the latest release, ideally (branch |
My thoughts on this: I don't see a need for a develop branch, but a branch for each translation. The branch name should have the information for the language being translated, and for which dataverse version (e. g. So much about norma git/github workflow. But I dont know about the best workflow to integrate with weblate.:) |
The content of the develop branch doesn't reflect latest version of language packs as one would probably expect (even the source language, en_US, is not up to date if I'm not mistaken).
Since there is no "develop" version for languages packs I think this branch should be removed or should be kept minimal, maybe with only an up-to-date readme.md file pointing to the latest translation (version branches) for each language represented. Would that be a good idea?
The text was updated successfully, but these errors were encountered: