Hello community,
here is the log from the commit of package live-add-yast-repos for
openSUSE:Factory checked in at 2018-12-11 15:48:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/live-add-yast-repos (Old)
and /work/SRC/openSUSE:Factory/.live-add-yast-repos.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "live-add-yast-repos"
Tue Dec 11 15:48:39 2018 rev:3 rq:656876 version:1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/live-add-yast-repos/live-add-yast-repos.changes
2018-08-03 12:37:51.375618982 +0200
+++
/work/SRC/openSUSE:Factory/.live-add-yast-repos.new.19453/live-add-yast-repos.changes
2018-12-11 15:48:43.954146843 +0100
@@ -1,0 +2,5 @@
+Mon Dec 10 16:00:28 UTC 2018 - Fabian Vogt <[email protected]>
+
+- Handle missing enabled and priority elements
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ live-add-yast-repos.spec ++++++
--- /var/tmp/diff_new_pack.Xye5BQ/_old 2018-12-11 15:48:44.570146163 +0100
+++ /var/tmp/diff_new_pack.Xye5BQ/_new 2018-12-11 15:48:44.570146163 +0100
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
++++++ geturls.xsl ++++++
--- /var/tmp/diff_new_pack.Xye5BQ/_old 2018-12-11 15:48:44.602146128 +0100
+++ /var/tmp/diff_new_pack.Xye5BQ/_new 2018-12-11 15:48:44.602146128 +0100
@@ -8,13 +8,16 @@
<xsl:for-each
select="y:productDefines/y:software/y:extra_urls/y:extra_url">
<xsl:text>zypper addrepo</xsl:text>
- <xsl:if test="y:enabled != 'true'">
+ <!-- disabled if not set -->
+ <xsl:if test="not(y:enabled = 'true')">
<xsl:text> --disable</xsl:text>
</xsl:if>
<xsl:if test="y:autorefresh = 'true'">
<xsl:text> --refresh</xsl:text>
</xsl:if>
- <xsl:text> -p </xsl:text><xsl:value-of select="y:priority"/>
+ <xsl:if test="y:priority">
+ <xsl:text> -p </xsl:text><xsl:value-of select="y:priority"/>
+ </xsl:if>
<xsl:text> --name '</xsl:text>
<xsl:value-of select="y:name"/>
<xsl:text>' '</xsl:text>