[meego-commits] 14945: Changes to Trunk/kickstarter

Anas Nashif no_reply at build.meego.com
Thu Mar 17 14:40:18 UTC 2011


Hi,
I have made the following changes to kickstarter in project Trunk. Please review and accept ASAP.

Thank You,
Anas Nashif

[This message was auto-generated]

---

Request #14945:

  submit:   Trunk:Testing/kickstarter -> Trunk/kickstarter


Message:
    None

State:   new          2011-03-17T07:40:07 nashif
Comment: None



changes files:
--------------
--- kickstarter.changes
+++ kickstarter.changes
@@ -0,0 +1,4 @@
+* Thu Mar 17 2011 Anas Nashif <anas.nashif at intel.com> - 0.6
+- Use cron style syntax for schedule
+- Fixed path where files are stored on repo
+

old:
----
  kickstarter-0.5.tar.bz2

new:
----
  kickstarter-0.6.tar.bz2

spec files:
-----------
--- kickstarter.spec
+++ kickstarter.spec
@@ -8,7 +8,7 @@
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 Name:       kickstarter
 Summary:    Create kickstart files for meego images
-Version:    0.5
+Version:    0.6
 Release:    1
 Group:      System/Base
 License:    GPLv2

other changes:
--------------

++++++ kickstarter-0.5.tar.bz2 -> kickstarter-0.6.tar.bz2
--- VERSION
+++ VERSION
@@ -1 +1 @@
-0.5
+0.6
--- configurations.yaml
+++ configurations.yaml
@@ -218,11 +218,8 @@
         Architecture: ia32
         Desktop: DUI
         Session: "/usr/bin/mcompositor"
-        Daily: True
     -   Name: MeeGo Handset MTF
-        Daily: False
-        Schedule:
-            - Tuesday
+        Schedule: "* * * * 3"
         Active: True
         Baseline: "1.1.80"
         Platform: MFLD
--- tools/kickstarter
+++ tools/kickstarter
@@ -170,7 +170,7 @@
             c.text = "%s.ks" %img['FileName'] 
             s.append(c)
             cc = etree.Element('path')
-            cc.text = "configurations/%s.ks" %img['FileName'] 
+            cc.text = "image-configs/%s.ks" %img['FileName'] 
             s.append(cc)
             cc = etree.Element('description')
             cc.text = "%s" %img['Name'] 
@@ -180,11 +180,11 @@
             cc.text = ""
             s.append(cc)
 
-            cc = etree.Element('daily')
-            if img.has_key('Daily') and img['Daily']:
-                cc.text = 'yes'
-            else: 
-                cc.text = 'no'
+            cc = etree.Element('schedule')
+            if img.has_key('Schedule'):
+                cc.text = img['Schedule']
+            else:
+                cc.text = "* * * * *"
             s.append(cc)
             root.append(s)
             str = etree.tostring(root, pretty_print=True)

++++++ kickstarter.yaml
--- kickstarter.yaml
+++ kickstarter.yaml
@@ -1,6 +1,6 @@
 Name: kickstarter
 Summary: Create kickstart files for meego images
-Version: 0.5
+Version: 0.6
 Release: 1
 Group: System/Base
 License: GPLv2




More information about the MeeGo-commits mailing list