summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-07-22Fix some build errors on ubuntu 24.04HEADmasterdevelxuhy18-60/+73
sgml2x is not available on ubuntu 24.04. version is slower than that from ubuntu 24.04 mirrors. Change-Id: I209cf79a219d016c40e6ec71d80879572bb6ec97 Signed-off-by: xuhy <huayong.xu@samsung.com>
2024-03-01gbp/git/vfs.py:fix initial_value must be str or None, not bytesdebian/0.9.36wangbiao1-2/+4
Change-Id: I2855cfd6b6fb10b0bce863ddc3af57f83e158d89 Signed-off-by: wangbiao <biao716.wang@samsung.com>
2023-11-30Update version to 0.9.28xuhy3-2/+11
Change-Id: I75ef57dfb0dced976a173010760ff3bae955ef0d Signed-off-by: xuhy <huayong.xu@samsung.com>
2023-11-16Merge remote-tracking branch 'origin/sandbox/wangbiao/py3_version' into develdebian/0.9.28wangbiao1-11/+11
Change-Id: I490a052925258158e7be621cca78ee1eb31753d2 Signed-off-by: wangbiao <biao716.wang@samsung.com>
2023-11-01Update version to 0.9.27wangbiao3-3/+15
Change-Id: I326e562878292df7f3b607e01afec841b7e19513 Signed-off-by: wangbiao <biao716.wang@samsung.com>
2023-09-21Ignore encoding error when open spec filedebian/0.9.27biao716.wang1-2/+2
for example: capi_context.spec the encoding way is "EUC-KR" import chardet >>> chardet.detect(open('capi-context.spec', 'rb').read())['encoding'] 'EUC-KR' but default encoding is utf-8. Change-Id: Ib22e0b6101c6bada2945b11b6883790a975c7acb Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2023-09-14Fix gbs export errorŁukasz Stelmach1-3/+3
Decode second file paths for R and C statuses too Change-Id: I27dd3ef66039ae15229d38509a18dfe2ea025c81 Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
2023-09-07now librpm-tizen return string not bytes on 4.14 versionbiao716.wang1-11/+11
Change-Id: Ie8b2e8fee66f4acc16476ccd4779e1602666817d Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2023-08-29fix gbs export errorbiao716.wang1-3/+3
Change-Id: I8fb9b2654f2020bbf03e6e429f8bb395a7e345f8 Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2023-08-04fix build error on opensuse15.x distrobiao716.wang2-3/+4
Change-Id: I0fbfdcfdfa390d16a6a5bbf52978590b0987b126 Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2023-06-13fix build error during gbs funtion testbiao716.wang6-28/+35
https://github.com/agx/git-buildpackage/commit/1b5a47f4bda5d8809998750c3a35b4e02c8b2851 https://github.com/agx/git-buildpackage/commit/1b5a47f4bda5d8809998750c3a35b4e02c8b2851 modify patch file wrong encoding. https://github.com/agx/git-buildpackage/commit/c4bc6561c788f71b5131d0bd8e92478e83808200 pq: don't eagerly encode email headers https://github.com/agx/git-buildpackage/commit/9dc2129c4448416f43300ce859f1e1f4a1070048 pq: properly retry non-ascii charset on patch body encode https://github.com/agx/git-buildpackage/commit/04ae7d5654684d8077a4125c90e36f4195057fa9 git: Don't decode diff output https://github.com/agx/git-buildpackage/commit/c159d0ba16636bc3692b89555b258a3bc7907902 pq export: Write out patches as UTF-8 if necessary Change-Id: I6982c800361b8cc1ad4c16211fca450803e5eb02 Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2023-05-04fix run error: re.error: bad escape \S at position 7biao716.wang4-3/+4
Change-Id: I6f9e25806b43aa66a1c05cad0d54edbc656f733b Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2023-04-25fixing nosetest error on GBSbiao716.wang1-0/+2
Change-Id: Ib7e5e00dbd270211fedcc6399c738e6fd271d0ae Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2022-12-02fix run error for gbpbiao716.wang1-1/+1
Change-Id: If8a7cfbd61cea46af63612c76b2934774468130a Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2022-11-30fix next error in linkedlist.pybiao716.wang1-9/+12
Change-Id: I76f6ad919b415e4bff845ce1fef4182ba6fa9ab5 Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2022-11-30fix run error for re.sub(): KeyError: '\S'biao716.wang2-10/+10
It seems backslash handling changed in Python3.8: https://docs.python.org/3.8/library/re.html Change-Id: I43c9e9baa13598015fb9ef801bd435e78945c309 Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2022-11-28porting code to python3.x with os patchbiao716.wang44-341/+455
Change-Id: I3deda71d6bde7c3363800d79d2e9ae6998bdb9e7 Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2022-11-08fix collections import issue with python3biao716.wang2-3/+3
Change-Id: I97326835e1cfc7cbf2d026f42b37d4afa8c07501 Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2022-11-08replace rfc822 to dateutilbiao716.wang2-25/+7
Change-Id: I401cec4eb4057ff54b27ed25d9a32bd0e455cefe Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2022-11-04fix build error with opensuse distrobiao716.wang2-1/+4
Change-Id: I75d2fa2e6e63f8973f378ecc370cba1ac67e62d5 Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2022-11-04Update version to 0.9.26biao716.wang20-19/+27
Change-Id: Ia8544cf4844df1f9e1df7723ad7d6522a5a04ec1 Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2022-10-28port code from python2.x to python3.xbiao716.wang62-250/+257
Change-Id: I798c72d07e44839cc5d1e25ec75fca0bd8068567 Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2022-07-13update submodule urldebian/0.9.26sandbox/wangbiao/os_0_9_8_py3_versionbiao716.wang1-2/+2
Change-Id: I7ad4df7a289a0efcb7193284b7fb4bd6029ffe9e Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2021-05-14Update version to 0.9.21upstream/0.9.21submit/trunk/20210517.091730submit/trunk/20210514.153130submit/trunk/20210514.072551accepted/tools/devbase/tools/legacy/20240424.050706accepted/tools/devbase/tools/legacy/20240423.040725accepted/tools/devbase/tools/legacy/20240422.110847accepted/tizen/devbase/tools/20210517.061558accepted/tizen/devbase/tools/20210514.132050devel-py2accepted/tools_devbase_tools_legacyaccepted/tizen_devbase_toolsbiao716.wang3-2/+11
Change-Id: I33ec1d2038357d0d5777dc7ac2c0530547f43a43 Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2021-05-10Fix export submodule source code errordebian/0.9.21biao716.wang1-1/+1
Change-Id: Ief8adf0e70e02c403ab4117a81e65ac141cb76d0 Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2020-06-11Upgrades git-buildpackage version to 0.9.20 to adapt Ubuntu:20.04 releasesubmit/trunk/20201104.132730submit/trunk/20201102.094730submit/trunk/20201030.143530submit/trunk/20201030.104730submit/trunk/20201029.140230submit/trunk/20201029.132130submit/trunk/20201029.114030submit/trunk/20200622.151812submit/trunk/20200619.141212submit/trunk/20200617.133020submit/trunk/20200615.140020submit/trunk/20200612.191020submit/trunk/20200612.185510submit/trunk/20200612.182210submit/trunk/20200612.180310submit/trunk/20200612.131210accepted/tizen/devbase/tools/20201105.013048accepted/tizen/devbase/tools/20200623.003358accepted/tizen/devbase/tools/20200618.010540yan11.meng3-2/+11
Change-Id: I26dd1c7e317f6d45fae99fc782274b0453d39f11 Signed-off-by: yan11.meng <yan11.meng@samsung.com>
2020-05-08Fix build error with Ubuntu 20.04debian/0.9.20biao716.wang4-8/+20
For Ubuntu 20.04, there is no python-epydoc and pychecker, change pydoctor to replace epydoc, and about pychecker, there is pylint tools instead. So add gen_apidoc.sh file to distinguish which tool is avaiable. Change-Id: I484ab8f382d186e9293df3966bb4a7869b59d3a0 Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2019-12-12fix pylint error for Ubuntu 14.04, add gbp/version.py filesubmit/trunk/20200519.184310submit/trunk/20200519.164610submit/trunk/20200519.161030submit/trunk/20200513.162810submit/trunk/20200423.122334submit/trunk/20200423.115423submit/trunk/20200423.102810submit/trunk/20200422.165210submit/trunk/20200422.142510submit/trunk/20200422.115210submit/trunk/20200414.191000submit/trunk/20200414.173500submit/trunk/20200414.141500submit/trunk/20200413.151000submit/trunk/20200413.150500submit/trunk/20200413.150000submit/trunk/20200413.132320submit/trunk/20200410.160020submit/trunk/20200410.143020submit/trunk/20200409.202020submit/trunk/20200409.200220submit/trunk/20200409.194520submit/trunk/20200219.120523submit/trunk/20200115.110101submit/trunk/20200114.110000submit/trunk/20200114.100000submit/trunk/20200110.111659submit/trunk/20200109.154402submit/trunk/20200109.151502submit/trunk/20200109.124502submit/trunk/20200109.112402submit/trunk/20200109.105802submit/trunk/20200108.192702submit/trunk/20200108.172702submit/trunk/20200105.091946submit/trunk/20200104.134833submit/trunk/20200104.111033accepted/tizen/devbase/tools/20200520.012809accepted/tizen/devbase/tools/20200514.023607accepted/tizen/devbase/tools/20200423.100549accepted/tizen/devbase/tools/20200415.093457accepted/tizen/devbase/tools/20200219.094542accepted/tizen/devbase/tools/20200115.231434accepted/tizen/devbase/tools/20200114.115815accepted/tizen/devbase/tools/20200114.020233accepted/tizen/devbase/tools/20200110.011759accepted/tizen/devbase/tools/20200109.052803accepted/tizen/devbase/tools/20200106.014315accepted/tizen/devbase/tools/20200104.060141biao716.wang9-19/+4
Change-Id: I741176ae7adff77ad09bb07ab6b5352481500454 Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2019-11-14fix pylint error for git-buildpackagebiao716.wang14-41/+45
Change-Id: Ia319032dcd3f55600bb79b5c85372a7a77122174 Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2019-11-07Fix case not run because of submodule import errorsubmit/trunk/20200108.202702biao716.wang4-4/+5
Change-Id: I21b5a2c04b8427bad804ea97fbc0b2812dc1e032 Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2019-02-20keep same with master branch on review.tizen.orgsubmit/trunk/20191101.102136submit/trunk/20191030.112603submit/trunk/20191017.233826submit/trunk/20191017.111201submit/trunk/20191015.111805submit/trunk/20191015.094027submit/trunk/20191015.052726submit/trunk/20191015.001635submit/trunk/20191014.234733submit/trunk/20190927.012842submit/devel/20190730.074529accepted/tizen/devbase/tools/20190927.044935release-pylintrelease-20190215biao716.wang1-1/+1
Change-Id: Idf6a378cd3dd056013c07a3c5263a6b2bea07608 Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2019-02-18upgrade version to 0.9.9biao716.wang4-3/+12
Change-Id: I7a5fb263f02daf4810d801fd414409c752e88f68 Signed-off-by: jingui.ren <jingui.ren@samsung.com>
2017-07-08Change url of gitmodules to inside public gerritdebian/0.9.9sandbox/soong9/gitmodulesSoonKyu Park1-2/+3
Change-Id: Id9f39e2ea5c0a4f5b9e4a0f10e029f3ebdd434ba
2016-12-28Merge remote-tracking branch 'origin/release-20161231' into HEADdevel-test20161228SoonKyu Park5-17/+38
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-07-25Handle conflicts from git merge masterdevel_psk_20160727SoonKyu Park69-524/+607
Change-Id: I9dfa02fb546a04f97aade855615ad2843790a2c1
2016-06-16Handle conflicts from git merge release-20160531release-20160930release-20160615SoonKyu Park22-133/+2474
Change-Id: I1cae90068ab2576d756188e36e112550c7c293de
2016-06-11Upgrade version to 0.6.27SoonKyu Park5-6/+22
- Upgrade tizen-gbp-rpm version to 20160302 - re-arrage package dependency for debian Change-Id: I6d7d505d5a8ba28cb4bfa59a83ab9af657fa43f4
2016-06-11Revert "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>
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