[javapackages] [doc] Take version from VERSION file and automatically inject current date
by Michal Srb
commit 0c52e10eaad64a1839eb3fb14697a76b51a037bb
Author: Michal Srb <msrb(a)redhat.com>
Date: Wed Jun 17 09:52:25 2015 +0200
[doc] Take version from VERSION file and automatically inject current date
VERSION | 1 +
doc/index.txt | 5 ++++-
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/VERSION b/VERSION
index 19fa795..8af5919 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1,2 @@
4.7.0-SNAPSHOT
+
diff --git a/doc/index.txt b/doc/index.txt
index f6c71f6..83008c7 100644
--- a/doc/index.txt
+++ b/doc/index.txt
@@ -1,7 +1,10 @@
Java Packaging HOWTO
====================
-v4.6.0, 2015-06-15
+v
+include::../VERSION[]
+
+{localdate}
include::preamble.txt[]
8 years, 9 months
[Bug 1217460] New: xmvn-builddep: compat version is output as namespace
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1217460
Bug ID: 1217460
Summary: xmvn-builddep: compat version is output as namespace
Product: Fedora
Version: rawhide
Component: javapackages-tools
Assignee: mizdebsk(a)redhat.com
Reporter: msimacek(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
mat.booth(a)redhat.com, mizdebsk(a)redhat.com,
msimacek(a)redhat.com, msrb(a)redhat.com
Description of problem:
xmvn-builddep outputs namespace instead of compat version.
Version-Release number of selected component (if applicable):
javapackages-tools-4.6.0-0.15.giteccdd3f.noarch
How reproducible:
always
Steps to Reproduce:
1. rebuild https://msimacek.fedorapeople.org/jspc-2.0-0.15.alpha.3.fc21.src.rpm
2. run xmvn-builddep on the build.log
Actual results:
there's this line in the output:
BuildRequires: 1.8.9-mvn(org.codehaus.groovy:groovy)
Expected results:
BuildRequires: mvn(org.codehaus.groovy:groovy:1.8.9)
Additional info:
XMVn's output contains
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy</artifactId>
<version>1.8.9</version>
</dependency>
So it seems like javapackages bug.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=bOr6Trcb9Y&a=cc_unsubscribe
8 years, 9 months
[Bug 1229735] New: javapackages-tools: %pom_change_dep removes <optional> element
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1229735
Bug ID: 1229735
Summary: javapackages-tools: %pom_change_dep removes <optional>
element
Product: Fedora
Version: rawhide
Component: javapackages-tools
Assignee: mizdebsk(a)redhat.com
Reporter: msrb(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
mat.booth(a)redhat.com, mizdebsk(a)redhat.com,
msimacek(a)redhat.com, msrb(a)redhat.com
Description of problem:
"%pom_change_dep :old :new" removes <optional> element if it's present there.
Since the information whether given dependency is optional is significant now,
the macro should try to preserve it.
Version-Release number of selected component (if applicable):
javapackages-tools-4.3.2-6.fc22.noarch
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=8XHnRzx9tz&a=cc_unsubscribe
8 years, 9 months
[Bug 1230193] New: javapackages-tools: %add_maven_depmap can produce incorrect metadata
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1230193
Bug ID: 1230193
Summary: javapackages-tools: %add_maven_depmap can produce
incorrect metadata
Product: Fedora
Version: rawhide
Component: javapackages-tools
Assignee: mizdebsk(a)redhat.com
Reporter: msrb(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
mat.booth(a)redhat.com, mizdebsk(a)redhat.com,
msimacek(a)redhat.com, msrb(a)redhat.com
Description of problem:
Consider following code snippet from spec file:
for libname in catalina-ha util-scan; do
%{__cp} -a %{name}-$libname.pom
${RPM_BUILD_ROOT}%{_mavenpomdir}/JPP.%{name}-$libname.pom
%add_maven_depmap JPP.%{name}-$libname.pom %{name}/$libname.jar -f
"tomcat-lib"
done
Let's say that the file %{name}/$libname.jar exists if $libname is equal to
"catalina-ha".
Then if file for $libname equal to "util-scan" *doesn't* exist,
%add_maven_depmap will silently create incorrect mapping between artifact
coordinates from JPP.%{name}-util-scan.pom and JAR file %{name}/catalina-ha.jar
(i.e. JAR file from previous successful iteration).
Version-Release number of selected component (if applicable):
javapackages-tools-4.5.0-3.fc23.noarch
How reproducible:
always
Steps to Reproduce:
1. rebuild tomcat from c2e91f9 in Rawhide
2.
3.
Actual results:
incorrect information in metadata
Expected results:
the macro should fail if given file doesn't exist
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=s5JtPq9SE0&a=cc_unsubscribe
8 years, 9 months
[Bug 1231891] New: javapackages-tools: TypeError in pom_editor.py
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1231891
Bug ID: 1231891
Summary: javapackages-tools: TypeError in pom_editor.py
Product: Fedora
Version: rawhide
Component: javapackages-tools
Assignee: mizdebsk(a)redhat.com
Reporter: msrb(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
mat.booth(a)redhat.com, mizdebsk(a)redhat.com,
msimacek(a)redhat.com, msrb(a)redhat.com
Description of problem:
When trying to rebuild jetty in Rawhide (from #e60e2db), with
javapackages-tools from Jenkins
(javapackages-tools-4.6.0-0.49.git087a86a.noarch), I am getting:
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_change_dep -r
javax.transaction:javax.transaction-api
org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec
Traceback (most recent call last):
File "/usr/share/java-utils/pom_editor.py", line 638, in <module>
macros[sys.argv[1]](*sys.argv[2:])
File "/usr/share/java-utils/pom_editor.py", line 464, in decorated
xml.patch(function, fnargs)
File "/usr/share/java-utils/pom_editor.py", line 256, in patch
function(**fnargs)
File "/usr/share/java-utils/pom_editor.py", line 627, in pom_change_dep
new_artifact.merge_into_xml(element)
File "/usr/share/java-utils/pom_editor.py", line 107, in merge_into_xml
element.append(element.makeelement(name=key, text=value))
File "lxml.etree.pyx", line 1439, in lxml.etree._Element.makeelement
(src/lxml/lxml.etree.c:49963)
TypeError: makeelement() takes at least 1 positional argument (0 given)
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=B39WkOYkvq&a=cc_unsubscribe
8 years, 9 months
[javapackages] Post release version bump: 4.7.0-SNAPSHOT
by Michal Srb
commit a2d69f1175d03e0be11a138bb9058a6f4221ae51
Author: Michal Srb <msrb(a)redhat.com>
Date: Tue Jun 16 14:02:22 2015 +0200
Post release version bump: 4.7.0-SNAPSHOT
VERSION | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/VERSION b/VERSION
index 6016e8a..19fa795 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-4.6.0
+4.7.0-SNAPSHOT
8 years, 9 months
[javapackages] Prep for release 4.6.0
by Michal Srb
commit 801a84c9a88dcea5678d36c150e9b1b7549d6b13
Author: Michal Srb <msrb(a)redhat.com>
Date: Mon Jun 15 23:56:53 2015 +0200
Prep for release 4.6.0
VERSION | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/VERSION b/VERSION
index 1c9c0da..6016e8a 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-4.6.0-SNAPSHOT
+4.6.0
8 years, 9 months