Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 480884 - =app-portage/layman-2.0.0 sets git config user.name and user email, why?
Summary: =app-portage/layman-2.0.0 sets git config user.name and user email, why?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Layman Overlay Manager project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-13 15:00 UTC by Michael Weber (RETIRED)
Modified: 2023-09-08 00:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Weber (RETIRED) gentoo-dev 2013-08-13 15:00:59 UTC
I'm maintaining one layman managed overlay (xmw) with me as only author, and i was curious if i could use the `layman -a xmw` checkout as basis to author updates - after setting `git remote set-url --push origin git+ssh://git@git.overlays.gentoo.org/dev/xmw.git`.

I'd reduce the variances in my configs (homogenous `layman -l` and PORTDIR_OVERLAYS dlists).

But it deliberately alters config user.name and email

 * Running Git... # ( cd /var/lib/layman/xmw  && /usr/bin/git config user.name "layman" )
 * Running Git... # ( cd /var/lib/layman/xmw  && /usr/bin/git config user.email "layman@localhost" )

What is the intent?
Comment 1 Michael Weber (RETIRED) gentoo-dev 2013-08-13 15:24:50 UTC
Workaround, remove [user] section with corresponding keys from /var/lib/layman/xmw/.git/config ;-)
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-08-13 15:25:04 UTC
I think it was added when someone had force-pushed a commit and merge happened to users. Having consistent merge commit done by layman allowed us to push another merge to the repo and unscrew the situation.
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2013-08-13 20:29:00 UTC
see bug 433687  which resulted in this commit:

http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=faf6c74c1aa866d62137dcf203b3bca7a0e32634

My intention was to be able to make this a per repo setting along with some others.

From this and some discussion on IRC.  I'll add a config option to turn off this setting for now.
Comment 4 Larry the Git Cow gentoo-dev 2023-06-22 13:26:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=805fe7c0495e1bf3a34d518041e466258944b82b

commit 805fe7c0495e1bf3a34d518041e466258944b82b
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2023-06-22 13:15:09 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2023-06-22 13:15:09 +0000

    app-portage/layman: treeclean
    
    Closes: https://bugs.gentoo.org/761199
    Closes: https://bugs.gentoo.org/609720
    Closes: https://bugs.gentoo.org/627930
    Closes: https://bugs.gentoo.org/700742
    Closes: https://bugs.gentoo.org/649766
    Closes: https://bugs.gentoo.org/681144
    Closes: https://bugs.gentoo.org/648374
    Closes: https://bugs.gentoo.org/545568
    Closes: https://bugs.gentoo.org/581890
    Closes: https://bugs.gentoo.org/539336
    Closes: https://bugs.gentoo.org/590132
    Closes: https://bugs.gentoo.org/574190
    Closes: https://bugs.gentoo.org/578992
    Closes: https://bugs.gentoo.org/540012
    Closes: https://bugs.gentoo.org/412883
    Closes: https://bugs.gentoo.org/443880
    Closes: https://bugs.gentoo.org/480884
    Closes: https://bugs.gentoo.org/567386
    Closes: https://bugs.gentoo.org/454604
    Closes: https://bugs.gentoo.org/567384
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 app-portage/layman/Manifest            |   1 -
 app-portage/layman/layman-2.4.3.ebuild | 100 ---------------------------------
 app-portage/layman/layman-9999.ebuild  | 100 ---------------------------------
 app-portage/layman/metadata.xml        |  24 --------
 profiles/package.mask                  |   5 --
 5 files changed, 230 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2023-09-08 00:42:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abfaed0b3460e638410c0fd74783f8d292d63afc

commit abfaed0b3460e638410c0fd74783f8d292d63afc
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2023-09-08 00:41:10 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2023-09-08 00:42:07 +0000

    app-portage/layman: treeclan
    
    Closes: https://bugs.gentoo.org/761199
    Closes: https://bugs.gentoo.org/609720
    Closes: https://bugs.gentoo.org/627930
    Closes: https://bugs.gentoo.org/700742
    Closes: https://bugs.gentoo.org/649766
    Closes: https://bugs.gentoo.org/681144
    Closes: https://bugs.gentoo.org/648374
    Closes: https://bugs.gentoo.org/545568
    Closes: https://bugs.gentoo.org/581890
    Closes: https://bugs.gentoo.org/539336
    Closes: https://bugs.gentoo.org/590132
    Closes: https://bugs.gentoo.org/574190
    Closes: https://bugs.gentoo.org/578992
    Closes: https://bugs.gentoo.org/540012
    Closes: https://bugs.gentoo.org/412883
    Closes: https://bugs.gentoo.org/443880
    Closes: https://bugs.gentoo.org/480884
    Closes: https://bugs.gentoo.org/567386
    Closes: https://bugs.gentoo.org/454604
    Closes: https://bugs.gentoo.org/567384
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 app-portage/layman/Manifest            |   1 -
 app-portage/layman/layman-2.4.3.ebuild | 100 ---------------------------------
 app-portage/layman/layman-9999.ebuild  | 100 ---------------------------------
 app-portage/layman/metadata.xml        |  24 --------
 profiles/package.mask                  |   5 --
 5 files changed, 230 deletions(-)