pieces-app / opensource

Main repo for tracking open source projects, issues, conversations, and links to each open source project.
MIT License
168 stars 20 forks source link

GitHub Sync Automation Script #25

Closed mason-at-pieces closed 7 months ago

mason-at-pieces commented 9 months ago

Overview

We currently have a very manual guide for syncing snippets across multiple devices which can be found here.

The goal of this project would be to automate this process.

This outline will evolve with the conversations on this issue.

Original Discord Conversation: https://discord.com/channels/1098986658851999776/1098986660143837209/1193991456046715041

Terms

v1 Task

Requirements

Future Version

Once we get a working version that commits code when Pieces OS quits, then we can evolve the script to automate the syncing process.

pythonistical commented 9 months ago

@mason-at-pieces is this default or a non default feature?

mason-at-pieces commented 9 months ago

@mason-at-pieces is this default or a non default feature?

I'm not 100% sure what you mean by default/non-default but this will simply just be a script that users can run on their machines to do this task.

hra42 commented 9 months ago

Create a repo for the windows script: https://github.com/HRA42/Pieces-VCS-Sync-Windows

If anybody is keen to collaborate on this, I'm open to PRs and merge them in asap. On Windows, we should default to using PowerShell 5. Keep in mind that most people don't have PowerShell 7 installed and don't want to install it.

jwafu commented 9 months ago

@HRA42 if you want to get a PR up so at least the base file structure and paths are available for others to collaborate on (if they choose to)?

hra42 commented 9 months ago

@jordan-pieces It's up in its own branch now.

I hope I can get some initial work (specially on the backup script) done tomorrow.

hra42 commented 8 months ago

Needed to refactor me local Git Repo, has some issue with the file system sync, I restored the repo to the correct timeline.

Working now on the backup script. #26

mason-at-pieces commented 7 months ago

@HRA42 Going to close this. If we want to continue the convo, we can in our opensource discussions 👍