Skip to content
This repository has been archived by the owner on Oct 16, 2018. It is now read-only.

Making our working branch up-to-date #12

Closed
gochist opened this issue Aug 22, 2018 · 4 comments
Closed

Making our working branch up-to-date #12

gochist opened this issue Aug 22, 2018 · 4 comments
Assignees

Comments

@gochist
Copy link
Contributor

gochist commented Aug 22, 2018

It is first localization for us after Hugo migration, SIG Docs encouraged us to find a good solution about branching strategy and share it with other l10n team. Using subtree was one of the candidates but I can’t figure out a good workflow with it.

Currently our working branch, k/k-docs-ko dev-1.12 was checked out from k/website release-1.12 branch. Our working branch is already outdated so far from current k/website release-1.12 branch. So we need to update dev-1.12 so that it can catch up release-1.12 of k/website.

These are the tasks to do when we update dev-1.12:

  1. Make a list of changed files in content/en from dev-1.12 to w/website release-1.12. If we have any corresponding file with the list in content/ko, they are the outdated files. So we need to open an issue to update them.
  2. We need to separate our local commits from main repo commits so that we can make a single squashed commit easily when we open our first PR to main repo.
  3. From our second PR, the local commits used for the first PR should be backed up somewhere else, and we need to update our working branch again.

It is not hard for doing no.1. I write my own script and it works.

For no.2, rebasing dev-1.12 onto k/website release-1.12 with a command line like git rebase –onto website/release-1.12 HEAD~#N will work where #N is the number of our local commits.

But I not sure that we can rebase the public working branch without side-effect. Any good idea?

@claudiajkang claudiajkang changed the title 작업 브랜치에 업스트림 변경분 반영 안 필요 작업 브랜치에 업스트림 변경분 반영안 필요 Aug 23, 2018
@claudiajkang
Copy link
Contributor

2018-08-28 회의 안건에 추가했습니다.

@gochist gochist added help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. and removed help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. labels Aug 23, 2018
@gochist gochist changed the title 작업 브랜치에 업스트림 변경분 반영안 필요 Making our working branch up-to-date Aug 29, 2018
@gochist
Copy link
Contributor Author

gochist commented Aug 29, 2018

@zparnold @jimangel I translated and updated this issue in English. Thank you for your help in advance.

@gochist
Copy link
Contributor Author

gochist commented Sep 19, 2018

/assign

@gochist
Copy link
Contributor Author

gochist commented Sep 19, 2018

According to the Branching Tactics For k/k-docs-ko, I made our working branch up-to-date by #40, #41 and #42 . This tactics will be applied until we find a better solution.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants