http://bugzilla.novell.com/show_bug.cgi?id=494200
Summary: the lcov program should have its own package (now it is in kernel-coverage) Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mar.pollo@gmail.com QAContact: qa@suse.de Found By: ---
User-Agent: Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.0.8) Gecko/2009032600 SUSE/3.0.8-1.1.1 Firefox/3.0.8 GTB5
The «lcov» program is found in the «kernel-coverage» package in the «openSuSE 11.1 OSS» repository. That package depends on kernel-source, that weighs ~300MB and is updated with each kernel update. So when I wanted to install lcov (~1MB) I had to download ~300MB of data, and every kernel update I download several useless MB. I think lcov should have a separate package, and the kernel-coverage package should depend on it.
Reproducible: Always
Steps to Reproduce: 1. 2. 3.
http://bugzilla.novell.com/show_bug.cgi?id=494200
Marco Poletti mar.pollo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|Other |Other Version|Final |Milestone 7 AssignedTo|nld10-bugs-qa@forge.provo.n |bnc-team-screening@forge.pr |ovell.com |ovo.novell.com Product|openSUSE 11.1 |openSUSE 11.2 Target Milestone|--- |unspecified OS/Version|openSUSE 11.1 |SuSE Other
http://bugzilla.novell.com/show_bug.cgi?id=494200
zhu rensheng rszhu@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rszhu@novell.com AssignedTo|bnc-team-screening@forge.pr |fhe@novell.com |ovo.novell.com |
http://bugzilla.novell.com/show_bug.cgi?id=494200
fan he fhe@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
http://bugzilla.novell.com/show_bug.cgi?id=494200
User fhe@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=494200#c2
fan he fhe@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |INVALID
--- Comment #2 from fan he fhe@novell.com 2009-09-22 02:06:18 MDT --- one main function of lcov is to collect coverage data from the currently running Linux kernel, so it does need the kernel source. so we define that it depends on the kernel source.
if you only need the other function from lcov but not about the kernel-coverage, you can install this package by using the force and nodpes option from comline. then you can use lcov command.
http://bugzilla.novell.com/show_bug.cgi?id=494200
User mar.pollo@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=494200#c3
--- Comment #3 from Marco Poletti mar.pollo@gmail.com 2009-09-22 03:38:12 MDT --- What's the problem in creating a package "lcov" and make "kernel-coverage" depend upon it? "lcov" is used to check quality of test suites; now developers either know this issue, and pass the correct options to zypper, or have the kernel-source dependency. For comparison, you can find the "lcov" package in Ubuntu (http://packages.ubuntu.com/jaunty/lcov) and Fedora (https://admin.fedoraproject.org/pkgdb/packages/name/lcov).
lcov is already in BuildService (http://download.opensuse.org/repositories/home:/dgollub/openSUSE_Factory/noa...), but why add another (unofficial, maybe unstable) repository when you could find the same package in the main repository?
http://bugzilla.novell.com/show_bug.cgi?id=494200
User poletti.marco@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=494200#c4
Marco Poletti poletti.marco@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|INVALID |
--- Comment #4 from Marco Poletti poletti.marco@gmail.com 2009-09-23 22:22:50 CEST --- I reopen this for 3 reasons:
1) "lcov" is not only used for kernel, people expect to find it in a package called "lcov" (or similar) as Ubuntu and Fedora do. 2) People that use "cnf lcov" and run the suggested ("sudo zypper in [...]") command shouldn't get all kernel-source installed. 3) There is no intuitive way to install it right (without downloading 300MB right away and after each kernel update) in the first place: you have to know those rarely-used zypper options and know you should use them in this case.
I see no disadvantages in splitting this, apart from the initial work required for splitting. People that install kernel-coverage will have both lcov and kernel-source.
http://bugzilla.novell.com/show_bug.cgi?id=494200
User coolo@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=494200#c6
Stephan Kulow coolo@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED CC| |coolo@novell.com Info Provider|coolo@novell.com |
--- Comment #6 from Stephan Kulow coolo@novell.com 2009-09-24 09:44:35 MDT --- Marco, just submitrequest your change. Factory development is open for everyone. You're right, the work is in the initial splitting - but if you do it, there is little argument left.
But you should have done so before 11.2 deadlines. Perhaps for 11.3
http://bugzilla.novell.com/show_bug.cgi?id=494200
User poletti.marco@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=494200#c7
--- Comment #7 from Marco Poletti poletti.marco@gmail.com 2009-09-25 09:16:33 CEST ---
@Stephan
I have packaged them in my home (https://build.opensuse.org/project/show?project=home%3Apoletti_marco). This is the first time I package something, please check if I did it right.
What should I do next? Can I submit lcov and kernel-coverage to a repository now (how?) or wait the release of 11.3?
http://bugzilla.novell.com/show_bug.cgi?id=494200
User coolo@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=494200#c8
Stephan Kulow coolo@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|fhe@novell.com |poletti.marco@gmail.com
--- Comment #8 from Stephan Kulow coolo@novell.com 2009-09-25 02:21:12 MDT --- you can submit them to a repository by using osc submitrequest - but please wait for 11.3.
For kernel-coverage you better use a source link to openSUSE:Factory and change that - now you overwrote other's changes.
http://bugzilla.novell.com/show_bug.cgi?id=494200
User poletti.marco@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=494200#c9
--- Comment #9 from Marco Poletti poletti.marco@gmail.com 2009-09-25 10:27:11 CEST ---
For kernel-coverage you better use a source link to openSUSE:Factory and change that - now you overwrote other's changes.
I'm a noob in packaging, I don't understand what you said. Your «that» refers to openSUSE:Factory or to my repository? I didn't understand why I overwrote some changes, weren't all my modifications local to my home repository?
http://bugzilla.novell.com/show_bug.cgi?id=494200
User poletti.marco@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=494200#c10
--- Comment #10 from Marco Poletti poletti.marco@gmail.com 2009-09-25 10:29:32 CEST --- Another thing: can I submit my "lcov" package to devel:tools right away?
http://bugzilla.novell.com/show_bug.cgi?id=494200
User coolo@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=494200#c11
--- Comment #11 from Stephan Kulow coolo@novell.com 2009-09-25 03:02:54 MDT --- @#9: you did not use openSUSE:Factory as base for some reason. Do the following: cd home:poletti_marco cp -a kernel-coverage kernel-coverage.backup osc rdelete home:poletti_marco kernel-coverage osc linkpac openSUSE:Factory kernel-coverage home:poletti_marco osc up osc up -e cp kernel-coverage.backup/* kernel-coverage cd kernel-coverage osc addremove osc diff
You should see the diff of the .changes file yourself then.
@#10: you can, but it will conflict with kernel-coverage for now.
http://bugzilla.novell.com/show_bug.cgi?id=494200
Marco Poletti poletti.marco@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED
http://bugzilla.novell.com/show_bug.cgi?id=494200
http://bugzilla.novell.com/show_bug.cgi?id=494200#c12
--- Comment #12 from Marco Poletti poletti.marco@gmail.com 2010-01-02 17:57:30 CET --- Ok, I have executed those commands and 11.2 is out. Can I submit these packages to a repository now? Which one?
http://bugzilla.novell.com/show_bug.cgi?id=494200
Marco Poletti poletti.marco@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #13 from Marco Poletti poletti.marco@gmail.com --- lcov is in 12.2 and later. Closing this.