Created Snapshot and Prerelease classes
authorEd Bartosh <eduard.bartosh@intel.com>
Mon, 14 Oct 2013 11:46:31 +0000 (14:46 +0300)
committerGerrit Code Review <gerrit2@otctools.jf.intel.com>
Tue, 15 Oct 2013 03:34:08 +0000 (20:34 -0700)
commit1cc09d42f636d3ed91a400986fda804a8aab57f6
treeebb267861de72fb563ff45d064695f15305318b2
parentc0b59e553f51ce1ffb1983e883b8f2970a570d45
Created Snapshot and Prerelease classes

Snapshot and Prerelease classes provide simple OO interface to Snapshot
and Prerelease metadata. Previously get_repo_data function was used, but
it was hard to read and snapshot and prerelease data was mixed there.
That complexity was the first reason to replace it with Snapshot and
Prerelease classes.

Another reason was snapshot increment. It would be quite hard to
implement it using functions. Object oriented approach makes it simpler
to implement and more readable.

Change-Id: I1f77e3de047cd6666df30a3f40040115a9554b1f
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
common/repoutils.py [deleted file]
common/snapshot.py [new file with mode: 0644]
job_create_snapshot.py
job_pre_release_obs.py
packaging/jenkins-scripts.spec