[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69780] [PATCH v2 0/5] Simplify 'guix git authenticate' usage
From: |
Ludovic Courtès |
Subject: |
[bug#69780] [PATCH v2 0/5] Simplify 'guix git authenticate' usage |
Date: |
Fri, 12 Apr 2024 16:52:38 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hey Tomas & Skyler,
Looks like I forgot to Cc: you (or maybe the ‘send-email’ magic overrode
my Cc: or X-Debbugs-Cc: header, not sure.) So: here’s a friendly ping.
Ludo’.
Ludovic Courtès <ludo@gnu.org> skribis:
> This is an update on <https://issues.guix.gnu.org/69780>.
>
> Changes since v1:
>
> • Write config to the right file using the new
> ‘set-config-string’ procedure of Guile-Git.
>
> • Write hooks to the right place (again, accounting for
> worktrees) using the new ‘repository-common-directory’
> procedure of Guile-Git.
>
> • Support branch-specific configuration, as suggested by
> Skyler and Tomas.
>
> • Create a post-merge hook rather than post-checkout, as
> suggested by Skyler.
>
> • Add German translation by Florian and French translation
> of the news entry.
>
> Since this requires the latest Guile-Git, you can use this
> trick to test locally:
>
> guix shell -CPW -m manifest.scm \
> guile-git --with-branch=guile-git=master
>
> If we agree on the patch set, I’ll tag Guile-Git 0.7.0 and
> update it in Guix before applying these patches.
>
> Feedback welcome!
>
> Ludo’.
>
> Ludovic Courtès (5):
> git authenticate: Record introduction and keyring in ‘.git/config’.
> git authenticate: Discover the repository.
> git authenticate: Print something upon success.
> git authenticate: Install pre-push and post-checkout hooks.
> DRAFT news: Add entry for ‘guix git authenticate’ changes.
>
> doc/guix.texi | 33 ++++-
> etc/news.scm | 44 +++++++
> guix/scripts/git/authenticate.scm | 197 +++++++++++++++++++++++++-----
> tests/guix-git-authenticate.sh | 9 +-
> 4 files changed, 249 insertions(+), 34 deletions(-)
>
>
> base-commit: 9b50a35fc0764f48688974af106fd7a6809f33ee