-
Notifications
You must be signed in to change notification settings - Fork 16
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
GitHub Repo Contents API #19
Comments
Agree that it's tricky to implement without either loading complexity on either configuration or opinionated default conventions. As a first draft on this idea I'd probably limit it to making sure that the board is blank and then assume that the GH repo is the authoritative source of truth (SSOT). Then provide "escape hatches" for those users that already have files on the board but want to use that feature at their own risk... although moving those files to a repo first and wiping the device is not too onerous anyway? For conflict resolution, I'd also assume that the repo changes come first and the device changes are something to resolve on the editor (via a diff/change merge view).... not trivial in any case, I agree. |
Yes, it gets even more complicated if you have multiple boards running the same firmware. 😵💫 |
In this case, wouldn't it be enough to save the HEAD git hash to disambiguate state? Or worst case, keeping the |
No, keeping .git on the device is not gonna work |
Following up from #17 (comment)
The text was updated successfully, but these errors were encountered: