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

Improve "git sync" and "git fork" resilience #1226

Closed
wants to merge 26 commits into from
Closed
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
308d697
Introduce --dry-run flag, and improve --verbose
magicus Sep 27, 2021
0c29df0
Rewrite source/target logic to be more resilient
magicus Sep 28, 2021
d03cbcc
Convert static methods into normal instance methods instead
magicus Sep 28, 2021
5bf26b9
Add back support for GitFork
magicus Sep 28, 2021
82c2fca
De-duplicate common code
magicus Sep 28, 2021
c1edee3
Make source/target instance variables, and restructure for improved r…
magicus Sep 28, 2021
a7d2d22
Fix abstraction for verbose logging, dry-run and low-level git operat…
magicus Sep 28, 2021
bc8c939
Quality of life improvements
magicus Sep 28, 2021
ebac316
Set upstream remote if it is missing
magicus Sep 28, 2021
94a14de
Clean up code for git-fork
magicus Sep 28, 2021
503af04
Turn static methods to instance methods, and split up the long fork()…
magicus Sep 28, 2021
6f33388
Rename variable for consistency with GitFork
magicus Sep 28, 2021
12ff697
More cleanup
magicus Sep 28, 2021
5ab5e6b
Shuffle methods for more consistent ordering
magicus Sep 28, 2021
9ac5381
Introduce --dry-run for git fork
magicus Sep 28, 2021
ba86dc6
Removing support for mercurial (it was broken anyway)
magicus Sep 28, 2021
a42ba32
Remove support for undocumented mode of operation of "forking" into c…
magicus Sep 28, 2021
7d5980d
Restructure and extract to methods to increase readability
magicus Sep 28, 2021
c332eb8
More readability refactoring
magicus Sep 28, 2021
b2cd94b
BUGFIX: Adding --no-remote would disable --sync and --setup-pre-push-…
magicus Sep 28, 2021
a2b9c80
Rename for consistency
magicus Sep 28, 2021
7b612b8
Refactorings and code improvements:
magicus Sep 28, 2021
e1ec07b
-N does not match behavior in git fork; remove it
magicus Sep 28, 2021
4d35bd7
Fix ssh vs https
magicus Sep 28, 2021
7c6e564
Extracting all credential handlings into setupCredentials
magicus Sep 28, 2021
255725a
Improve verbose logging and normal output
magicus Sep 30, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view