Bug 632342 - Review Request: eclipse-mpc - Eclipse Marketplace Client
Summary: Review Request: eclipse-mpc - Eclipse Marketplace Client
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Alexander Kurtakov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 634622
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-09 18:10 UTC by Chris Aniszczyk
Modified: 2014-07-25 05:53 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-12 16:37:22 UTC
Type: ---
Embargoed:
akurtako: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Chris Aniszczyk 2010-09-09 18:10:28 UTC
Spec URL: http://aniszczyk.org/misc/eclipse-mpc.spec
SRPM URL: TODO
Description: Eclipse Marketplace Client

Comment 1 Chris Aniszczyk 2010-09-09 18:13:53 UTC
Alex, quick question.

mpc requires p2 discovery ui and for some reason, we don't include that in the eclipse-sdk by default (I think this is picked up when installing MPC anyway, need to double check). Should I create another package for the p2 discovery ui?

Comment 2 Alexander Kurtakov 2010-09-09 19:31:50 UTC
(In reply to comment #1)
> Alex, quick question.
> 
> mpc requires p2 discovery ui and for some reason, we don't include that in the
> eclipse-sdk by default (I think this is picked up when installing MPC anyway,
> need to double check). Should I create another package for the p2 discovery ui?

I have no idea what p2 discovery ui is. Is it shipped with the Classic SDK from Eclipse.org? If yes we should fix eclipse-build to build it properly, if not we need to package it separately.

Comment 3 Alexander Kurtakov 2010-09-10 12:24:08 UTC
Chris, you are supposed to upload a srpm when you open Review bugs.

Comment 4 Chris Aniszczyk 2010-09-10 14:57:16 UTC
Yap, I'll upload an srpm as soon as I have one.

It looks like I'm going to have to package the p2 discovery ui work as a separate package so look for that request soon.

Comment 5 Chris Aniszczyk 2010-09-16 16:07:27 UTC
Spec URL: http://aniszczyk.org/misc/eclipse-mpc.spec
SRPM URL: http://aniszczyk.org/misc/eclipse-mpc-1.0.1-1.fc13.src.rpm

Should be OK to review now once I have a sponsor.

Comment 6 Alexander Kurtakov 2010-09-17 10:12:01 UTC
Notes:
* It fails to compile. There is a missing BR on eclipse-p2-discovery package.
* Either set the Source0 to proper url or provide the script you used to create it.
* If you're creating the tarball please make it tar.xz
* URL is wrong- gives 404
* W: spurious-executable-perm /usr/share/doc/eclipse-mpc-1.0.1/license.html

Once these are fixed I'll do the full review.

Comment 7 Chris Aniszczyk 2010-09-21 21:35:24 UTC
Try these files again, made the fixes... 

Spec URL: http://aniszczyk.org/misc/eclipse-mpc.spec
SRPM URL: http://aniszczyk.org/misc/eclipse-mpc-1.0.1-1.fc13.src.rpm

Thanks for the tips Alex.

Comment 8 Chris Aniszczyk 2010-09-21 21:35:45 UTC
Once you install eclipse-mpc, you can launch Eclipse and launch the marketplace via Help->Eclipse Marketplace

Comment 9 Alexander Kurtakov 2010-09-22 12:35:49 UTC
It still fails to compile because it is missing BR on eclipse-p2-discovery. Also please add changelog entries describing your changes - this helps tracking the review process.

Comment 10 Chris Aniszczyk 2010-09-22 13:28:06 UTC
How are you installing it? Because it worked for me :/

I could be doing something wrong.

Comment 11 Alexander Kurtakov 2010-09-22 15:06:53 UTC
It's not an install time issue but build time issue. If you don't have eclipse-p2-discovery installed and try to build the srpm it will not complain about eclipse-p2-discovery but pdebuild will fail to resolve discovery bundles.

Comment 12 Alexander Kurtakov 2010-09-22 15:09:31 UTC
Dropping FE-NEEDSPONSOR. Sponsored in #634622.

Comment 13 Chris Aniszczyk 2010-09-23 16:28:41 UTC
I fixed up the spec file to add a Build-Requires on eclipse-p2-discovery; left the versions in tact for now.

Spec URL: http://aniszczyk.org/misc/eclipse-mpc.spec
SRPM URL: http://aniszczyk.org/misc/eclipse-mpc-1.0.1-1.fc13.src.rpm

Still waiting on the fedora-cvs flag to be enabled.

Comment 14 Chris Aniszczyk 2010-09-23 19:43:39 UTC
Adding 'fedora-cvs' flag

Comment 15 Chris Aniszczyk 2010-09-23 20:04:53 UTC
New Package SCM Request
=======================
Package Name: eclipse-mpc
Short Description: Equinox Marketplace Client
Owners: caniszczyk
Branches: f14
InitialCC: caniszczyk

Comment 16 Chris Aniszczyk 2010-09-23 20:11:15 UTC
Removing 'fedora-cvs' flag until Alex does his review.

Comment 17 Alexander Kurtakov 2010-10-07 07:01:44 UTC
=== REQUIRED ITEMS ===
[X]  Rpmlint output:
W: invalid-url Source0: eclipse-mpc-fetched-src-R_1_0_1.tar.xz
[X]  Package is named according to the Package Naming Guidelines[1].
[X]  Spec file name must match the base package name, in the format %{name}.spec.
[X]  Package meets the Packaging Guidelines[2].
[X]  Package successfully compiles and builds into binary rpms.
[X]  Buildroot is correct (%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n))
[X]  Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines[3,4].
[X]  License field in the package spec file matches the actual license.
License type:
[X]  If (and only if) the source package includes the text of the license(s) in its own file, then that file, containing the text of the license(s) for the package is included in %doc.
[X]  All independent sub-packages have license of their own
[X]  Spec file is legible and written in American English.
[X]  Sources used to build the package matches the upstream source, as provided in the spec URL.
Script for creating the tarball is part of the srpm.
[X]  All build dependencies are listed in BuildRequires, except for any that are listed in the exceptions section of Packaging Guidelines[5].
[X]  Package must own all directories that it creates.
[X]  Package requires other packages for directories it uses.
[X]  Package does not contain duplicates in %files.
[X]  Permissions on files are set properly.
[X]  Package has a %clean section, which contains rm -rf %{buildroot} (or $RPM_BUILD_ROOT).
[X]  Package consistently uses macros.
[X]  Package contains code, or permissable content.
[X]  Fully versioned dependency in subpackages, if present.
[-]  Package contains a properly installed %{name}.desktop file if it is a GUI application.
[X]  Package does not own files or directories owned by other packages.
[-]  Javadoc documentation files are generated and included in -javadoc subpackage
[X]  Packages have proper BuildRequires/Requires on jpackage-utils
[-]  Javadoc subpackages have Require: jpackage-utils
[X]  Package uses %global not %define
[X]  If package uses tarball from VCS include comment how to re-create that tarball (svn export URL, git clone URL, ...)
[X]  If source tarball includes bundled jar/class files these need to be removed prior to building
[X]  All filenames in rpm packages must be valid UTF-8.
[X]  Avoid having BuildRequires on exact NVR unless necessary
[X]  Package has BuildArch: noarch (if possible)
[X]  Latest version is packaged.
[X]  Reviewer should test that the package builds in mock.

This package is APPROVED.

Comment 18 Chris Aniszczyk 2010-10-07 21:59:56 UTC
New Package SCM Request
=======================
Package Name: eclipse-mpc
Short Description: Equinox Marketplace Client
Owners: caniszczyk
Branches: f14
InitialCC: caniszczyk

Comment 19 Chris Aniszczyk 2010-10-07 22:00:09 UTC
New Package SCM Request
=======================
Package Name: eclipse-mpc
Short Description: Eclipse Marketplace Client
Owners: caniszczyk
Branches: f14
InitialCC: caniszczyk

Comment 20 Alexander Kurtakov 2010-10-11 07:36:41 UTC
Chris you're supposed to set fedora-cvs flag to ? not to +. + means it was already processed.

Comment 21 Chris Aniszczyk 2010-10-11 14:19:39 UTC
Ah sigh, we do it a bit differently at Eclipse and it's so ingrained in my mind.

Thanks for the catch.

Comment 22 Kevin Fenzi 2010-10-11 18:27:45 UTC
Git done (by process-git-requests).

Comment 23 Chris Aniszczyk 2010-10-12 16:37:22 UTC
In rawhide now.

Thanks everyone!


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