Do not update source of _link packages even if an SR is accepted. 65/122865/2
authorJunghyun Kim <jh0822.kim@samsung.com>
Tue, 4 Apr 2017 00:04:03 +0000 (09:04 +0900)
committerpark <sk7.park@samsung.com>
Tue, 4 Apr 2017 01:38:22 +0000 (18:38 -0700)
Not updating _aggregate packages is applied in the previous commit.
A request from Tizen release team is received that _link packages
should not be updated as well.

Change-Id: Ie3eb4a9206c896b2eddcf11489d35e2d42cba465
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
job_repa.py

index 0a35f60..aae6fe5 100644 (file)
@@ -60,12 +60,16 @@ repa_user = os.getenv("REPA_USER")
 
 #-------------------------------------------------------------------------------
 def is_aggregate_package(build, proj, pack):
-    if re.search("aggregate", pack):
-        if "_aggregate" in build.get_src_file_list(proj, pack):
-            return True
+    if "_aggregate" in build.get_src_file_list(proj, pack):
+        return True
 
     return False
 
+def is_link_package(build, proj, pack):
+    if "_link" in build.get_src_file_list(proj, pack):
+        return True
+
+    return False
 
 def check_permission(build, project, userid):
     meta_xml = build.get_meta(project)