services/python-snapdiff.git
7 months agoremove dependency for python 86/308486/6 devel master
wangbiao [Tue, 26 Mar 2024 09:02:01 +0000 (18:02 +0900)]
remove dependency for python
if installing python, it will install python-is-python2, it will set python2 as default python interpeter.
Change-Id: I650fdf7a0c08cb7ce8c252aedcb3c0a2e9417722
Signed-off-by: wangbiao <biao716.wang@samsung.com>
2 years agoRelease 0.1.3 60/277960/1 accepted/tizen_devbase_services accepted/tizen/devbase/services/20220715.093704 submit/trunk/20220715.092728
sk7.park [Fri, 15 Jul 2022 09:18:28 +0000 (18:18 +0900)]
Release 0.1.3

Change-Id: Ifcf6c47fe021b74fb592a6356c97ad01863d933f

2 years ago1. Add diff type - commits 54/277354/1
sk7.park [Tue, 5 Jul 2022 10:45:28 +0000 (19:45 +0900)]
1. Add diff type - commits
2. Fix variable error in image diff

Change-Id: I91975f5a69f081302404b7411a7a1abae2e540a6

4 years agoremove build dependence with python-support 97/245497/2 accepted/tizen_devbase_tools accepted/tizen/devbase/services/20201102.013913 accepted/tizen/devbase/services/20201106.081442 accepted/tizen/devbase/tools/20201102.013922 accepted/tizen/devbase/tools/20201106.081440 accepted/tools/devbase/tools/legacy/20240422.110921 accepted/tools/devbase/tools/legacy/20240423.040752 accepted/tools/devbase/tools/legacy/20240424.050732 submit/trunk/20201029.114030 submit/trunk/20201029.132130 submit/trunk/20201029.140230 submit/trunk/20201030.143530 submit/trunk/20201030.151030 submit/trunk/20201105.154530 submit/trunk/20201105.160530 submit/trunk/20201106.105030
biao716.wang [Sat, 10 Oct 2020 07:21:17 +0000 (16:21 +0900)]
remove build dependence with python-support

Change-Id: Ib2de75e0ef119c31e11f6b575e63254186a44f75
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
4 years agoRelease 0.1.2 71/236671/1 accepted/tizen/devbase/services/20200623.003328 accepted/tizen/devbase/tools/20200623.003339 submit/trunk/20200622.151812
yan11.meng [Fri, 19 Jun 2020 17:49:58 +0000 (01:49 +0800)]
Release 0.1.2

Change-Id: I1c476427a1508819bf306724694347f1dbb4188c

4 years agouse dh_python2 instead dh_pysupport for xUbuntu_19.10 93/227293/2 accepted/tizen/devbase/services/20200423.100529 accepted/tizen/devbase/services/20200514.023543 accepted/tizen/devbase/services/20200520.012751 accepted/tizen/devbase/services/20200619.010853 accepted/tizen/devbase/tools/20200423.100616 accepted/tizen/devbase/tools/20200514.023638 accepted/tizen/devbase/tools/20200520.012830 submit/trunk/20200422.115210 submit/trunk/20200422.142510 submit/trunk/20200422.165210 submit/trunk/20200423.102810 submit/trunk/20200423.111223 submit/trunk/20200423.115423 submit/trunk/20200423.122334 submit/trunk/20200513.162810 submit/trunk/20200519.161030 submit/trunk/20200519.164610 submit/trunk/20200519.184310 submit/trunk/20200612.131210 submit/trunk/20200612.155520 submit/trunk/20200618.153020 submit/trunk/20200618.172010 submit/trunk/20200618.182010 submit/trunk/20200619.102030 submit/trunk/20200619.134012
yan11.meng [Wed, 11 Mar 2020 05:42:43 +0000 (14:42 +0900)]
use dh_python2 instead dh_pysupport for xUbuntu_19.10

Change-Id: I446b64307014b91e1b6e09180887f081b8e2cff7
Signed-off-by: yan11.meng <yan11.meng@samsung.com>
4 years agoFix pylint error for python-snapdiff 54/219854/4 accepted/tizen/devbase/services/20191223.073040 accepted/tizen/devbase/services/20191224.111729 accepted/tizen/devbase/services/20200104.053712 accepted/tizen/devbase/services/20200106.013917 accepted/tizen/devbase/services/20200106.014022 accepted/tizen/devbase/services/20200106.014117 accepted/tizen/devbase/services/20200106.014232 accepted/tizen/devbase/services/20200109.052718 accepted/tizen/devbase/services/20200110.011152 accepted/tizen/devbase/services/20200114.020106 accepted/tizen/devbase/services/20200114.115737 accepted/tizen/devbase/services/20200115.231342 accepted/tizen/devbase/services/20200214.062244 accepted/tizen/devbase/services/20200219.094505 accepted/tizen/devbase/services/20200413.092131 accepted/tizen/devbase/services/20200415.082904 accepted/tizen/devbase/tools/20191223.073049 accepted/tizen/devbase/tools/20191224.111733 accepted/tizen/devbase/tools/20200104.053731 accepted/tizen/devbase/tools/20200106.014251 accepted/tizen/devbase/tools/20200106.014343 accepted/tizen/devbase/tools/20200106.014355 accepted/tizen/devbase/tools/20200106.014409 accepted/tizen/devbase/tools/20200109.052737 accepted/tizen/devbase/tools/20200110.011823 accepted/tizen/devbase/tools/20200114.020223 accepted/tizen/devbase/tools/20200114.115752 accepted/tizen/devbase/tools/20200115.231441 accepted/tizen/devbase/tools/20200214.062301 accepted/tizen/devbase/tools/20200219.094519 accepted/tizen/devbase/tools/20200415.093515 submit/trunk/20191223.191128 submit/trunk/20191224.191128 submit/trunk/20191224.202227 submit/trunk/20200104.111333 submit/trunk/20200104.134833 submit/trunk/20200104.154833 submit/trunk/20200104.164833 submit/trunk/20200104.173833 submit/trunk/20200105.091625 submit/trunk/20200106.106033 submit/trunk/20200106.163533 submit/trunk/20200107.112802 submit/trunk/20200107.154002 submit/trunk/20200107.162402 submit/trunk/20200107.170902 submit/trunk/20200107.182504 submit/trunk/20200107.190735 submit/trunk/20200108.132602 submit/trunk/20200108.135302 submit/trunk/20200108.144602 submit/trunk/20200108.152202 submit/trunk/20200108.154002 submit/trunk/20200108.163702 submit/trunk/20200108.170402 submit/trunk/20200108.172202 submit/trunk/20200108.172702 submit/trunk/20200109.105802 submit/trunk/20200109.112402 submit/trunk/20200109.124502 submit/trunk/20200109.151502 submit/trunk/20200109.154402 submit/trunk/20200110.105123 submit/trunk/20200110.110702 submit/trunk/20200110.111659 submit/trunk/20200114.100000 submit/trunk/20200114.110000 submit/trunk/20200115.110101 submit/trunk/20200213.184721 submit/trunk/20200213.191021 submit/trunk/20200214.114520 submit/trunk/20200219.120523 submit/trunk/20200409.194520 submit/trunk/20200409.200220 submit/trunk/20200409.202020 submit/trunk/20200410.143020 submit/trunk/20200410.160020 submit/trunk/20200413.132320 submit/trunk/20200413.150000 submit/trunk/20200413.151000 submit/trunk/20200414.141500 submit/trunk/20200414.191000
yan11.meng [Wed, 11 Dec 2019 03:15:56 +0000 (11:15 +0800)]
Fix pylint error for python-snapdiff

Change-Id: I2e2c2f6254f8a5cf7997a356c7ad39e0312b1f23
Signed-off-by: yan11.meng <yan11.meng@samsung.com>
6 years agoSnapdiff - Use public git cache if local is not exists 77/175977/1 release-20180511 release-pylint accepted/tizen/devbase/services/20190930.043343 accepted/tizen/devbase/tools/20190927.045019 accepted/tizen/devbase/tools/20190930.094924 submit/devel/20190730.075508 submit/trunk/20190927.012743 submit/trunk/20190927.012842 submit/trunk/20190930.011717 submit/trunk/20190930.015214 submit/trunk/20191021.051025 submit/trunk/20191021.061922 submit/trunk/20191021.083710
hyokeun [Mon, 16 Apr 2018 04:58:21 +0000 (13:58 +0900)]
Snapdiff - Use public git cache if local is not exists

Change-Id: I204465c3786643a51a561bcc3f1b3731f8704d19

6 years agoParsing commit log properly 64/175464/1
hyokeun [Tue, 10 Apr 2018 10:55:39 +0000 (19:55 +0900)]
Parsing commit log properly

Change-Id: If8ecee4e648f6e2b75d41d038200bae065f72866

6 years agoTPE-508 Support application/xml MIME type 90/165190/2 release-20180330
hyokeun [Wed, 27 Dec 2017 04:27:50 +0000 (13:27 +0900)]
TPE-508 Support application/xml MIME type

Change-Id: I666a34b6941bcf312f9231e6f1915bbaeacf889d

7 years agoMerge "change delimiter." into devel release-20170922
Junghyun Kim [Mon, 10 Jul 2017 06:26:25 +0000 (06:26 +0000)]
Merge "change delimiter." into devel

7 years agochange delimiter. 30/137830/1
Junghyun Kim [Mon, 10 Jul 2017 03:25:30 +0000 (12:25 +0900)]
change delimiter.

PROBLEM:
I used '|||' and '||||' as delimiters, but they are found in the
commit log.

SOLUTION:
Use more sophisticated delimiters.

Change-Id: I6139350b26bb93b35856210b032e101fd03c77fc
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
7 years agoRelease 0.1.1 release-20170522
SoonKyu Park [Mon, 22 May 2017 05:03:06 +0000 (14:03 +0900)]
Release 0.1.1

Change-Id: I0365c38d410c5d1ef338b24536577523f0f69fe1

7 years agoprint log for commit diffs and support csv format 93/125793/3
Junghyun Kim [Wed, 19 Apr 2017 01:45:03 +0000 (10:45 +0900)]
print log for commit diffs and support csv format

Two features
1) print commit log between previous and current versions
2) provide a csv-format file

Change-Id: Ia8bf681196e1c1cecd4eae87f56b3c3d71ba34e2
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
7 years ago add debian package release-20161231 release-20170206
shuai.fu [Sat, 22 Oct 2016 08:33:17 +0000 (16:33 +0800)]
  add debian package

Change-Id: I8e0897157f1622e50b1b2f8986adc12032119a1c
Signed-off-by: shuai.fu <shuai01.fu@samsung.com>
10 years agoBreak when already find match package pair release-0.1
Lin Yang [Fri, 18 Apr 2014 02:20:59 +0000 (10:20 +0800)]
Break when already find match package pair

The match package pair will be removed from the list, should quit to top level
to process next package.

Change-Id: I3d11cd8202a9b1ae9f5f03dc19afa273051de87d
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
10 years agoTypo fix
Lingchao Xin [Fri, 24 Jan 2014 06:00:46 +0000 (14:00 +0800)]
Typo fix

Change-Id: I679fd74db8b30e8cb4758bb0cd35c95d8e9b1f2c

10 years agoAdd PyYAML dependence
Lingchao Xin [Fri, 24 Jan 2014 03:04:02 +0000 (11:04 +0800)]
Add PyYAML dependence

Change-Id: I79996992cde2db1d9a3fed83ceb50dd45de3cc89

10 years agoAdd data_files in setup.py to install from source correctly
Lingchao Xin [Thu, 23 Jan 2014 09:35:41 +0000 (17:35 +0800)]
Add data_files in setup.py to install from source correctly

Change-Id: Id4f729db1e9034772e8010f968387557262b0205

10 years agoAdd links on repo and image diff page
Shan Jin [Thu, 23 Jan 2014 03:52:56 +0000 (11:52 +0800)]
Add links on repo and image diff page

- make link from "gitpath" to gitweb server.
- make link from "commitId" to gitweb server.
- add profile.yaml to config mapping between download server and gitweb
server.

Change-Id: Ia44c508786369a263b512259f8f6bd983cf78013

10 years agoFix rpm package version parsing in images
Lingchao Xin [Thu, 23 Jan 2014 08:52:18 +0000 (16:52 +0800)]
Fix rpm package version parsing in images

Change-Id: I9b4ea79b90486bcdebb46ceca29a4f7f77c42f9c

10 years agoMake method interface flexible
Lingchao Xin [Tue, 21 Jan 2014 08:25:32 +0000 (16:25 +0800)]
Make method interface flexible

Change-Id: Ic5aa5bbf3536fc1df7e9a796d35ee6c8432199f9

10 years agoPylint the world
Lingchao Xin [Mon, 20 Jan 2014 04:09:46 +0000 (12:09 +0800)]
Pylint the world

Change-Id: I8dd986e2f72c5ec308bcd4e67cc9292bae1f71c1

10 years agosplit version and commitId columns to old part and new part
Shan Jin [Thu, 16 Jan 2014 07:40:19 +0000 (15:40 +0800)]
split version and commitId columns to old part and new part

update two templates of snap diff.

Change-Id: I110bfe09c6d89fcd4b2c8c3b0e9afc5ce1698362

10 years agoAllow named a new name to diff html
Lingchao Xin [Fri, 3 Jan 2014 03:24:01 +0000 (11:24 +0800)]
Allow named a new name to diff html

Now you can give a new name to your local diff html, default
is diff.html.

Change-Id: I479de7c701fa564828c98e925a6ddffb72af4aea

10 years agoFix argparse mutually exclusive group members
Lingchao Xin [Thu, 2 Jan 2014 07:07:45 +0000 (15:07 +0800)]
Fix argparse mutually exclusive group members

Change-Id: Id404ff577d1c09ed0f475ecd1d17342b0407f482

10 years agoadd image ks file diff feature
Shan Jin [Tue, 24 Dec 2013 05:28:34 +0000 (13:28 +0800)]
add image ks file diff feature

- add few methods to parse the diff info in image.py.
- add new template to show the ks diff.

Change-Id: I7d8b71a63a09088f4a8e756b4a8791b4e6088ac9
Fixes: #1567

10 years agoAdd diff_to_dist into snap-diff tool
Lingchao Xin [Wed, 18 Dec 2013 03:33:28 +0000 (11:33 +0800)]
Add diff_to_dist into snap-diff tool

Change-Id: I50da5e4e72fa343ea623274f1fe68ae343888187

10 years agoSplit vcs into git_path and commit_id
Lingchao Xin [Wed, 18 Dec 2013 02:53:42 +0000 (10:53 +0800)]
Split vcs into git_path and commit_id

Now vcs will hide, we provide git_path and commit_id instead.

And a little more, I reformat json dict structure, more beautiful than
before even though it can not satisfy me, maybe a new way should be
found to take a more pythonic writing.

Change-Id: Id6c065bf99519879f6c796eb23440e50c286b0f5

10 years agoKeep a consistent import style
Lingchao Xin [Tue, 17 Dec 2013 09:11:12 +0000 (17:11 +0800)]
Keep a consistent import style

Change-Id: Id3380abbe538abc8736933de78d7dd2808e2ea31

10 years agoFix no package data included in rpm packaging
Lingchao Xin [Tue, 17 Dec 2013 08:06:34 +0000 (16:06 +0800)]
Fix no package data included in rpm packaging

If no python-setuptools dependence, `python setup install` will use
Distutils.

MANIFEST.in tells Distutils what files to include in
the source distribution but it does not directly affect what files
are installed.

We can continue using Distutils, and give parameter pakckage_data={}
in setup method in setup.py; or we use python-setuptools and
include_package_data=True parameter in it, we choose the latter since
it is more flexible.

Change-Id: I6dfb12cf7d0cf78a2fb0213a9812e4a33ce02b84

10 years agoFix typo of using removed list
Lin Yang [Mon, 16 Dec 2013 09:57:04 +0000 (17:57 +0800)]
Fix typo of using removed list

Change-Id: Ic0738d900c85d011228b4a23e9a99951386da06d
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
10 years agoTune how to get ks or packages with a consistent format
Lingchao Xin [Tue, 17 Dec 2013 03:13:58 +0000 (11:13 +0800)]
Tune how to get ks or packages with a consistent format

Now all files piled in MD5SUMS are in same format:
2122cfefa3a73e073f73a0662adcc2bb *tizen_20131217.2_ivi-min-efi-i586-sdb.raw.bz2

And all of them have same names in file list as in MD5SUMS.

Change-Id: I6780d1a47a62f3b57a4fcf14877be8c615d6786a

10 years agointerface to create a dist dir for snap-diff
Shan Jin [Wed, 4 Dec 2013 08:58:31 +0000 (16:58 +0800)]
interface to create a dist dir for snap-diff

1. update html template to insert json data to html.
2. add css and more static file to git tree.
3. add a function in repo.py to provide a interface.

Fixes: #1510
Change-Id: Idca060db88616e338f69667364fdb5a39137f422

10 years agoRemove python-beautifulsoup4 dependence
Lingchao Xin [Wed, 11 Dec 2013 04:10:52 +0000 (12:10 +0800)]
Remove python-beautifulsoup4 dependence

Change-Id: Iaabbd330859338d0370a92a87cc772cb1d46f776

10 years agoSort imports with isort
Lingchao Xin [Tue, 10 Dec 2013 07:08:10 +0000 (15:08 +0800)]
Sort imports with isort

Change-Id: I380d46f5116ad63f8a3c6cd3304dbdc502030d14

10 years agoIntegrate repo and image packages' datas into same format
Lingchao Xin [Wed, 11 Dec 2013 02:11:17 +0000 (10:11 +0800)]
Integrate repo and image packages' datas into same format

Change-Id: Ib08c4b1910474529d914b8d70fb057e3cdde3464

10 years agoAdd spec BuildRequires and Requires
Lingchao Xin [Wed, 11 Dec 2013 02:26:06 +0000 (10:26 +0800)]
Add spec BuildRequires and Requires

Change-Id: Iec0fa69b7a2d08bedb13651065e094f39e863481

10 years agoIntegrate repo and image diff
Lingchao Xin [Fri, 6 Dec 2013 08:56:15 +0000 (16:56 +0800)]
Integrate repo and image diff

From now, you can invoke unified API to diff repo and image.

Fixes: #1523

Change-Id: I1324d23f012873fb3bb9cbdc1c4c135877affd4b

10 years agoGenerate packages information from .packages
Lingchao Xin [Fri, 6 Dec 2013 07:41:06 +0000 (15:41 +0800)]
Generate packages information from .packages

Fixes: #1520

Change-Id: I29f5d1a87bef42e96cb2ecb806b97386427b420a

10 years agoTune modified and rebuilded packages statistics
Lingchao Xin [Thu, 5 Dec 2013 05:09:02 +0000 (13:09 +0800)]
Tune modified and rebuilded packages statistics

Fixes: #1522

Change-Id: I54560b02a3d55ba305c03e8db271cf7db357c954

10 years agoReform _get_ks into a general method(_get_file)
Lingchao Xin [Wed, 4 Dec 2013 07:00:55 +0000 (15:00 +0800)]
Reform _get_ks into a general method(_get_file)

Now _get_file can handle mutiple suffixes' files

Fixes: #1521

Change-Id: Ifeccfe219fe1b0f3bfd4e3a2c86ca3bbd1834cad

10 years agoFix typo when use package version
Lin Yang [Thu, 5 Dec 2013 08:17:07 +0000 (16:17 +0800)]
Fix typo when use package version

Change-Id: I662dfe23afd1d507971ca697673de398c29a038c
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
10 years agoAdd ks_diff of image diff
Lingchao Xin [Mon, 2 Dec 2013 10:30:00 +0000 (18:30 +0800)]
Add ks_diff of image diff

Support both remote and local path diff

Change-Id: I5c93663b0340b373e03e35ce83da067e03b152be

10 years agoTweak snapdiff API, we can use it as a module
Lingchao Xin [Fri, 29 Nov 2013 09:53:38 +0000 (17:53 +0800)]
Tweak snapdiff API, we can use it as a module

Change-Id: Ic392844988249a3a74c7b05be7025513469b2a95

10 years agoAdd local path support
Lingchao Xin [Fri, 29 Nov 2013 09:19:58 +0000 (17:19 +0800)]
Add local path support

Now snapdiff supports a local repo parsing

Change-Id: Ifde1bdc28f8c0ea6d30fc0a75ec4843ffbf6b66f

10 years agoAdd testcases
Lingchao Xin [Fri, 29 Nov 2013 03:16:11 +0000 (11:16 +0800)]
Add testcases

Change-Id: I668c9a59fbd3fec6364439f0a92c90c531804a26

10 years agoDepend requests module, do NOT use temp file again
Lingchao Xin [Thu, 28 Nov 2013 10:04:00 +0000 (18:04 +0800)]
Depend requests module, do NOT use temp file again

Change-Id: Ibfd54595c0e337a37001e976524d646c5785de09

10 years agoAll xml parsing use xml2obj
Lingchao Xin [Thu, 28 Nov 2013 08:51:29 +0000 (16:51 +0800)]
All xml parsing use xml2obj

Change-Id: Id807e67ed6a2a689d7bc2bd24cbee393bdca8e92

10 years agoRename package name to snapdiff
Lingchao Xin [Thu, 28 Nov 2013 08:04:07 +0000 (16:04 +0800)]
Rename package name to snapdiff

Change-Id: I7edbeed41482b37d968c583ec04a712fecf0df6c

10 years agoRename repodiff to repo-diff, since it conflicts with yum-utils
Lingchao Xin [Thu, 28 Nov 2013 08:03:22 +0000 (16:03 +0800)]
Rename repodiff to repo-diff, since it conflicts with yum-utils

Change-Id: I29cd482eb49d07f5f807a64d5ed3888d173a878a

10 years agoInitial version
Lin Yang [Thu, 21 Nov 2013 05:34:21 +0000 (13:34 +0800)]
Initial version

Change-Id: I67703258907f356768442cc75b7e11b97797f52f
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
10 years agoInitial empty repository
Jian-feng Ding [Thu, 21 Nov 2013 03:44:01 +0000 (05:44 +0200)]
Initial empty repository