Bug 850512 - Review Request: supybot-fedmsg - Modify other supybot plugins to emit messages to the fedmsg bus
Summary: Review Request: supybot-fedmsg - Modify other supybot plugins to emit message...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michael S.
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-21 17:19 UTC by Ralph Bean
Modified: 2014-11-12 23:07 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-08-23 13:53:43 UTC
Type: ---
Embargoed:
misc: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Ralph Bean 2012-08-21 17:19:45 UTC
Spec URL: http://threebean.org/rpm/supybot-fedmsg.spec
SRPM URL: http://threebean.org/rpm/supybot-fedmsg-0.0.3-1.fc17.src.rpm
Description: A Supybot plugin for sending messages across the Fedora Infrastructure message bus.  This plugin modifies other installed plugins during runtime, instrumenting them to send messages on certain events.

Fedora Account System Username: ralph

rpmlint output
--------------
--- ~/rpmbuild ยป rpmlint {SPECS,SRPMS}/supybot-fedmsg* 
supybot-fedmsg.src: W: spelling-error %description -l en_US runtime -> run time, run-time, rudiment
1 packages and 1 specfiles checked; 0 errors, 1 warnings.

koji - f18 - http://koji.fedoraproject.org/koji/taskinfo?taskID=4410928
koji - el6 - http://koji.fedoraproject.org/koji/taskinfo?taskID=4410926

Comment 1 Ralph Bean 2012-08-21 18:34:36 UTC
New upstream release with more consistent fedmsg topic names.

Spec URL: http://threebean.org/rpm/supybot-fedmsg.spec
SRPM URL: http://threebean.org/rpm/supybot-fedmsg-0.0.4-1.fc17.src.rpm

Comment 2 Michael S. 2012-08-22 11:58:07 UTC
A few notes :

Why does it requires supybot-meetbot ?

Why does it redefine python_sitelib  ( as i think that's always defined in fedora and even in RHEL 6 )

Comment 3 Ralph Bean 2012-08-22 14:09:14 UTC
(In reply to comment #2)
> Why does it requires supybot-meetbot ?

In the sentence "This plugin modifies other installed plugins during runtime" the "other installed plugins" is just supybot-meetbot right now.  The plan is to extend it to modify other plugins in the future (like supybot's "announce").
 
> Why does it redefine python_sitelib  ( as i think that's always defined in
> fedora and even in RHEL 6 )

That python_sitelib redefinition is a mistake.  I used an older specfile as a template to create this one.  I've removed it in this revised spec:

Spec URL: http://threebean.org/rpm/supybot-fedmsg.spec
SRPM URL: http://threebean.org/rpm/supybot-fedmsg-0.0.4-2.fc17.src.rpm

Comment 4 Michael S. 2012-08-22 14:30:46 UTC
Ok after reading the code and using my brain, i think I understand why i didn't understood :)


supybot-meeting already require supybot, maybe the 2nd requires can be removed ?

Comment 5 Ralph Bean 2012-08-22 15:47:57 UTC
True!  Release 3 fixes that.

Spec URL: http://threebean.org/rpm/supybot-fedmsg.spec
SRPM URL: http://threebean.org/rpm/supybot-fedmsg-0.0.4-3.fc17.src.rpm

Comment 6 Michael S. 2012-08-22 18:59:11 UTC
Ok so the package is good. I would recommend to improve a little bit the description for someone who do not know what is fedmsg and so on ( ie, someone thinking that would be a generalist plugin may be disappointed ), but that's nit picking, so the package is approved. I didn't test it toroughly but as you are the upstream, i guess you take care of that.


Package Review
==============

Key:
- = N/A
x = Pass
! = Fail
? = Not evaluated



===== MUST items =====

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: Package successfully compiles and builds into binary rpms on at least one
     supported primary architecture.
[-]: %build honors applicable compiler flags or justifies otherwise.
[x]: All build dependencies are listed in BuildRequires, except for any that
     are listed in the exceptions section of Packaging Guidelines.
[x]: Package contains no bundled libraries.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[x]: Macros in Summary, %description expandable at SRPM build time.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package requires other packages for directories it uses.
[x]: Package uses nothing in %doc for runtime.
[x]: Package is not known to require ExcludeArch.
[x]: Permissions on files are set properly.
[x]: Package does not contain duplicates in %files.
[x]: Package complies to the Packaging Guidelines
[x]: Spec file lacks Packager, Vendor, PreReq tags.
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
     Note: rm -rf would be needed if support for EPEL5 is required
[-]: Large documentation files are in a -doc subpackage, if required.
[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]: License field in the package spec file matches the actual license
[x]: Package consistently uses macro is (instead of hard-coded directory
     names).
[x]: Package is named using only allowed ASCII characters.
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
     Note: Package contains no Conflicts: tag(s)
[-]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: Package installs properly.
[x]: Package is not relocatable.
[x]: Requires correct, justified where necessary.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[x]: Sources used to build the package match the upstream source, as provided
     in the spec URL.
[x]: Spec file is legible and written in American English.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[-]: Package contains systemd file(s) if in need.
[x]: File names are valid UTF-8.

===== SHOULD items =====

Generic:
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
     Note: Unless packager wants to package for EPEL5 this is fine
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
     Note: Clean would be needed if support for EPEL5 is required
[-]: If the source package does not include license text(s) as a separate file
     from upstream, the packager SHOULD query upstream to include it.
[x]: Each %files section contains %defattr if rpm < 4.4
     Note: %defattr macros not found. They would be needed for EPEL5
[x]: Dist tag is present.
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Final provides and requires are sane (rpm -q --provides and rpm -q
     --requires).
[-]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: SourceX tarball generation or download is documented.
[x]: SourceX / PatchY prefixed with %{name}.
[x]: SourceX is a working URL.
[-]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[-]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed files.
[x]: Spec use %global instead of %define.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.

Issues:
=======


Rpmlint
-------
Checking: supybot-fedmsg-0.0.4-2.fc17.src.rpm
          supybot-fedmsg-0.0.4-2.fc17.noarch.rpm
supybot-fedmsg.src: W: spelling-error %description -l en_US runtime -> run time, run-time, rudiment
supybot-fedmsg.noarch: W: spelling-error %description -l en_US runtime -> run time, run-time, rudiment
2 packages and 0 specfiles checked; 0 errors, 2 warnings.


Rpmlint (installed packages)
----------------------------
Cannot parse rpmlint output:
Requires
--------
supybot-fedmsg-0.0.4-2.fc17.noarch.rpm (rpmlib, GLIBC filtered):
    
    fedmsg  
    python(abi) = 2.7
    supybot  
    supybot-meetbot  

Provides
--------
supybot-fedmsg-0.0.4-2.fc17.noarch.rpm:
    
    supybot-fedmsg = 0.0.4-2.fc17

MD5-sum check
-------------
http://pypi.python.org/packages/source/s/supybot-fedmsg/supybot-fedmsg-0.0.4.tar.gz :
  CHECKSUM(SHA256) this package     : 7848a120a7c54501b701e5ef20d11f629b160017517e79b5d51f2669397639a4
  CHECKSUM(SHA256) upstream package : 7848a120a7c54501b701e5ef20d11f629b160017517e79b5d51f2669397639a4


Generated by fedora-review 0.2.0 (a5c4ced) last change: 2012-07-22
Command line :./try-fedora-review -b 850512
External plugins:

Comment 7 Ralph Bean 2012-08-22 21:50:11 UTC
Thanks, Michael.  I'll update the description with a little bit more of a warning.  :)

Comment 8 Ralph Bean 2012-08-22 21:51:41 UTC
New Package SCM Request
=======================
Package Name: supybot-fedmsg
Short Description: Modify other supybot plugins to emit messages to the fedmsg bus
Owners: ralph
Branches: f18 f17 el6
InitialCC:

Comment 9 Gwyn Ciesla 2012-08-23 11:28:47 UTC
Git done (by process-git-requests).

Michael, please take ownership of review BZs, thanks!

Comment 10 Ralph Bean 2012-08-23 13:53:43 UTC
Updates on their way!

https://admin.fedoraproject.org/updates/supybot-fedmsg

Comment 11 Kevin Fenzi 2014-11-12 22:22:27 UTC
Package Change Request
======================
Package Name: supybot-fedmsg
New Branches: epel7
Owners: ralph kevin
InitialCC:

Comment 12 Gwyn Ciesla 2014-11-12 23:07:13 UTC
Git done (by process-git-requests).


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