Bug 745547

Summary: Review Request: svn2cl - Create a ChangeLog from a Subversion log
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: Package ReviewAssignee: Susi Lehtola <susi.lehtola>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: gwync, jorton, notting, package-review, susi.lehtola
Target Milestone: ---Flags: susi.lehtola: fedora-review+
gwync: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-15 18:44:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ville Skyttä 2011-10-12 16:52:07 UTC
http://scop.fedorapeople.org/packages/svn2cl.spec
http://scop.fedorapeople.org/packages/svn2cl-0.13-1.fc14.src.rpm

svn2cl was dropped from upstream subversion as of 1.7.0, this brings it back as a separate package (which it originally was).

Comment 1 Ville Skyttä 2011-10-12 16:54:06 UTC
Perhaps Joe could take a look at this - it should be a quick review?  The newlines patch that was in the subversion package is no longer needed with this version.

Comment 2 Susi Lehtola 2011-10-12 21:59:46 UTC
rpmlint output:
svn2cl.noarch: E: explicit-lib-dependency libxslt
svn2cl.noarch: W: obsolete-not-provided subversion-svn2cl
2 packages and 0 specfiles checked; 1 errors, 1 warnings.

I think you should Provides: subversion-svn2cl for now.


MUST: The spec file for the package is legible and macros are used consistently. OK
MUST: The package must be named according to the Package Naming Guidelines. OK
MUST: The spec file name must match the base package %{name}. OK
MUST: The package must be licensed with a Fedora approved license and meet the  Licensing Guidelines. OK
MUST: The License field in the package spec file must match the actual license. OK

MUST: The sources used to build the package must match the upstream source, as provided in the spec URL. OK
$ md5sum svn2cl-0.13.tar.gz ../SOURCES/svn2cl-0.13.tar.gz 
39764d18ef342145863d5d4e21610e2d  svn2cl-0.13.tar.gz
39764d18ef342145863d5d4e21610e2d  ../SOURCES/svn2cl-0.13.tar.gz

MUST: The package MUST successfully compile and build into binary rpms. OK
MUST: The spec file MUST handle locales properly. N/A
MUST: Optflags are used and time stamps preserved. OK
MUST: Packages containing shared library files must call ldconfig. N/A
MUST: A package must own all directories that it creates or require the package that owns the directory. OK
MUST: Files only listed once in %files listings. OK
MUST: Debuginfo package is complete. N/A
MUST: Permissions on files must be set properly. OK
MUST: Large documentation files must go in a -doc subpackage. N/A

MUST: All relevant items are included in %doc. Items in %doc do not affect runtime of application. ??
- I don't think the style sheet svn2html.css belongs in -doc.

MUST: Header files must be in a -devel package. N/A
MUST: Static libraries must be in a -static package. N/A
MUST: If a package contains library files with a suffix then library files ending in .so must go in a -devel package. N/A
MUST: In the vast majority of cases, devel packages must require the base package using a fully versioned, architecture dependent dependency. N/A
MUST: Packages does not contain any .la libtool archives. N/A
MUST: Desktop files are installed properly. N/A
MUST: No file conflicts with other packages and no general names. OK
SHOULD: %{?dist} tag is used in release. OK
SHOULD: If the package does not include license text(s) as separate files from upstream, the packager should query upstream to include it. OK
SHOULD: The package builds in mock. OK


Please add the provide and remove the stylesheet from -doc (if it indeed isn't necessary) before git import. The package has been

APPROVED

Comment 3 Ville Skyttä 2011-10-13 06:12:37 UTC
Thanks for the review!

Will add the provides, but regarding svn2html.css: it is used by the HTML output (--html option) and referred to in the man page.  Installing it somewhere else and hardwiring a path to it in svn2html.xsl would make things work out of the box when the HTML is viewed locally.  But then again my opinion is that HTML changelogs are not usually generated for local use, and at that point it's easier to just copy the CSS along with the HTML wherever it is going to be hosted than to do that _and_ modify the path to the CSS in the HTML.

Comment 4 Susi Lehtola 2011-10-13 06:28:35 UTC
(In reply to comment #3)
> Will add the provides, but regarding svn2html.css: it is used by the HTML
> output (--html option) and referred to in the man page.  Installing it
> somewhere else and hardwiring a path to it in svn2html.xsl would make things
> work out of the box when the HTML is viewed locally. But then again my opinion
> is that HTML changelogs are not usually generated for local use, and at that
> point it's easier to just copy the CSS along with the HTML wherever it is going
> to be hosted than to do that _and_ modify the path to the CSS in the HTML.

.. okay. Be sure to mention this in the package release notes.

Comment 5 Joe Orton 2011-10-13 08:37:51 UTC
Thanks a lot for creating the package, Ville.  It looks good to me.

Missing %defattr in %files?

Comment 6 Susi Lehtola 2011-10-13 10:00:21 UTC
(In reply to comment #5)
> Missing %defattr in %files?

It's only necessary for EPEL, modern versions of RPM supply the default flags automatically (in addition to BuildRoot tag, cleaning of buildroot etc).

Comment 7 Ville Skyttä 2011-10-13 17:29:07 UTC
Note to SCM admins: the devel branch is already there and populated, just the F-16 branch is needed.

Joe: do you plan to push subversion 1.7.0 to earlier distro versions than F-17?  I see there's a build for F-16 it but apparently it is not yet submitted to bodhi.

Package Change Request
======================
Package Name: svn2cl
New Branches: f16
Owners: scop

Comment 8 Gwyn Ciesla 2011-10-13 17:31:31 UTC
Git done (by process-git-requests).

Comment 9 Gwyn Ciesla 2011-10-13 17:32:06 UTC
Don't forget to take ownership of the remaining branches. . .

Comment 10 Ville Skyttä 2011-10-13 17:48:40 UTC
Thanks, Jon.  I cannot take ownership of the devel branch in pkgdb though because it is marked deprecated and it seems there's nothing I can do about that, there's no "take ownership" button or the like.  Can you?  (The EPEL branches can be left deprecated, I don't plan to do anything about them for now.)

Comment 11 Gwyn Ciesla 2011-10-13 18:03:30 UTC
I thought I'd unretired it.  I hadn't.  I have now.  It should work for now.

Comment 12 Ville Skyttä 2011-10-24 17:17:13 UTC
Package Change Request
======================
Package Name: svn2cl
New Branches: f15
Owners: scop

I hear there's a plan to ship subversion 1.7.x to F-15 as well.

Comment 13 Gwyn Ciesla 2011-10-25 01:44:07 UTC
Git done (by process-git-requests).