Bug 511941 - Review Request: chunkd - Data storage daemon
Summary: Review Request: chunkd - Data storage daemon
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Peter Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-15 18:21 UTC by Jeff Garzik
Modified: 2013-07-03 02:36 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-07-27 19:54:05 UTC
Type: ---
Embargoed:
pbrobinson: fedora-review+
j: fedora-cvs+


Attachments (Terms of Use)
Updated chunkd spec file (2.49 KB, text/plain)
2009-07-16 19:00 UTC, Jeff Garzik
no flags Details
Updated chunkd SRPM (382.08 KB, application/x-rpm)
2009-07-16 19:02 UTC, Jeff Garzik
no flags Details
Updated chunkd spec file (2.69 KB, text/plain)
2009-07-16 23:18 UTC, Jeff Garzik
no flags Details
Updated chunkd SRPM (382.33 KB, application/x-rpm)
2009-07-16 23:25 UTC, Jeff Garzik
no flags Details
Updated chunkd spec file (2.85 KB, text/plain)
2009-07-17 18:51 UTC, Jeff Garzik
no flags Details
Updated chunkd SRPM (382.48 KB, application/x-rpm)
2009-07-17 18:52 UTC, Jeff Garzik
no flags Details
Updated chunkd spec file (3.51 KB, text/plain)
2009-07-19 19:33 UTC, Jeff Garzik
no flags Details
Updated chunkd SRPM (391.83 KB, application/x-rpm)
2009-07-19 19:34 UTC, Jeff Garzik
no flags Details

Description Jeff Garzik 2009-07-15 18:21:00 UTC
Spec URL: http://www.kernel.org/pub/software/network/distsrv/pkg/chunkd.spec
SRPM URL: http://www.kernel.org/pub/software/network/distsrv/pkg/chunkd-0.3-1.fc10.src.rpm
Description: Data storage daemon

chunkd is a "chunk server", which is a service for storing and retrieving anonymous binary objects (BLOBs).  http://linux.yyz.us/projects/chunkd.html

This package is required for tabled, another package being submitted for review.

Comment 1 Fabian Affolter 2009-07-16 08:08:34 UTC
Just some quick comments on your spec file.

-  You are mixing '$RPM_BUILD_ROOT' and '%{buildroot}'
   https://fedoraproject.org/wiki/Packaging:Guidelines#Using_.25.7Bbuildroot.7D_and_.25.7Boptflags.7D_vs_.24RPM_BUILD_ROOT_and_.24RPM_OPT_FLAGS
- 'Source0' should point to the upstream location of the source tarball.
  https://fedoraproject.org/wiki/Packaging/SourceURL
- Please add AUTHORS, ChangeLog, and all other doc files to %doc
- Take a look at https://fedoraproject.org/wiki/Packaging/Guidelines#StaticLibraries

Comment 2 Jeff Garzik 2009-07-16 19:00:33 UTC
Created attachment 354034 [details]
Updated chunkd spec file

Comment 3 Jeff Garzik 2009-07-16 19:02:14 UTC
Created attachment 354035 [details]
Updated chunkd SRPM

I updated the specfile with review comments, plus a few other things I found re-reviewing packging guidelines.

Successful koji build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=1480186

Comment 4 Jeff Garzik 2009-07-16 23:18:58 UTC
Created attachment 354068 [details]
Updated chunkd spec file

Comment 5 Jeff Garzik 2009-07-16 23:25:02 UTC
Created attachment 354070 [details]
Updated chunkd SRPM

This was updated again, to reflect applicable feedback on package cld (bug #511938):
- add more %doc
- %config(noreplace)
- chkconfig default off

Successful koji build at
http://koji.fedoraproject.org/koji/taskinfo?taskID=1480771

Comment 6 Jeff Garzik 2009-07-17 18:51:48 UTC
Created attachment 354190 [details]
Updated chunkd spec file

Comment 7 Jeff Garzik 2009-07-17 18:52:53 UTC
Created attachment 354192 [details]
Updated chunkd SRPM

Updated with feedback from sister project cld (bz#511938):
- new release version scheme
- kill RPM_BUILD_ROOT

Comment 8 Jeff Garzik 2009-07-17 18:53:17 UTC
Koji successful build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=1482741

Comment 9 Peter Robinson 2009-07-19 09:33:07 UTC
I'll grab this one

Comment 10 Peter Robinson 2009-07-19 10:41:15 UTC
Because the source comes from revision control it needs to be documented how to recreate the tarfile so the source file can be verified using ms5sum etc to ensure its from upstream. Details here:

https://fedoraproject.org/wiki/Packaging/SourceURL#Using_Revision_Control

Comment 11 Peter Robinson 2009-07-19 11:15:32 UTC
A couple of things. The main one is the documentation on how to recreate the source file. Also the description could be fleshed out a little, a Data Storage Daemon for what? The description in the review request isn't too bad at least explains its for storing cloud data.

+ rpmlint output: OK

rpmlint chunkd-*.rpm chunkd.spec 
chunkd.x86_64: W: incoherent-subsys /etc/rc.d/init.d/chunkd $prog
chunkd-devel.x86_64: W: no-documentation
4 packages and 1 specfiles checked; 0 errors, 2 warnings.

+ package name satisfies the packaging naming guidelines
+ specfile name matches the package base name
+ package should satisfy packaging guidelines
+ license meets guidelines and is acceptable to Fedora
+ license matches the actual package license

+ %doc includes license file
+ spec file written in American English
+ spec file is legible
? upstream sources match sources in the srpm
  needs to update to the revision control packaging guidelines
  https://fedoraproject.org/wiki/Packaging/SourceURL#Using_Revision_Control
+ package successfully builds on at least one architecture
  tested using koji scratch build, if there is an upstream bug report for the PPC issues might be good to reference it.
+ BuildRequires list all build dependencies
n/a %find_lang instead of %{_datadir}/locale/*
+ binary RPM with shared library files must call ldconfig in %post and %postun+ does not use Prefix: /usr
+ package owns all directories it creates
+ no duplicate files in %files
+ %defattr line
+ %clean contains rm -rf %{buildroot}
+ consistent use of macros
+ package must contain code or permissible content
n/a large documentation files should go in -doc subpackage
+ files marked %doc should not affect package
+ header files should be in -devel
n/a static libraries should be in -static
+ packages containing pkgconfig (.pc) files need 'Requires: pkgconfig'
+ libfoo.so must go in -devel
+ devel must require the fully versioned base
+ packages should not contain libtool .la files
n/a packages containing GUI apps must include %{name}.desktop file
+ packages must not own files or directories owned by other packages
+ %install must start with rm -rf %{buildroot} etc.
+ filenames must be valid UTF-8

Optional:

n/a if there is no license file, packager should query upstream
n/a translations of description and summary for non-English languages, if
available
+ reviewer should build the package in mock/koji
+ the package should build into binary RPMs on all supported architectures
n/a review should test the package functions as described
+ scriptlets should be sane
+ pkgconfig files should go in -devel
+ shouldn't have file dependencies outside /etc /bin /sbin /usr/bin or
/usr/sbin

Comment 12 Jeff Garzik 2009-07-19 19:33:04 UTC
Created attachment 354282 [details]
Updated chunkd spec file

Comment 13 Jeff Garzik 2009-07-19 19:34:36 UTC
Created attachment 354283 [details]
Updated chunkd SRPM

Updated per comments, most notably
* greatly expanded %description
* include instructions for recreating source tarball

Successful koji build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=1485476

Comment 14 Peter Robinson 2009-07-21 08:43:52 UTC
Looks fine now. APPROVED!

Comment 15 Jeff Garzik 2009-07-21 08:51:36 UTC
New Package CVS Request
=======================
Package Name: chunkd
Short Description: Data storage service for cloud computing
Owners: jgarzik zaitcev
Branches: F-10 F-11
InitialCC:

Comment 16 Jason Tibbitts 2009-07-21 15:22:29 UTC
CVS done.

Comment 17 Peter Robinson 2009-07-27 19:54:05 UTC
Closing as its now in rawhide :-)


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