Bug 468003 - Review Request: qmtest - an automated software test execution tool.
Summary: Review Request: qmtest - an automated software test execution tool.
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-22 10:37 UTC by Stefan Seefeld
Modified: 2009-01-01 09:33 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-01 09:33:04 UTC
Type: ---
Embargoed:
mtasaka: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Stefan Seefeld 2008-10-22 10:37:23 UTC
I'd like to submit the attached package for inclusion into Fedora.

Comment 1 Mamoru TASAKA 2008-10-22 13:20:46 UTC
Where are your spec/srpm?

Comment 2 Stefan Seefeld 2008-10-22 13:58:14 UTC
Hmm, something went wrong in my attempt to attach it.
Here are external links:
http://synopsis.fresco.org/download/srpm/qmtest-2.4-1.fc9.src.rpm
http://synopsis.fresco.org/download/srpms/qmtest.spec

Thanks,
           Stefan

Comment 3 Mamoru TASAKA 2008-10-22 17:40:23 UTC
Well, first of all:

* Some files (under qm/external/DocumentTemplate/) are licensed under
  ZPLv1.0, which is GPL incompatible. This must need fixing.

* By the way some document files refer to the URL
  http://www.software-carpentry.com/openpub-license.html
  for the license text but the link is broken.
  Do the licenses of these files match with
  doc/cli_reference.xml ?

Comment 4 Stefan Seefeld 2008-10-22 17:51:57 UTC
Thanks for the quick feedback, and thanks for pointing out the license issue. As you may have noticed, QMTest contains some Zope modules. While I did upgrade some of them a little while ago, I left out a few. It seems I should upgrade all of them, thus getting them all to be licensed under ZPL 2.1, which is GPL compatible.

The links to the Software Carpentry are broken because that site isn't alive any more. I will ask the relevant people to see what to do. We will probably pull out those now defunct URLs of those texts.

Thanks,
              Stefan

Comment 5 Mamoru TASAKA 2008-10-30 16:32:03 UTC
If there is any news please let me know it.

Comment 6 Stefan Seefeld 2008-11-17 03:21:39 UTC
I have fixed the two issues you made me aware of, i.e. I have upgraded the ZOPE license to 2.1, and I have replaced the now obsolete URL to www.software-carpentry.com.
I have uploaded a new source rpm and a new spec file:

http://synopsis.fresco.org/download/srpm/qmtest-2.4-2.fc9.src.rpm
http://synopsis.fresco.org/download/srpm/qmtest.spec

If you confirm that this passes the Fedora acceptance test I'll spin a new minor QMTest release (2.4.1) and then submit qmtest-2.4.1-1 for inclusion into Fedora.

Thanks,
            Stefan

Comment 7 Mamoru TASAKA 2008-11-17 07:29:29 UTC
Now legal issue is resolved. Assigning to myself.

Comment 8 Mamoru TASAKA 2008-11-19 06:31:21 UTC
For 2.4-2

* License
  ** There seems no files to specify GPL version
  ** Some codes/documents are under Open Publican
  - So the license tag should be "GPL+ and Open Publican"
  - Also some file contains the contents
    "(see the file LICENSE.OPL)", however I can find "LICENSE.OPL"
    file nowhere. Please add this.

* ldconfig
  - Calling ldconfig on scriptlets is not needed for this
    package.

* python module dependency
  - Please check if all python module dependency related
    rpms are correctly added to "Requires"

* Documents
  - Please also install "ChangeLog" "NEWS" as documents

Comment 9 Stefan Seefeld 2008-11-19 07:04:43 UTC
Here are updated package / spec file:

http://synopsis.fresco.org/download/srpm/qmtest-2.4-3.fc9.src.rpm
http://synopsis.fresco.org/download/srpm/qmtest.spec

I added the missing files (LICENSE.OPL, ChangeLog, NEWS), removed the redundant ldconfig call, and adjusted the license tag to "GPLv2 and Open Publication"

QMTest doesn't require any external Python modules, so there is nothing to add to "Requires".

Thanks !

Comment 10 Mamoru TASAKA 2008-11-19 08:10:46 UTC
(In reply to comment #9)
> and adjusted the license tag to "GPLv2 and Open Publication"

Well, would you tell me from what file you judged that this package
is GPL version 2 specific, not GPL at any version (i.e. not GPL+ but
GPLv2)?

Comment 11 Mamoru TASAKA 2008-11-27 07:59:42 UTC
ping?

Comment 12 Mamoru TASAKA 2008-12-07 16:05:11 UTC
ping again?

Comment 13 Stefan Seefeld 2008-12-11 15:04:51 UTC
I uploaded a new spec file and a new source rpm:

http://synopsis.fresco.org/download/srpm/qmtest-2.4-4.fc9.src.rpm
http://synopsis.fresco.org/download/srpm/qmtest.spec

The spec file now indicates "GPLv2+ and Open Publication", and the code contains some fixes to be compatible with Python 2.6.

Comment 14 Mamoru TASAKA 2008-12-11 16:17:12 UTC
Well, again would you tell me where it is indicated that this package
is licensed under GPLv2+, not GPL+ (GPL at any version)?

Note that just putting GPLv2 license text in the tarball does not mean that
the software is licensed under GPLv2 (because of section 9 of GPLv2 license
text). If there is GPLv2 license text, but no other files specifies the
version of GPL, then it is regarded that it is licensed under GPL+.

Comment 15 Stefan Seefeld 2008-12-11 16:58:47 UTC
I think you are wrong here. The file 'COPYING' that is referenced throughout the code clearly states that this is version 2.

Please note that the license text itself starts somewhat below, with 

GNU GENERAL PUBLIC LICENSE
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

So, the condition of section 9 is met by the very beginning of the COPYING file.

Comment 16 Mamoru TASAKA 2008-12-11 17:15:54 UTC
(In reply to comment #15)
> I think you are wrong here. The file 'COPYING' that is referenced throughout
> the code clearly states that this is version 2.
> 
> Please note that the license text itself starts somewhat below, with 
> 
> GNU GENERAL PUBLIC LICENSE
>    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
> 
> So, the condition of section 9 is met by the very beginning of the COPYING
> file.

So actually no. See this:
http://fedoraproject.org/wiki/Licensing/FAQ

Putting GPLv2 text only does not mean that the software is licensed under
GPLv2.

Comment 17 Stefan Seefeld 2008-12-11 17:52:11 UTC
The sources explicitly say "for license terms please see the file COPYING".
And even if you disregard that (to me clear) statement, the FAQ you cite mentions this (point 4.):

"Technically it could be under any license, but if all we have to go by is COPYING, we'll guess COPYING is accurate."

Finally, as I'm the maintainer, and my employer the copyright holder, it is not a matter of discussion what license QMTest is released under, but rather, where to put the licensing terms to make our users aware of them.

FWIW, the qmtest.com website (http://www.codesourcery.com/qmtest) clearly states that QMTest is available under GPL version 2. Is that what you are asking for ?

Comment 18 Mamoru TASAKA 2008-12-11 18:13:20 UTC
(In reply to comment #17)
> The sources explicitly say "for license terms please see the file COPYING".
> And even if you disregard that (to me clear) statement, the FAQ you cite
> mentions this (point 4.):
> 
> "Technically it could be under any license, but if all we have to go by is
> COPYING, we'll guess COPYING is accurate."

In this case we don't do any _guess_ (if possible) but check the license in
the technical point of view.

> Finally, as I'm the maintainer, and my employer the copyright holder, it is not
> a matter of discussion what license QMTest is released under, but rather, where
> to put the licensing terms to make our users aware of them.
> 
> FWIW, the qmtest.com website (http://www.codesourcery.com/qmtest) clearly
> states that QMTest is available under GPL version 2. Is that what you are
> asking for ?

I no longer trust website license information because I have seen many cases
in which the website license information is wrong due to various reasons.

By the way, if you are upstream all I want is that you put the explicit
declaration in the COPYING or README that this software is licensed under
GPL version 2.

Comment 19 Stefan Seefeld 2008-12-11 18:29:51 UTC
(In reply to comment #18)

> By the way, if you are upstream all I want is that you put the explicit
> declaration in the COPYING or README that this software is licensed under
> GPL version 2.

I'm sorry if I don't follow what you are saying. The COPYING file already starts with 

GNU GENERAL PUBLIC LICENSE
		       Version 2, June 1991

So how could I be more explicit than that ?

(And, in the same spirit: What do you exactly mean by "check the license in the technical point of view" ? The cited paragraph clearly says that in case nothing else is available the information (which includes the license version header right on top of COPYING) will be used.)

So, right now there are two references: the website, as well as the top of the COPYING file; both agree on the license being GPLv2. What else does it take to convince you ?

Comment 20 Jason Tibbitts 2008-12-11 20:15:22 UTC
Stefan, would you mind reading the rest of the COPYING file?  Down where in term 9 it says:

If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.

This is where the whole issue comes from.  You cannot just say "Look at the COPYING file".  Well, you can, but that file is rather explicit in saying that then someone who wishes to distribute the software can choose GPLv1 if they want.  The FSF is really clear that every source file needs to contain a specific block of text indicating, among other things, the license version in use.

Now, there's a whole procedure to go through in determining the intent of the author if they have chosen for some reason to leave off those blocks of text.  Upstream web sites can be used assuming that we can establish that they are authoried by the same entity which authored the software.  But that's really a case-by-case thing that the legal folks need to look at.

Isn't it just simpler to include an actual statement of the license version?

Comment 21 Stefan Seefeld 2008-12-11 21:16:05 UTC
OK, here you go:

README file is changed, to explicitly state 'version 2', and qmtest.spec file is changed (back) to 'GPLv2', so both now agree with the website (qmtest.com).

http://synopsis.fresco.org/download/srpm/qmtest-2.4-5.fc9.src.rpm
http://synopsis.fresco.org/download/srpm/qmtest.spec

Comment 22 Mamoru TASAKA 2008-12-12 13:16:34 UTC
Okay, please fix %changelog entry and upload 2.4.1 tarball when ready.

----------------------------------------------------
    This package (qmtest) is APPROVED by mtasaka
----------------------------------------------------

Please follow the procedure written on:
http://fedoraproject.org/wiki/PackageMaintainers/Join
from "Get a Fedora Account".
After you request for sponsorship a mail will be sent to sponsor 
members automatically (which is invisible for you) which notifies 
that you need a sponsor. After that, please also write on
this bug for confirmation that you requested for sponsorship and
your FAS (Fedora Account System) name. Then I will sponsor you.

If you want to import this package into Fedora 9/10, you also have
to look at
http://fedoraproject.org/wiki/Infrastructure/UpdatesSystem/Bodhi-info-DRAFT
(after once you rebuilt this package on koji Fedora rebuilding system).

If you have questions, please ask me.

Comment 23 Stefan Seefeld 2008-12-17 04:24:08 UTC
I just released QMTest 2.4.1. The source package is available from
http://www.codesourcery.com/public/qmtest/qmtest-2.4.1/qmtest-2.4.1.tar.gz

It includes the qmtest.spec file.

I have created a Fedora account (username=stefan), and added FE_NEEDSPONSOR to the block field of this bug. Please let me know if you need anything else.

Thanks,
       Stefan

Comment 24 Mamoru TASAKA 2008-12-17 17:13:53 UTC
$ LANG=C rpmbuild -ts qmtest-2.4.1.tar.gz 
error: Failed to read spec file from qmtest-2.4.1.tar.gz
?? (anyway would you provide your srpm? It is much
    helpful)

By the way I am sponsoring you now.

Comment 25 Stefan Seefeld 2008-12-17 19:00:25 UTC
I have uploaded an srpm and a spec file to http://stefan.fedorapeople.org/.

By the way, is there any reason why the source package name includes the build platform ('fc9') ? This isn't actually a platform-specific file, or is it ?
If not, shall I rename such files in the future before uploading (or importing into CVS) ?

Thanks,
          Stefan

Comment 26 Mamoru TASAKA 2008-12-18 18:58:39 UTC
Well, 
- I just noticed that many HTML files have "Generated by Epydoc 3.0.1"
  comments. Does this mean that document HTML files in qmtest can be regenerated
  by using epydoc (this is available in Fedora)?

- By the way would you preserve the old %changelog entry?
  ("initial package" for 2.4.1 don't seem proper)

(In reply to comment #25)
> By the way, is there any reason why the source package name includes the build
> platform ('fc9') ? 
- Because rpmbuild -bs just expands %{?dist} value.

> This isn't actually a platform-specific file, or is it ?
- In short, you need not take care of this.
  If your srpm is rebuild on a platform where dist is defined as ".fc11",
  the rebuilt binary rpms will have ".fc11" in their names.
  i.e. %{?dist} value is re-valuated  when rebuilding binary rpms
        and the binary rpms are "renamed" properly.
  Also Fedora CVS system can treat this correctly.

Comment 27 Stefan Seefeld 2008-12-18 19:13:33 UTC
(In reply to comment #26)
> Well, 
> - I just noticed that many HTML files have "Generated by Epydoc 3.0.1"
>   comments. Does this mean that document HTML files in qmtest can be
> regenerated
>   by using epydoc (this is available in Fedora)?

Yes. Our released source tarballs already ship with them, though, so there is no need to regenerate anything. (And, we have used different tools to generate those docs in the past (such as HappyDoc or Synopsis), so I wouldn't want to hardcode the use of epydoc into the spec file or the build system, for example.

> - By the way would you preserve the old %changelog entry?
>   ("initial package" for 2.4.1 don't seem proper)

Well, 2.4.1 is the first QMTest release for which I build rpm packages.

> (In reply to comment #25)
> > By the way, is there any reason why the source package name includes the build
> > platform ('fc9') ? 
> - Because rpmbuild -bs just expands %{?dist} value.

OK, I understand where the name is coming from. I don't understand whether changing the name of the source rpm (removing the {?dist} tag) would be wrong.

But that was just out of interest. There is no need to rename anything.

Thanks,
          Stefan

Comment 28 Mamoru TASAKA 2008-12-19 17:07:46 UTC
Okay, then this package can be approved.

Now please follow "Join" wiki:
http://fedoraproject.org/wiki/PackageMaintainers/Join

(By the way would you also update Synopsis?)

Comment 29 Stefan Seefeld 2008-12-21 21:20:10 UTC
New Package CVS Request
=======================
Package Name: qmtest
Short Description: an automated software test execution tool.
Owners: stefan
Branches: F-9 F-10
InitialCC:

Comment 30 Kevin Fenzi 2008-12-23 02:44:24 UTC
cvs done.

Comment 31 Stefan Seefeld 2008-12-31 16:59:40 UTC
I have imported qmtest into cvs, and built it:
http://koji.fedoraproject.org/koji/packageinfo?packageID=7353

Is there anything else for me to do at this point ? Will the package eventually show up via yum ?
(The same questions apply to the Synopsis package.)

Thanks,

Comment 32 Mamoru TASAKA 2008-12-31 17:26:35 UTC
For F-10/9:
- Please visit bodhi web interface:
  https://admin.fedoraproject.org/updates/
  and submit requests to push the rebuilt packages to repositories.

For 11:
- The rebuilt packages will be (or maybe already have been) pushed
  into repository.

Comment 33 Mamoru TASAKA 2008-12-31 17:27:03 UTC
By the way a Happy New Year!

Comment 34 Stefan Seefeld 2008-12-31 20:25:21 UTC
OK, I requested updates for QMTest and Synopsis for both F9 and F10. I guess this issue (as well as #438543) can now be closed. Thanks for all your help !

And a Happy New Year to you, too ! :-)

Comment 35 Mamoru TASAKA 2009-01-01 09:33:04 UTC
Thanks. When you think the requested packages can be moved from
testing to stable, please revisit the bodhi interface and edit
your requests.

Closing as NEXTRELEASE.


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