Skip to content
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

[WIP] Improvements to Cloud Sync #5

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open

[WIP] Improvements to Cloud Sync #5

wants to merge 17 commits into from

Conversation

jesp209i
Copy link
Contributor

Please be aware that this is Work in Progress 🚧

What is this?

This is an attempt to make @SSmale's suggestion to improve the Sync experience on the GitHub/Bash available for both GitHub and Azure DevOps in bash or PowerShell variants.

But what does it do

  • New scripts for applying the patch coming down from cloud, trying to apply it in a more clever way
    • Incoming changes are "tested" before being applied.
    • Failures should be more clear and give some more context from git
    • See scripts for how all of this is done and consult Git documentation
  • If changes have been applied back to the repository during Cloud-Sync, the new commit sha will be used for checkout before packing changes and sending.

How can I help?

You can test this out in either Github or Azure DevOps with your preferred types of scripts.

  • if you observe any weirdness please rapport via comment to this PR 🎈

I have been testing this on Azure DevOps and GitHub with both variants of scripts and with good results.

@jesp209i
Copy link
Contributor Author

The current guides for setting up pipelines in Azure DevOps or GitHub can be used with these updated files.

Remember to also copy over apply-patch.sh or Apply-Patch.ps1 when you get to one of the following sections

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

Successfully merging this pull request may close these issues.

3 participants