Bug 546620 - Review Request: git-bugzilla - Attach patches to a bugzilla bug
Summary: Review Request: git-bugzilla - Attach patches to a bugzilla bug
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Thomas Spura
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-11 13:19 UTC by Lubomir Rintel
Modified: 2011-04-08 23:24 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-04 21:47:24 UTC
Type: ---
Embargoed:
tomspur: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)
[PATCH] Do not default to GNOME bugzilla (670 bytes, patch)
2009-12-19 16:14 UTC, Lubomir Rintel
no flags Details | Diff
[PATCH] Do not default to GNOME bugzilla (670 bytes, patch)
2009-12-19 16:14 UTC, Lubomir Rintel
no flags Details | Diff

Description Lubomir Rintel 2009-12-11 13:19:55 UTC
SPEC: http://v3.sk/~lkundrak/SPECS/git-bugzilla.spec
SRPM: http://v3.sk/~lkundrak/SRPMS/git-bugzilla-0-0.1.20091211git.fc12.src.rpm
scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=1869497

Description:

Add commits as attachments to a Bugzilla bug.

Comment 1 Lubomir Rintel 2009-12-11 13:20:12 UTC
rpmlint silent

Comment 2 Joshua Roys 2009-12-14 19:26:18 UTC
Hello,

You could use the snapshot link in the comments instead of the git clone/archive:
http://git.collabora.co.uk/?p=user/cassidy/git-bugzilla;a=snapshot;h=fc2be928f49569646058812bd0f41251b837bc04;sf=tgz

Here's an unofficial review:

MUST:
* rpmlint
$ rpmlint -vi /var/lib/mock/fedora-12-x86_64/result/git-bugzilla-0-0.1.20091211git.fc12.*
git-bugzilla.noarch: I: checking
git-bugzilla.src: I: checking
2 packages and 0 specfiles checked; 0 errors, 0 warnings.

* named according to guidelines
* spec is %{name}.spec
* meets package guidelines
* license is ok: GPLv2+
* license tag matches source
~ n/a no separate license file
* spec file is written in American English
* ... and is legible
* source matches
* builds on x86_64 (as noarch)
* builds under mock (BuildRequires are correct)
~ n/a locales
~ n/a ldconfig
* does not bundle copies of system libraries
~ n/a relocatable
* does not make any directories
* %files list is ok
* permissions are correct
* %clean section is correct
* macro usage is consistent
* package contains code
~ n/a no large doc files
~ n/a no doc files
~ n/a no header files
~ n/a no static libraries
~ n/a no pkgconfig files
~ n/a no library files
~ n/a no -devel subpackage
* no .la files
~ n/a no GUI app
* doesn't duplicate file/dir ownership
* %install has rm -rf $RPM_BUILD_ROOT
* file names are valid UTF-8

SHOULD:
- If the source package does not include license text(s) as a separate file from upstream, the packager SHOULD query upstream to include it.
- The description and summary sections in the package spec file should contain translations for supported Non-English languages, if available.

Hope to help.

Comment 3 Thomas Spura 2009-12-15 17:55:18 UTC
Shouldn't this be patched, so bugzilla.redhat is the default one and *not* the gnome one?

Of course, this would be fedora/red hat specific, but the reasonablest way.

Comment 4 Lubomir Rintel 2009-12-19 16:14:11 UTC
Created attachment 379357 [details]
[PATCH] Do not default to GNOME bugzilla

 git-send-bugzilla.pl |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

Comment 5 Lubomir Rintel 2009-12-19 16:14:57 UTC
Created attachment 379358 [details]
[PATCH] Do not default to GNOME bugzilla

 git-send-bugzilla.pl |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

Comment 6 Lubomir Rintel 2009-12-19 16:31:46 UTC
(In reply to comment #2)
> Hello,
> 
> You could use the snapshot link in the comments instead of the git
> clone/archive:
> http://git.collabora.co.uk/?p=user/cassidy/git-bugzilla;a=snapshot;h=fc2be928f49569646058812bd0f41251b837bc04;sf=tgz

Good idea. Done.

> Here's an unofficial review:

Why unofficial? I see you're in packager group now.

> SHOULD:
> - If the source package does not include license text(s) as a separate file
> from upstream, the packager SHOULD query upstream to include it.

This is basically just one file; I'm not sure if upstream would include license separately.

> - The description and summary sections in the package spec file should contain
> translations for supported Non-English languages, if available.

Not available.

(In reply to comment #3)
> Shouldn't this be patched, so bugzilla.redhat is the default one and *not* the
> gnome one?
> 
> Of course, this would be fedora/red hat specific, but the reasonablest way.  

I'm reluctant to do a default here (I don't think people would use this much against Red Hat bugzilla). I've made it work against Red Hat bugzilla (oh, sorry for the attachments above) and removed GNOME bugzilla default. Now it demands that you configure a bugzilla instance to use and provides examples for GNOME and Red Hat bugzillas.

New package:

SPEC: http://v3.sk/~lkundrak/SPECS/git-bugzilla.spec
SRPM: http://v3.sk/~lkundrak/SRPMS/git-bugzilla-0-0.2.20091211git.fc13.src.rpm

Comment 7 Thomas Spura 2009-12-23 15:23:53 UTC
(In reply to comment #6)
> > SHOULD:
> > - If the source package does not include license text(s) as a separate file
> > from upstream, the packager SHOULD query upstream to include it.
> 
> This is basically just one file; I'm not sure if upstream would include license
> separately.

Upstream don't *have* to include a license file, you just need to say hi and ask them to do so. If they don't, it'll ok, too.


Joshua, you started good. Do you intent continuing this review?

Comment 8 Thomas Spura 2010-01-04 02:47:20 UTC
(In reply to comment #7)
> Joshua, you started good. Do you intent continuing this review?  

He seems to don't...

I agree to his informal review.


############################


APPROVED

Comment 9 Lubomir Rintel 2010-01-04 09:07:00 UTC
Thank you!

New Package CVS Request
=======================
Package Name: git-bugzilla
Short Description: Attach patches to a bugzilla bug
Owners: lkundrak
Branches: F-11 F-12 EL-5

Comment 10 Kevin Fenzi 2010-01-04 20:24:33 UTC
cvs done.

Comment 11 Lubomir Rintel 2010-01-04 21:47:24 UTC
Thank you. Imported and built.

Comment 12 Ken Dreyer 2011-04-08 23:24:54 UTC
If you want to re-try building for EL-5, the missing dep (WWW::Mechanize) is now present.


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