summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-12-26Upgrade version to 0.7.5release-20161231SoonKyu Park3-2/+15
Change-Id: I765bee4aad47fd731d2f79b58f2bf19c37151827
2016-12-26Disable test_pristine_tar unittest casedebian/0.7.5y0169.zhang1-14/+14
Change-Id: I5ece198765d2faef424ec486aa0c056680c5071a
2016-12-26Adapt git-merge option when git version greater then 2.9Jun Wang1-0/+7
Change-Id: Icd9cb9edc8517095984c0a0f497173e2f068aa20
2016-12-26GitRepository: Fix diff_status() for renames and copiesJiankang Fan1-1/+2
When file has been renamed or copied git places two filepaths in a status line. Previously, we concatenated them (with additional \x00) and put into a single record in results dictionary. This leads to records like: 'libusbg.pc.in\x00libusbgx.pc.in' and result in a exception while trying to invoke git diff on such record: error: Traceback (most recent call last): File "/usr/bin/gbs", line 628, in <module> sys.exit(main(sys.argv)) File "/usr/bin/gbs", line 622, in main return module.main(args) File "/usr/lib/pymodules/python2.7/gitbuildsys/cmd_export.py", line 302, in main export_sources(repo, commit, export_dir, main_spec, args) File "/usr/lib/pymodules/python2.7/gitbuildsys/cmd_export.py", line 222, in export_sources ret = gbp_build(gbp_args) File "/usr/lib/python2.7/dist-packages/gbp/scripts/buildpackage_rpm.py", line 588, in main export_patches(repo, spec, patch_tree, options) File "/usr/lib/python2.7/dist-packages/gbp/scripts/buildpackage_rpm.py", line 283, in export_patches update_patch_series(repo, spec, upstream_tree, export_treeish, options) File "/usr/lib/python2.7/dist-packages/gbp/scripts/pq_rpm.py", line 211, in update_patch_series spec.specdir, options) File "/usr/lib/python2.7/dist-packages/gbp/scripts/pq_rpm.py", line 144, in generate_patches options.patch_export_ignore_path) File "/usr/lib/python2.7/dist-packages/gbp/scripts/common/pq.py", line 290, in format_diff text=True) File "/usr/lib/python2.7/dist-packages/gbp/git/repository.py", line 1813, in diff output, stderr, ret = self._git_inout('diff', options.args) File "/usr/lib/python2.7/dist-packages/gbp/git/repository.py", line 187, in _git_inout capture_stdout): File "/usr/lib/python2.7/dist-packages/gbp/git/repository.py", line 245, in __git_inout cwd=cwd) File "/usr/lib/python2.7/subprocess.py", line 679, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1252, in _execute_child raise child_exception TypeError: execv() arg 2 must contain only strings To fix this let's add each filepath as a seprate record as git diff command will understand our intentions perfectly. Change-Id: I4955bf341147d84880fb2aac49b19a290f1465e5 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2016-06-16Handle conflicts from git merge release-20160531release-20160930release-20160615SoonKyu Park22-133/+2474
Change-Id: I1cae90068ab2576d756188e36e112550c7c293de
2016-06-07Disbale test_create_branches unit caserelease-20160531Jun Wang1-27/+27
Change-Id: I1802461d5081aa6c14455ec955505cf4e8baf825
2016-05-27Change .gitmodules to suit HQ gerrit projectsJun Wang1-2/+2
Change-Id: Ib57a6faac63412baad9a65e961d10bfafe28012b
2016-05-24Add tar extract patches to solve bad message generated by git(2.7.4) mailinfoyang.zhang1-0/+9
Change-Id: Iaca480434f5f59d9b3cc66e477a9ea9c5c08c276
2016-05-18Due to Ubuntu 16.04 provide git-buildpackage with latest version 0.7.2,Jun Wang3-1/+10
so we need update local version number to 0.7.4(latest) and make sure gbs has same local codes. Change-Id: I6791a61abe765a994ef28461f236137a3d979d2a
2016-05-101. Reset to 0.27debian/0.7.4Jun Wang39-44/+68
2. Keep same code with latest release Change-Id: I30588773b0a039c9f5002bf65b5c768a16fb7935
2016-05-10Merge "Remove unused functions" into develJun Wang1-30/+0
2016-05-10Remove unused functionsJun Wang1-30/+0
Change-Id: I7cfa375f77ccc068fb5107d334e6b5fe1511cda5
2016-05-10Add tests/component/rpm/data and tests/component/deb/datashuai.fu2-4/+4
Signed-off-by: shuai.fu <shuai01.fu@samsung.com> Change-Id: I850ffbab50fa949be56a3e35665e80bc51d06adf
2016-04-11Handle conflicts from git merge release-20160315release-20160411SoonKyu Park49-184/+787
2016-04-08change testdata's gerrit server IP to review.tizen.orgrelease-20160315SoonKyu Park1-2/+2
Change-Id: Ie4a8ad352400f8196cb8bd544a506e5b8ae484b7
2016-03-221.Change to way to get test data dirctoryJun Wang2-3/+3
2.Fix the error of indent in tests/20_test_rpm.py 3.Change to vendor tag Change-Id: Ia9520a6c441fa9d34eff76c96a41764f3fb0ba76
2016-03-21Fix 20_test_rpm.py to suit different edition of python.Jun Wang1-92/+107
Change-Id: Ibe03d1614fafb5ceb01af634da90eda8d1426fbd
2016-03-18Modify unit test cases which called 'assert_raises' functionJun Wang7-0/+96
to fix pre-review test bugs on CentOS_6. Change-Id: Ibb930eb107c18526876fc58428db359f9d31e716
2016-03-09Use vendor to publish in srpm unpackJun Wang3-77/+84
Change-Id: I02f5d8cc11a268c7dd075da6e0064d3fedf72721
2016-03-09add compose_version_str functionJun Wang1-1/+30
Change-Id: Id1944627b2ec5cf450c978f77002c72d46206572
2016-03-09fix change log date errorJun Wang1-1/+1
Change-Id: Icc99e018aac3b06bb2d16049ca2849e6eab5eeed
2016-03-09change version to 0.6.28 in devel branchtizen/0.6.28-20160308Jun Wang3-3/+4
Change-Id: I51379cbfa73533f9c7737ad9ff16107e83129d83
2016-03-08add tag debian/0.6.27debian/0.6.28admin1-0/+3
Change-Id: I931ab6fa99ad1ee47fec90a8421e1185454da5ae Signed-off-by: admin <yuhuan.yang@samsung.com>
2016-03-08fix spec and control errorJun Wang2-7/+7
Change-Id: Ia455b5475e56ff2344cba8ac3d5c47da9e306c29
2016-03-08fix .gitignore fileJun Wang1-4/+4
Change-Id: I3ff293da5b50301425c327d044d8e7b3b4f81a80
2016-03-08Make new tag in develJun Wang2-0/+11
Change-Id: Idc6a43b5a475733ad8568d041384319157db9a5c
2016-03-08Check devel branch codes to be good from latest release tizen/0.6.27-20160302Jun Wang20-291/+206
Change-Id: I87f32c6b28b8835c09004530d7e6e429143dc4bf
2016-03-03Fix build errors in CentOS7Jun Wang1-9/+5
Change-Id: I4c690c005d23f4b184a0aa7ee3cf2306ad3cf3ad
2016-03-02change version files to match 0.6.27Jun Wang3-4/+4
Change-Id: I6dc3023b4bccffef4f0113229ae0eaf4ddcfc74f
2016-03-02upgrade to 0.6.27Jun Wang2-2/+2
Change-Id: I4b29f41472de96278396ed0692e82e214fa9085a
2016-03-02upgrade to 0.6.26Jun Wang2-0/+10
Change-Id: Id72b3231c078edd97ea5994b6ccd00ffb7d71162
2016-03-02change login user name to jenkinsJun Wang1-2/+2
Change-Id: I99cb7dd3fb8242dc1542a392dd365a851011d481
2016-03-02change to SRC-Nanjing Local server for tests resourceJun Wang1-2/+2
Change-Id: If618a5f54843f094c4444e4b9505e0de843e29e6
2016-03-02change to local sources for tests filesJun Wang1-2/+2
Change-Id: I8cf81926791323039b0b4150931aad3c658ed526
2016-02-29Fix errors logs when __import__ faild,like "No handlers could be found fo ↵Jun Wang2-2/+3
logger" Change-Id: I785e402e13879c6010780d3a453ea78956833fe1
2016-02-29fix gbp.log error in opensuseJun Wang1-2/+2
Change-Id: I1fc96948cbd8da9a6325b67ab511ae2c6a199c6e
2016-02-29Update the version to 0.6.26Jun Wang1-1/+1
Change-Id: Ia8f0e526da0ecc9d765614fe5b3daf37c08e9171
2016-02-29fix build problem on Debian_8Jun Wang1-0/+3
Change-Id: I145928ae1416f7847b4d8e6729c1daf07e2ab757
2015-07-21Upgrade version to 0.6.25-20150721release-test-0.1release-for-gbsV0.25SoonKyu Park4-4/+13
Change-Id: Ie60ce2da01b79fc584240f41dc8047ed79a3886d
2015-07-21Document changes and release 0.6.25SoonKyu Park1-0/+6
Change-Id: I03a3dc5bdb419ca3eaff6993989b260b5ef2e960
2015-03-03Tizen release 0.6.15-20150303release-for-gbsV0.23Markus Lehtonen3-1/+15
Change-Id: I631e30aff42fd5acd90b1b3d535a0e38f00aaa12 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2015-03-03Revert "buildpackage-rpm: always create tarball for native packages"Markus Lehtonen1-1/+1
Fixes: DEVT-215 This reverts commit efc490c4a8da5ce7a0bd1bf4a20009c3a445bb47. Change-Id: I2109f7ff48384a3b1190a73a3471bdc67f6d2427 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2015-03-03debian packaging: fix rpm build deps for Ubuntu 14.10Markus Lehtonen1-0/+2
Dependencies of python-rpm got broken in Ubuntu 14.10 at the update to rpm v4.11.2-3ubuntu0.1. This change is a work around for that. Change-Id: I76a912e6e68b83e8e0d667fa881c6f35450c8b2c Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2015-02-17log: don't crash getLogger if getting the root loggerMarkus Lehtonen1-1/+1
The root logger won't have the gbp-specific default_handlers attribute. Change-Id: I0b81fdfbe70fe16ce3fd226248b83a4f6a17fc7f Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2015-02-06Tizen release 0.6.22-20150206tizen/0.6.22-20150206Markus Lehtonen3-5/+107
Change-Id: I26238668518048f1684563398f6d097b8c7dbbff Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-12-19Introduce submit-bb toolMarkus Lehtonen2-0/+145
This is a Tizen-specific tool for creating and pushing special submit tags. Change-Id: Id014ce2aeced75f6506cd8559adcd787f958e6b4 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-12-19GitRepository.create_tag: add 'annotate' argumentMarkus Lehtonen1-2/+6
For forcing the creation of annotated tags. Causes the an editor to be spawned if no message is given. Change-Id: I8ec7e195cf7ae997606af1d887f04e84a14b2abc Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-12-19GitRepository.create_tag: use GitArgs classMarkus Lehtonen1-7/+7
Change-Id: I8ead4dda504152bde4c35ee0c03d6e3295820fd6 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-12-19Introcude clone-bb toolMarkus Lehtonen3-40/+215
This is a new tool for helping to clone remote per-package Git repositories when working in BitBake-based "full distro" build environment. This is useful in the case that individual packages are actually maintained in per-package Git repositories (like Tizen). That is, the full distro repository that the developer operates in is composed of the packaging meta data from the individual per-package repositories. When willing to contribute to a package the developer would use clone-bb to clone the correct per-package repository and make his changes there. NOTE: clone-bb uses GBP_PACKAGING_REPO variable to determine the remote repository URI. This variable should be defined in the package recipes in order to make clone-bb usable. Change-Id: I95fb3aa907dc78c55e042f16282a139d5ff3ce2a Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-12-19Introduce buildpackage-bb toolMarkus Lehtonen4-8/+553
Initial version of the tool for building BitBake packages from Git. NOTE: The buildpackage-bb tool itself is able to operate even without an initialized BitBake build environment although the build likely fails in this case. However, this makes it possible to export the packaging meta data, for example. Change-Id: I86204e477308da51f71fab76150ede4bd90e4d6e Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>