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

Sync via git repository #3

Merged
merged 5 commits into from
Aug 19, 2024
Merged

Sync via git repository #3

merged 5 commits into from
Aug 19, 2024

Conversation

b12f
Copy link
Member

@b12f b12f commented Aug 13, 2024

This patch allows Watson to sync via a simple git repository, making it
unnecessary to run a specific backend. Instead, any git repository with
write access will do.

You can configure a git backend by setting something like:

watson config backend.repo git@github.com:user/repo.git

If y repository is set, the sync command will try using git. If not,
the old backend server is used if server and token are set.

Original PR: jazzband/Watson#495

This patch allows Watson to sync via a simple git repository, making it
unnecessary to run a specific backend. Instead, any git repository with
write access will do.

You can configure a git backend by setting something like:

    watson config backend.repo git@github.com:user/repo.git

If y repository is set, the `sync` command will try using git. If not,
the old backend server is used if `server` and `token` are set.
To make the stats more legible, this patch uses color for the summary
lines printed out so they stand out more from the git logs.
This should minimize the changes when different clients commit to the
repository.
E       AssertionError: assert 4003 == 4001
@teutat3s teutat3s merged commit 6a64efe into main Aug 19, 2024
4 checks passed
@teutat3s teutat3s deleted the git-sync branch August 19, 2024 09:26
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