[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69780] [PATCH 1/4] git authenticate: Record introduction and keyrin
From: |
Ludovic Courtès |
Subject: |
[bug#69780] [PATCH 1/4] git authenticate: Record introduction and keyring in ‘.git/config’. |
Date: |
Fri, 29 Mar 2024 11:34:06 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi!
Tomas Volf <~@wolfsden.cz> skribis:
>> The only open issue left is branches: how to configure different
>> introductions for different branches. I’m all ears!
>
> Right, so I have few ideas, not sure if they are any good though. And I
> myself
> am not really sure which one I like the most, so...
[...]
> The problem here is that any possible "smart" solution leaves something to be
> desired. Either it is not automated enough (new branches are unconfigured),
> or
> it is too magical (new branches inherit the config from... something). 5. is
> probably the most flexible and covering edge cases, but will not be exactly
> one-line change.
>
> Hm, now when I read it after myself, maybe it is just not a problem worth
> solving. All of these are likely to complicate the code quite a bit. Not
> sure.
>
> Dunno, was this of any help? :)
Yes, in a way. :-)
For me the takeaway is that we shouldn’t go to far in attempting to
address this. The proposal we came up with Skyler, where
‘introduction-commit’ is taken as the default but may be overridden by
‘introduction-commit-BRANCH’ sounds reasonable:
https://issues.guix.gnu.org/69780#17
It does mean that people who need this would have to manually edit their
‘.git/config’, but I think that’s acceptable: that’s an advanced use
case.
Thoughts?
Ludo’.
[bug#69780] [PATCH 4/4] DRAFT news: Add entry for ‘guix git authenticate’ changes., Ludovic Courtès, 2024/03/13
[bug#69780] [PATCH 3/4] git authenticate: Install pre-push and post-checkout hooks., Ludovic Courtès, 2024/03/13