Hello community,

here is the log from the commit of package obs-service-kiwi_metainfo_helper for 
openSUSE:Factory checked in at 2020-09-01 20:05:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/obs-service-kiwi_metainfo_helper (Old)
 and      /work/SRC/openSUSE:Factory/.obs-service-kiwi_metainfo_helper.new.3399 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "obs-service-kiwi_metainfo_helper"

Tue Sep  1 20:05:51 2020 rev:5 rq:829911 version:0.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/obs-service-kiwi_metainfo_helper/obs-service-kiwi_metainfo_helper.changes
        2020-07-15 11:11:58.688819180 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-kiwi_metainfo_helper.new.3399/obs-service-kiwi_metainfo_helper.changes
      2020-09-01 20:06:53.316578952 +0200
@@ -1,0 +2,11 @@
+Thu Aug 27 07:12:48 UTC 2020 - Fabian Vogt <[email protected]>
+
+- Fix grammar, update README and .service. Technically the name
+  should be changed as well, but that's just cosmetic.
+
+-------------------------------------------------------------------
+Tue Aug 25 11:10:50 UTC 2020 - Stefan Nica <[email protected]>
+
+- Also allow working on Chart.yaml
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ obs-service-kiwi_metainfo_helper.spec ++++++
--- /var/tmp/diff_new_pack.5g0ImX/_old  2020-09-01 20:06:54.540579525 +0200
+++ /var/tmp/diff_new_pack.5g0ImX/_new  2020-09-01 20:06:54.544579527 +0200
@@ -19,7 +19,7 @@
 Name:           obs-service-kiwi_metainfo_helper
 Version:        0.0
 Release:        0
-Summary:        Service for substituting various variables in kiwi recipes
+Summary:        Service for substituting various variables in build recipes
 License:        GPL-2.0-or-later
 Group:          Development/Tools/Building
 URL:            https://build.opensuse.org
@@ -37,7 +37,7 @@
 
 %description
 This service can be used during buildtime to gain access to various variables
-in kiwi recipes.
+in build recipes.
 
 %prep
 %setup -q -D -T -n .

++++++ README ++++++
--- /var/tmp/diff_new_pack.5g0ImX/_old  2020-09-01 20:06:54.576579542 +0200
+++ /var/tmp/diff_new_pack.5g0ImX/_new  2020-09-01 20:06:54.576579542 +0200
@@ -2,7 +2,8 @@
 ================================
 
 This service can be enabled to run during buildtime, when it will edit the
-kiwi image description to replace placeholders with build-specific metainfo.
+build recipe (.kiwi, Dockerfile, Chart.yaml) to replace placeholders with
+build-specific metainfo.
 
 | Placeholder        | Value                                      | Example    
                                                                                
   |
 
|--------------------|--------------------------------------------|-----------------------------------------------------------------------------------------------|

++++++ kiwi_metainfo_helper ++++++
--- /var/tmp/diff_new_pack.5g0ImX/_old  2020-09-01 20:06:54.588579547 +0200
+++ /var/tmp/diff_new_pack.5g0ImX/_new  2020-09-01 20:06:54.592579549 +0200
@@ -14,8 +14,8 @@
        # The build script renames the recipe (to strip _service:foo:), but 
doesn't update .data
        RECIPEFILE="${RECIPEFILE##*:}"
 
-       if [ "${RECIPEFILE##*.}" != "kiwi" ] && [ "${RECIPEFILE}" != 
"Dockerfile" ]; then
-               echo "Recipe is neither Dockerfile nor kiwi - exiting"
+       if [ "${RECIPEFILE##*.}" != "kiwi" ] && [ "${RECIPEFILE}" != 
"Dockerfile" ] && [ "${RECIPEFILE}" != "Chart.yaml" ]; then
+               echo "Recipe is neither Dockerfile, kiwi recipe nor helm chart 
- exiting"
                exit 0
        fi
 
@@ -26,9 +26,9 @@
        RELEASE=0
 
        # Guess the build recipe
-       files=(*.kiwi Dockerfile*)
+       files=(*.kiwi Dockerfile* Chart.yaml*)
        if [ "${#files}" -eq 0 ]; then
-               echo "No kiwi or Dockerfile found - exiting"
+               echo "No kiwi recipe, Dockerfile or helm chart found - exiting"
                exit 0
        fi
 fi

++++++ kiwi_metainfo_helper.service ++++++
--- /var/tmp/diff_new_pack.5g0ImX/_old  2020-09-01 20:06:54.608579557 +0200
+++ /var/tmp/diff_new_pack.5g0ImX/_new  2020-09-01 20:06:54.608579557 +0200
@@ -1,4 +1,4 @@
 <service name="kiwi_metainfo_helper">
-       <summary>Substitute various variables in .kiwi files</summary>
-       <description>Substitutes %DISTURL%, %RELEASE% and %BUILDTIME% in .kiwi 
files.</description>
+       <summary>Substitute various variables in build recipes</summary>
+       <description>Substitutes %DISTURL%, %RELEASE% and %BUILDTIME% in build 
recipes.</description>
 </service>


Reply via email to