-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add command to backup the stack to the remote in case machine failure #66
Comments
The value is quite small and niche. Its more of a feature that is rarely used though I see how it could be abused to create patch PRs with dependencies. CI would fail the PR since it couldn't build it and maybe it makes sense to inject the word "BACKUP" or something into the commit. Thinking out loud here. |
Well if there are conflicts in the cherry-picking it wouldn't be possible to sync the patch. Syncing only works for patches that are independent enough that they can be cherry-picked. |
If you want to back your stack up, it might make more sense to create a stack specific branch and force pushes the stack up to it |
Ah this might be more what I am looking for. The Backup Branch would work. We can close this then. |
It still might be nice to have this to help hold the Patch Stack abstraction and make it so you don't have to think about the fact that it is a branch. Also I don't think it is totally straight forward how you would do it. If we take the example of You wouldn't want to push
At this point the entire stack would be backed up. Now we probably also need to think about uniqueness across users because once we push remote if two users do this they would overwrite each others branches. So the branches somehow need to have something user unique in the branch naming. But I think in theory that would work and I think it is enough of a pain to have to do this manually with git that it would be nice to implement it. |
I think the biggest question in terms of implementation is figuring out where we get user unique identifier. I guess we could pull the user email out of the |
so the branch naming would be something maybe like |
Add backup-stack command so that users can easily backup their current patch stack. This relates to issue #66. ps-id: 8dba630d-6f5d-4ea9-80cb-45d597f4bcb0
Add backup-stack command so that users can easily backup their current patch stack. This relates to issue #66. ps-id: 8dba630d-6f5d-4ea9-80cb-45d597f4bcb0
Add backup-stack command so that users can easily backup their current patch stack. This relates to issue #66. ps-id: 8dba630d-6f5d-4ea9-80cb-45d597f4bcb0
Add backup-stack command so that users can easily backup their current patch stack. This relates to issue #66. ps-id: 8dba630d-6f5d-4ea9-80cb-45d597f4bcb0
Now that |
The goto solution for me is to branch and push to a remote. Especially if I need some patches on another matchine. |
@chillbrodev mentioned in chat
Maybe this just becomes in option on
sync -all
for sync all or something.I am not sure how valuable I really feel this command is.
The text was updated successfully, but these errors were encountered: