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 #495

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Sync via git repository #495

wants to merge 3 commits into from

Conversation

lkiesow
Copy link

@lkiesow lkiesow commented Feb 6, 2023

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 [email protected]: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.

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 [email protected]: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.
@pylipp
Copy link
Contributor

pylipp commented Jul 30, 2024

@lkiesow I love this! What is your experience using it?

@lkiesow
Copy link
Author

lkiesow commented Aug 1, 2024

I've been using this ever since I created this pull request with no major problems.
I've also added this to watson-next which contains a few additional patches.

@pylipp
Copy link
Contributor

pylipp commented Aug 1, 2024

I've been using this ever since I created this pull request with no major problems. I've also added this to watson-next which contains a few additional patches.

That's great to hear. Have you shared this fork elsewhere? Might be interesting because the project looks for new maintainers and such.

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.

2 participants