remove user/email config for gbs import
authorZhang Qiang <qiang.z.zhang@intel.com>
Fri, 8 Jun 2012 05:13:14 +0000 (13:13 +0800)
committerZhang Qiang <qiang.z.zhang@intel.com>
Fri, 8 Jun 2012 05:13:14 +0000 (13:13 +0800)
email/user info can be set from env GIT_AUTHOR_NAME/GIT_AUTHOR_EMAIL.
or opts, that's more general.

gitbuildsys/conf.py

index 15a5a66..f9b4c02 100644 (file)
@@ -231,10 +231,6 @@ class ConfigMgr(object):
                 'build_root':   '/var/tmp/build-root-gbs',
                 'distconf':     '/usr/share/gbs/tizen-1.0.conf',
             },
-            'import': {
-                'commit_name':    '',
-                'commit_email':   '',
-            },
     }
 
     DEFAULT_CONF_TEMPLATE="""[general]
@@ -261,11 +257,6 @@ distconf = $build__distconf
 #repo2.url=
 #repo2.user=
 #repo2.passwd=
-
-[import]
-; optional, for git author information
-commit_name = $import__commit_name
-commit_email = $import__commit_email
 """
 
     # make the manager class as singleton