services/python-snapdiff.git
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 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