; settings for build subcommand
build_server = <OBS API URL>
user = <USER_NAME>
- passwd = <PASSWORD in base64 string>
- passwdx = <PASSWORD encoded in base64 string>
+ passwd = <PASSWORD in plaintext> (will be updated w/ base64 encoded one)
+
[build]
build_cmd = /usr/bin/build
build_root= /var/tmp/build-root-gbs
- su-wrapper= su -c
+ su_wrapper= sudo
distconf=/usr/share/gbs/tizen-1.0.conf
+
[import]
commit_name= <Author Name>
commit_email= <Author Email>
cmd += ['--rsync-src=%s' % os.path.abspath(workdir)]
cmd += ['--rsync-dest=/home/abuild/rpmbuild/BUILD/%s-%s' % (name, version)]
- sucmd = configmgr.get('su-wrapper', 'build').split()
+ sucmd = configmgr.get('su_wrapper', 'build').split()
if sucmd[0] == 'su':
if sucmd[-1] == '-c':
sucmd.pop()
},
'build': {
'build_cmd': '/usr/bin/build',
- 'build_root': '/var/tmp/build-root-gbs',
- 'su-wrapper': 'sudo',
+ 'build_root': '/var/tmp/build-root-gbs', # TODO under $tmpdir
+ 'su_wrapper': 'sudo',
'distconf': '/usr/share/gbs/tizen-1.0.conf',
+
},
'import': {
- 'commit_name': None,
- 'commit_email': None,
+ 'commit_name': '',
+ 'commit_email': '',
},
}
build_server = $remotebuild__build_server
user = $remotebuild__user
passwdx = $remotebuild__passwdx
+
[build]
-build_cmd = /usr/bin/build
-build_root= /var/tmp/build-root-gbs
-su-wrapper= sudo
+build_cmd = $build__build_cmd
+build_root = $build__build_root
+su_wrapper = $build__su_wrapper
+distconf = $build__distconf
+
+; optional, repos definitions
repo1.url=
repo1.user=
-repo1.passwd=
repo1.passwdx=
repo2.url=
repo2.user=
-repo2.passwd=
repo2.passwdx=
-distconf= /usr/share/gbs/tizen-1.0.conf
+
[import]
-commit_name=
-commit_email=
+; optional, for git author information
+# commit_name = $import__commit_name
+# commit_email = $import__commit_email
"""
# make the manager class as singleton