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
Currently we create branches automatically when a user edits someone else's guide. This is working pretty well. However, it makes merging changes difficult when an editor has edits for more than 1 guide at a time. We should make a new branch for every guide. Then, creating PRs and merging requests only deals with 1 guide at a time.
The caveat we need to think through here is that we currently use the editor name as the name of the branch. This is the only way we know who is editing which guide. So, we need to either create new branches with something like <editor_name>-<stack>-<title> or some other scheme. This way we encode the guide ID (stack/title) and editor name in the name of the branch. This makes sure we don't have to store the editor name anywhere since it's always embedded in the branch name.
The text was updated successfully, but these errors were encountered:
- This allows us to keep a new branch for every guide. This way it's easier to
merge changes when an editor is working on more than 1 branch at a time.
- This will also make it easier to make pull requests later since each branch
is focused on only 1 guide.
- Fixes#58.
- This allows us to keep a new branch for every guide. This way it's easier to
merge changes when an editor is working on more than 1 branch at a time.
- This will also make it easier to make pull requests later since each branch
is focused on only 1 guide.
- Fixes#58.
Currently we create branches automatically when a user edits someone else's guide. This is working pretty well. However, it makes merging changes difficult when an editor has edits for more than 1 guide at a time. We should make a new branch for every guide. Then, creating PRs and merging requests only deals with 1 guide at a time.
The caveat we need to think through here is that we currently use the editor name as the name of the branch. This is the only way we know who is editing which guide. So, we need to either create new branches with something like
<editor_name>-<stack>-<title>
or some other scheme. This way we encode the guide ID (stack/title) and editor name in the name of the branch. This makes sure we don't have to store the editor name anywhere since it's always embedded in the branch name.The text was updated successfully, but these errors were encountered: