<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>11097</bug_id>
          
          <creation_ts>2017-02-23 05:19:23 +0000</creation_ts>
          <short_desc>Create persistent dummy git user</short_desc>
          <delta_ts>2026-06-25 15:20:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>CROPS</product>
          <component>crops-default</component>
          <version>3.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          <dependson>11385</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Juro Bystricky">juro.bystricky</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>amber.n.elliot</cc>
    
    <cc>randy.e.witt</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>tim.orling</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>70888</commentid>
    <comment_count>0</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2017-02-23 05:19:23 +0000</bug_when>
    <thetext>When building bitbake images in containers one cannot do

   $ git stash

without always being prompted to set git user name and user email.
The values, once entered, are not persistent in the container
so this gets very annoying after a short while.
One solution would be to create some persistent dummy git settings
for user &quot;Johny Container&quot; or something like that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78622</commentid>
    <comment_count>1</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-12-08 22:05:33 +0000</bug_when>
    <thetext>Moving to Joshua.

Making a dummy git user is not the best way to solve this.

Either:
1) run git commands in the workdir from the host side where you gitconfig is in ~/.gitconfig
-or-
2) run docker as :
docker run -it --env GIT_CONFIG=/myCONFIG -v ~/.gitconfig:/myCONFIG:ro -v `pwd`:`pwd` crops/poky --workdir=`pwd` 

Which gives you:
pokyuser@ff47ab906591:/home/bavery/src/myBugs$ git config --list  
user.email=brian.avery@intel.com    
user.name=brian avery 
** inside the container **
....

This usage probably just needs to be documented then the big could be closed ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97115</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-30 15:37:26 +0000</bug_when>
    <thetext>Build move to 5.0 -- ../Randy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98846</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-04-25 01:13:57 +0000</bug_when>
    <thetext>Bulk move of 5.0 medium importance issues to 5.99.
Move to 5.1 if you want to actively work on an issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98868</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-04-25 01:23:12 +0000</bug_when>
    <thetext>Move to 5.99 since no one is actively working on this issue.
Move to 5.x if you start on a task, please.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106015</commentid>
    <comment_count>5</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2026-06-25 15:20:46 +0000</bug_when>
    <thetext>Ideas here are probably still valid for future design considerations. Moving to future.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>