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

gopass-git-credentials: rename to git-credential-gopass #1670

Closed
wants to merge 1 commit into from

Conversation

sgn
Copy link

@sgn sgn commented Dec 30, 2020

With this rename, we can use "gopass" as a git-credential,
no need to have the hackery of invoke another shell.

@sgn sgn force-pushed the git-credential-rename branch from bb20071 to cf98e2d Compare December 30, 2020 00:25
With this rename, we can use "gopass" as a git-credential,
no need to have the hackery of invoke another shell.

Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
@sgn sgn force-pushed the git-credential-rename branch from cf98e2d to 73f14ee Compare December 30, 2020 00:26
@codecov-io
Copy link

codecov-io commented Dec 30, 2020

Codecov Report

Merging #1670 (73f14ee) into master (af9c95d) will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1670   +/-   ##
=======================================
  Coverage   57.64%   57.64%           
=======================================
  Files         204      204           
  Lines        9854     9854           
=======================================
  Hits         5680     5680           
  Misses       3503     3503           
  Partials      671      671           
Impacted Files Coverage Δ
cmd/git-credential-gopass/git-credential.go 62.59% <0.00%> (ø)
cmd/git-credential-gopass/main.go 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update af9c95d...73f14ee. Read the comment docs.

@@ -243,7 +243,7 @@ func (s *gc) Configure(c *cli.Context) error {
if flags == 0 {
log.Println("No target given, assuming --global.")
}
cmd := exec.CommandContext(ctx, "git", "config", flag, "credential.helper", `"!gopass-git-credentials $@"`)
cmd := exec.CommandContext(ctx, "git", "config", flag, "credential.helper", "gopass")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this configure the gopass binary itself as the git credential helper?

@sgn
Copy link
Author

sgn commented Dec 31, 2020 via email

Copy link
Member

@dominikschulz dominikschulz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dominikschulz
Copy link
Member

Thank you. Please rebase and add RELEASE_NOTES= tags to your commit message(s).

dominikschulz added a commit to dominikschulz/gopass that referenced this pull request Jan 15, 2021
This commit removes the binaries that were migrated to their dedicated
git repos.

Fixes gopasspw#1673
Fixes gopasspw#1649
Fixes gopasspw#1652
Fixes gopasspw#1631
Fixes gopasspw#1165
Fixes gopasspw#1711
Fixes gopasspw#1670
Fixes gopasspw#1639

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
dominikschulz added a commit to dominikschulz/gopass that referenced this pull request Jan 15, 2021
This commit removes the binaries that were migrated to their dedicated
git repos.

Fixes gopasspw#1673
Fixes gopasspw#1649
Fixes gopasspw#1652
Fixes gopasspw#1631
Fixes gopasspw#1165
Fixes gopasspw#1711
Fixes gopasspw#1670
Fixes gopasspw#1639

RELEASE_NOTES=[CLEANUP] Remove migrated binaries

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
dominikschulz added a commit that referenced this pull request Jan 15, 2021
This commit removes the binaries that were migrated to their dedicated
git repos.

Fixes #1673
Fixes #1649
Fixes #1652
Fixes #1631
Fixes #1165
Fixes #1711
Fixes #1670
Fixes #1639

RELEASE_NOTES=[CLEANUP] Remove migrated binaries

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
kpitt pushed a commit to kpitt/gopass that referenced this pull request Jul 21, 2022
This commit removes the binaries that were migrated to their dedicated
git repos.

Fixes gopasspw#1673
Fixes gopasspw#1649
Fixes gopasspw#1652
Fixes gopasspw#1631
Fixes gopasspw#1165
Fixes gopasspw#1711
Fixes gopasspw#1670
Fixes gopasspw#1639

RELEASE_NOTES=[CLEANUP] Remove migrated binaries

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
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