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

11 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

11 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

11 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>
11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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>
11 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

11 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

11 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

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

Change-Id: I668c9a59fbd3fec6364439f0a92c90c531804a26

11 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

11 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

11 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

11 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

11 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>
11 years agoInitial empty repository
Jian-feng Ding [Thu, 21 Nov 2013 03:44:01 +0000 (05:44 +0200)]
Initial empty repository