summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-04-08change testdata's gerrit server IP to review.tizen.orgrelease-20160315SoonKyu Park1-2/+2
Change-Id: Ie4a8ad352400f8196cb8bd544a506e5b8ae484b7
2013-02-25change gerrit server IP to HQ'sadmin@123.331-2/+2
2016-03-19fix test case in fun test_parse_srpmJun Wang1-0/+5
Change-Id: I71af697a54d2a03f34f9a341d39b1c18e3bb5bb0
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-07Remove unused functions and multiple definesJun Wang4-54/+0
Change-Id: I36c7b6d9c0b03b9d4659cc0b531bc371f77049e4
2016-03-07change PKGBUILD to new versionJun Wang1-2/+2
Change-Id: Ib0d8662ee02d4e62560aec54c64304faaf9ea5cc
2016-03-07change tag name to tizen/0.6.27-20160302tizen/0.6.27-20160302Jun Wang1-1/+1
Change-Id: I30395761b89947673da8b71d850f8e6e3ae3f6b0
2016-03-05Add tests/component/rpm/datadebian/0.6.27Jun Wang1-0/+0
Change-Id: Id44fcc89fd290ec821a981294a3f4b78d3a17fe6
2016-03-04change log to debian/0.6.27 tagJun Wang1-1/+1
Change-Id: I37c3fd08ba9286212aa333d79becbb67de97a35c
2016-03-04change the logJun Wang1-3/+0
Change-Id: Iddd56c43056a5c020c33ef73e9f4ccbdbf6d0f20
2016-03-04change version files to match 0.6.27Jun Wang3-3/+122
Change-Id: I6dc3023b4bccffef4f0113229ae0eaf4ddcfc74f
2016-02-04Fix errors logs when __import__ faild,like "No handlers could be found fo ↵Jun Wang2-2/+3
logger" Change-Id: I785e402e13879c6010780d3a453ea78956833fe1
2016-02-03fix gbp.log error in opensuseJun Wang1-2/+2
Change-Id: I1fc96948cbd8da9a6325b67ab511ae2c6a199c6e
2016-02-02Update the version to 0.6.26debian/0.6.26Jun Wang1-1/+1
Change-Id: Ia8f0e526da0ecc9d765614fe5b3daf37c08e9171
2016-02-01fix errors in pq_rpm.pyJun Wang1-35/+1
Change-Id: Ie8acc86904b75387bf3fbe203ba3b62eeec74c5b
2016-01-29UpstreamSource: suppress stderr from tar in _determine_prefix()Markus Lehtonen1-1/+1
Change-Id: I3a0e51de2114e2aa9f9a12c41a9ed4c242fa2127 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2016-01-29rpm: suppress stderr when unpacking src.rpmMarkus Lehtonen1-1/+1
Change-Id: I055e94f905048141268ceb9172b4e10fcb5cdc58 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2016-01-29buildpackage-rpm: look for remote upstream branchesMarkus Lehtonen2-2/+18
Consider remote branches, too, while looking for the upstream branch when trying to guess if a package is native or not. Change-Id: I3dbbb49816d1d294d81209ea5ab5870e053fd66a Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2016-01-29fix build problem on Debian_8Jun Wang1-0/+1
Change-Id: I145928ae1416f7847b4d8e6729c1daf07e2ab757
2016-01-29backup docsJun Wang7-114/+8
Change-Id: I8fd630aa2a260d6516cc5fa4d82edde45e419c6a
2016-01-29fix bugsJun Wang2-19/+1
Change-Id: I406d49bdbfb8b978b62a6bb1fb770df37043f81c
2016-01-28fix import errorJun Wang1-1/+1
Change-Id: I97a7737cf643f20b6e7b30b77c6d6987fe0b7235
2016-01-28fix merge errorsJun Wang6-204/+16
Change-Id: I4419bb8322f341f92db7e9e19f60ffaa93af2171
2016-01-28deleted: tests/component/rpm/data/.gitignoreJun Wang1-0/+0
Change-Id: Ib0b50f55c146e8a2f365dc10d3af51fd66f2e5a5
2016-01-28Change .gitmodules address url to local gerritJun Wang1-2/+2
Change-Id: Ic27e2b5cd4ba3aacb651568e4b351666f16af176
2016-01-28Change .gitmodules address to local gerritJun Wang1-2/+2
Change-Id: I87aad5e51e209dcd6bbe03b25be558600453b34d
2016-01-28Add tests/component/rpm/data/Jun Wang1-0/+0
Change-Id: I83de13c6695a7a7c6d14500fc5c608d621f7bb21
2016-01-28Fix some errors of mergingJun Wang6-18/+7
Change-Id: I4441fb369aa88598f238c41710edeba01cd537b6
2016-01-28log: 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>
2016-01-28GitRepository.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>
2016-01-28GitRepository.create_tag: use GitArgs classMarkus Lehtonen1-7/+7
Change-Id: I8ead4dda504152bde4c35ee0c03d6e3295820fd6 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2016-01-28log: don't initialize handlers in GbpLogger initMarkus Lehtonen1-11/+19
Better compatibility with 3rd party modules that have their own logging initializations. Change-Id: Ic91ab54c70537061c3e76dd6317ceeec888fab36 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2016-01-28rpm packaging: include python egg-info in -commonMarkus Lehtonen1-1/+1
We need this for the Python pkg_resources. Change-Id: I74c7d466040279b8f34ec357b6947fa2f7c29a15 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2016-01-28patchseries: strip numbering when guessing subject from filenameMarkus Lehtonen1-1/+7
Change-Id: I58c4f8871411dae15d0e0e4246f0eebe65e3967d Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2016-01-28log: don't propagate to ancestor loggersMarkus Lehtonen1-0/+2
Change-Id: I6548dcfe5ba2f779b9d9244ad1eb88fa92c2180e Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2016-01-28rpm packaging: enable CentOS 7Markus Lehtonen1-4/+8
Fix dependencies and enable git-buildpackage(-deb) subpackage for CentOS 7. Also fixes one excess dependency for Fedora: no need for dpkg-devel, dpkg-dev is enough. Change-Id: I2c3929ae623c9694aa9afcb8a4e3155696179f05 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2016-01-28GitRepository/__git_inout: correctly handle input errorMarkus Lehtonen1-1/+6
Change-Id: I3c9b8851490c05719f77a9519418a98f572d68e3 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2016-01-28pq-rpm: better error messageMarkus Lehtonen1-1/+1
Change-Id: Iaadc614e9ed5df2e943eed71511559d0b76e0227 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2016-01-28buildpackage-rpm: always create tarball for native packagesMarkus Lehtonen1-1/+1
If the package is native, always (re-)create the source tarball, even if --git-no-create-orig is used. Not creating the tarball does not make much sense (and most probably just causes problems and confusion): for native packages there is no place for external tarball and no patches so we need to always have the correct sources (i.e. the exported revision) in the tarball. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2016-01-27buildpackage-rpm: listen to --no-create-orig option for native packages, tooMarkus Lehtonen1-1/+1
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2016-01-27debian packaging: HACK: disable test in Debian buildsMarkus Lehtonen0-0/+0
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Conflicts: debian/control
2016-01-27TODO: add rpm todoMarkus Lehtonen0-0/+0
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2016-01-27buildpackage-rpm: support special tree-ish names in --git-upstream-treeMarkus Lehtonen1-22/+0
Support special 'WC*' and 'INDEX' values for the --git-upstream-tree option. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Conflicts: gbp/scripts/buildpackage_rpm.py
2016-01-27rpm: support squashing commits in patch generationMarkus Lehtonen1-1/+21
Implements an option for git-buildpackage-rpm and gbp-pq to squash commits (from upstream) up to certain tree-ish into one monolithic diff. Useful e.g. if you wan't to auto-generate a stable update patch. The new format of the cmdline option filename is commit-ish followed by (optionally) a colon and the desired diff filename base. Suffix '.diff' is added by GBP. Magic word 'HEAD' translates to the end-commit when given as the squash-point. This allows one to configure gbp to always squash all commits into one monolithic diff. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Conflicts: gbp/config.py gbp/scripts/pq_rpm.py
2016-01-27pq-rpm: support importing compressed patchesMarkus Lehtonen1-58/+0
Adds support for importing compressed patches. NOTE: Only gzip is supported, for the time being, other compression methods shouldn't be to hard to add, if needed. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Conflicts: gbp/scripts/pq_rpm.py
2016-01-27buildpackage-rpm: add more tagging optionsMarkus Lehtonen1-0/+13
Add new possible keywords to be used in packaging-tag format string: 'nowtime', 'authortime', 'committime', 'nowtimenum', 'authortimenum' and 'committimenum'. The '*timenum' keyword denote the corresponding '*time' keyword appended with an additional incremental serial number. E.g. if 'nowtime' would produce '20120531', 'nowtimenum' would (the first time) produce '20120531.1'. What is completely missing is a way to support these new tag keywords in git-import-srpm tool. So, if you use these tags, git-import-srpm is not able to reproduce the tags, (and, it is not necessarily able to correctly tell if you've already imported a certain version of the package). Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Conflicts: gbp/scripts/buildpackage_rpm.py
2016-01-27rpm: add version parsing functions to pkg policyMarkus Lehtonen3-4/+68
Adds functions for version string generation and parsing. These are intended for parsing version strings taken e.g. from rpm filename or changelogs. Also, take these new version parsing functions into use in the rpm gbp scripts. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com> Conflicts: gbp/rpm/policy.py gbp/scripts/buildpackage_rpm.py gbp/scripts/import_orig_rpm.py gbp/scripts/pq_rpm.py
2016-01-27buildpackage-rpm: add option --git-ignore-untrackedMarkus Lehtonen0-0/+0
Adds a new commandline option to ignore untracked files, when running git-buildpackage-rpm. When this option is given, the git-buildpackage-rpm command fails if there are changes to tracked files, but, succeeds if there are untracked files present. Normally it fails in either case. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Conflicts: gbp/config.py
2016-01-27debian packaging: relax requirements on devscriptsMarkus Lehtonen0-0/+0
No need to depend on the latest version. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2016-01-27README: mention RPM supportMarkus Lehtonen0-0/+0
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>