-
Notifications
You must be signed in to change notification settings - Fork 9
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
Introduce acquire-git
command
#177
Labels
Comments
extsoft
added a commit
that referenced
this issue
Nov 3, 2019
First of all, the configuration logic is described in the documentation. This gives a user more details on what will be configured. Next, the configuration logic is moved to a separate plugin. This allows to reuse it in the future. All tests were updated also. #177
extsoft
added a commit
that referenced
this issue
Nov 3, 2019
The command allows applying the required configuration to a Git installation. Since there are some interceptionsbetween the `acquire-git` and `acquire-repository`, there are some changes in the overall configuration workflow. These changes are desribed on the documentation. Also, to prevent unexpected tests failures, the `~/.gitconfig` is removed after each test where a real Git repository is used. #177
extsoft
added a commit
that referenced
this issue
Nov 3, 2019
The configuration will start from `acquire-git` command and guide a user through the process interactively. If standards are configured, they will be printed to CLI instead of reconfiguring. During the installation, `acquire-git` will be executed instead of providing the instructions. This allows updating settings for the new versions automatically. Now, the `read` addon supports partial mocking of the answers correctly. This works because a replay variable is always set with either provided value or empty value. #177
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A problem/task I want to solve
I want to have Elegant Git's configuration as a default git configuration.
The solution I'd like
A separate command -
acquire-git
which will apply default configurations. Also, if I runacquire-repository
andacquire-git
is already executed, I don't need to create repository-specific aliases.The text was updated successfully, but these errors were encountered: