Bug 1181995 - Confusing output in review template
Summary: Confusing output in review template
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: javapackages-tools
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michael Simacek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-14 09:24 UTC by Mattias Ellert
Modified: 2015-05-08 07:39 UTC (History)
8 users (show)

Fixed In Version: javapackages-tools-4.1.0-8.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-27 08:37:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mattias Ellert 2015-01-14 09:24:37 UTC
Description of problem:

When reviewing a package I found some confusing output in the review template (review.txt).

A) The Issues section contains:

- POM files have correct Maven mapping
  Note: Old style Maven package found, no add_maven_depmap calls found but POM
  files present
  See: https://fedoraproject.org/wiki/Packaging:Java#add_maven_depmap_macro

The referenced link is not correct. The page https://fedoraproject.org/wiki/Packaging:Java exists, but there is no anchor named add_maven_depmap_macro on that page.

It is not clear what the note is trying to say. The guidelines say "Additionally package MUST install mapping between upstream artifact and filesystem by using either %mvn_install or %add_maven_depmap macros." (https://fedoraproject.org/wiki/Packaging:Java#Maven_pom.xml_files) and the package installs the pom file using %mvn_install (after using %mvn_artifact), so why complain about no %add_maven_depmap when either method is in accordance with the guidelines?

B) The Issues section also contains:

- Packages have proper BuildRequires/Requires on jpackage-utils

It is not clear why this is listed in issues. Proper BuildRequires according to the guidelines is one of java-devel, maven-local or ant. Either of them directly or indirectly depends on jpackage-utils and the requirement to explicitly list jpackage-utils in BuildRequires have been dropped from the guidelines.

The dependency on jpackage-utils for the generated binary packages is autogenerated by dependency generator and should not be listed explicitly either.

C) Must items - Generic section contains:

[x]: Package use %makeinstall only when make install' ' DESTDIR=... doesn't
     work.

Why the "' '" after install?

D) Rpmlint (installed packages)

]0;<mock-chroot><mock-chroot>[root@ellert /]# rpmlint irclib irclib-javadoc
2 packages and 0 specfiles checked; 0 errors, 0 warnings.
]0;<mock-chroot><mock-chroot>[root@ellert /]# echo 'rpmlint-done:'

A lot of junk here...


Version-Release number of selected component (if applicable):
fedora-review-0.5.2-1.fc21.noarch

How reproducible:
Always (well, at least twice).

Steps to Reproduce:
1. fedora-review -b 976049 -m fedora-rawhide-x86_64

Actual results:
See above.

Expected results:
None of that.

Comment 1 Alec Leamas 2015-04-16 21:27:37 UTC
I have inspected C) in the current sources. For now assuming that this is fixed.

D) is partially fixed in 
https://fedorahosted.org/FedoraReview/changeset/f1ae1243d0d20bbc.
Some junk including the '# echo 'rpmlint-done:' line will still be there, the code isnt that clever. Lazy programmmer...

As for A) and B) these are about the java plugin which is maintained separately in the fedora-review-plugin-java package. However, bugzilla doesn't let me re-assign to it :(

Comment 2 Alec Leamas 2015-04-20 08:21:44 UTC
See also upstream bug https://fedorahosted.org/FedoraReview/ticket/240.

Comment 3 Alec Leamas 2015-04-20 08:23:10 UTC
Assigning to Stanislaw in his capacity as the java plugin maintainer (cannot re-assign bug to proper component for some reason

Comment 4 Stanislav Ochotnicky 2015-04-20 10:50:15 UTC
Well the java tests are part of javapackages-tools in a subpackage so reassigning

Comment 5 Mikolaj Izdebski 2015-04-20 11:00:00 UTC
Thanks for reporting this. We'll look into updating fedora-review Java plugin to latest standards.

Comment 6 Michael Simacek 2015-04-20 15:01:19 UTC
Both A and B should be fixed upstream, I'll backport the fixes to f21

Comment 7 Fedora Update System 2015-04-23 10:36:20 UTC
fedora-review-plugin-java-4.6.1-1.fc22,javapackages-tools-4.3.2-6.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/fedora-review-plugin-java-4.6.1-1.fc22,javapackages-tools-4.3.2-6.fc22

Comment 8 Fedora Update System 2015-04-23 10:37:00 UTC
fedora-review-plugin-java-4.6.1-1.fc21,javapackages-tools-4.1.0-8.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/fedora-review-plugin-java-4.6.1-1.fc21,javapackages-tools-4.1.0-8.fc21

Comment 9 Fedora Update System 2015-04-23 10:37:02 UTC
fedora-review-plugin-java-4.6.1-1.fc20,javapackages-tools-3.4.1-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/fedora-review-plugin-java-4.6.1-1.fc20,javapackages-tools-3.4.1-3.fc20

Comment 10 Fedora Update System 2015-04-24 22:48:07 UTC
Package javapackages-tools-4.3.2-6.fc22, fedora-review-plugin-java-4.6.1-1.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing javapackages-tools-4.3.2-6.fc22 fedora-review-plugin-java-4.6.1-1.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-6779/fedora-review-plugin-java-4.6.1-1.fc22,javapackages-tools-4.3.2-6.fc22
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2015-04-27 08:37:42 UTC
javapackages-tools-4.3.2-6.fc22, fedora-review-plugin-java-4.6.1-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2015-05-08 07:31:41 UTC
javapackages-tools-3.4.1-3.fc20, fedora-review-plugin-java-4.6.1-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2015-05-08 07:39:50 UTC
javapackages-tools-4.1.0-8.fc21, fedora-review-plugin-java-4.6.1-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.