Bugzilla setup for Lm_sensors
Please see below for our conversation on Bugzilla topics. Comments wanted!
Phil
Quoted 62 lines · Axel Thimm
Quoted 28 lines · Philip Edelbrock
Quoted 15 lines · Axel Thimm
Quoted 7 lines
I'm thinking 'i2c' and '
lm_sensors' for the products. And then breaking out each driver (chip and bus) for the components, each app in 'prog' (e.g. 'i2c-detect','sensors-detect',etc.) and adding either a catchall for the rest of the code or breaking them out further (e.g. 'dev', 'proc', 'core', etc.).What do you think?
That sounds sane. The most invariant decision is the products part. components can be easily added or removed or left unspecified.
I wished there were a hierachical structure in components, so that one could use
Quoted 8 lines
|-->chips | |-->... | |-->... |-->bussesbut there isn't, it has to be kept flat (or we embed the hierachy in the components like "chips:lm93").
Quoted 5 lines
Yeah. The nice thing with the project is that all bus drivers start with 'i2c-', so by the names alone we can tell if it is a chip or bus driver. But will that be abvious enough for everyone else? (Especially users submitting bugs?) But, it would look add to see all bus drivers labelled the same "busses:i2c-..."
I agree, it should be kept as simple as possible, and there aren't miriads of components (Red Hat for instance has > 1000 for each rpm package).
So how about simply using
adm1021 adm1024 adm1025 adm1026 adm1031 adm9240 asb100 bmcsensors bt869 ddcmon
dmi_scands1307 ds1621 eeprom fscher fscpos fscscy gl518sm gl520sm i2c-adap-ibm_ocp i2c-algo-8xx i2c-algo-bit i2c-algo-biths i2c-algo-ibm_ocp i2c-algo-pcf i2c-ali1535 i2c-ali15x3 i2c-amd756 i2c-amd756-s4882 i2c-amd8111 i2c-core i2c-dev i2c-elektor i2c-elv i2c-frodo i2c-hydra i2c-i801 i2c-i810 i2c-iop3xx i2c-ipmb i2c-ipmi i2c-isa i2c-keywest i2c-nforce2 i2c-pcf-epp i2c-philips-par i2c-piix4 i2c-pport i2c-proc i2c-rpx i2c-savage4 i2c-sis5595 i2c-sis630 i2c-sis645 i2c-tsunami i2c-velleman i2c-via i2c-viapro i2c-virtual i2c-voodoo3 icspll it87 lm63 lm75 lm78 lm80 lm83 lm85 lm87 lm90 lm92 lm93 ltc1710 matorb max1619 max6650 maxilife mtp008 pc87360 pca9540 pca954x pcf8574 pcf8591 saa1064 sis5595 smartbatt smbus-arp smsc47m1 thmc50 via686a vt1211 vt8231 w83627hf w83781d w83l785ts xeontempfor the kernel components?
The main purpose of components is for developers to be auto-assigned them and to be able to sort easier through the bugs.
Quoted 7 lines · Jean Delvare
Hi Phil, hi Axel,
Quoted 2 lines
Please see below for our conversation on Bugzilla topics. Comments wanted!
Quoted 7 lines
First of all, thanks a lot for working on this. I will be very happy when we finally move from our old ticket system to bugzilla :) Don't get me wrong, the old ticket system isn't all bad and I appreciate the work that was made on it, but the limitations it had (no possible follow-up by the submitter to name only the major one) made it hard to use efficiently.
Thanks, I wrote it a looooong time ago. :') Glad it's served us well, but we've definitely grown out of it. I expected to have, say, a few hundred tickets. Not the ~1,700 we have now!
Quoted 7 lines
Quoted 7 lines
I'm thinking 'i2c' and '
lm_sensors' for the products. And then breaking out each driver (chip and bus) for the components, each app in 'prog' (e.g. 'i2c-detect','sensors-detect',etc.) and adding either a catchall for the rest of the code or breaking them out further (e.g. 'dev', 'proc', 'core', etc.).
Quoted 8 lines
Quoted 1 line
What do you think?
What are these "Products"? When looking at the kernel's bugzilla I see categories and components within the categories, but no products.
I was looking at RH's:
https://bugzilla.redhat.com/bugzilla/query.cgi?format=simple
I think it's the same, it's just a labelling difference.
Quoted 64 lines
I am not sure that formally splitting i2c and
lm_sensorsas products is wise. There are a couple bus drivers in the i2c package while the other ones are inlm_sensors. Also, the split between i2c andlm_sensorsmight not be clear to the user so it might confuse them more than help.Quoted 10 lines
I wished there were a hierachical structure in components, so that one could use
|-->chips | |-->... | |-->... |-->bussesbut there isn't, it has to be kept flat (or we embed the hierachy in the components like "chips:lm93").
I would use the Categories for that. I would propose the following categories, with non-exhaustive components lists:
i2c core drivers
|--> i2c-core |--> i2c-proc |--> i2c-dev |--> i2c-isa bus drivers |--> i2c-ali15x3 |--> i2c-ali1535 |--> i2c-i801 |--> i2c-viapro |--> ... chip drivers |--> adm1021 |--> adm1025 |--> adm1031 |--> it87 |--> lm63 |--> lm75 |--> lm80 |--> lm83 |--> lm85 |--> lm87 |--> lm90 |--> lm92 |--> lm93 |--> via686a |--> vt1211 |--> vt8231 |--> w83781d |--> w83627hf |--> ... userspace tools |--> sensors |--> sensord |--> sensors-detect |--> i2cdetect |--> i2cdump |--> i2cset |--> isadump |--> isaset |--> ddcmon |--> ...
Quoted 2 lines
I guess it somehow covers the hierarchical structure you were thinking of.
I like this. Seems more intuitive than what I originally was thinking.
Quoted 10 lines
Quoted 3 lines
The main purpose of components is for developers to be auto-assigned them and to be able to sort easier through the bugs.
Completely agree. It would help much if we could all get an alert when one of "our" drivers gets a report, instead of having to watch the tickets as they are created and ignore those we don't feel competent for.
Phil
Hi Phil, hi Axel,
Quoted 2 lines
Please see below for our conversation on Bugzilla topics. Comments wanted!
First of all, thanks a lot for working on this. I will be very happy when we finally move from our old ticket system to bugzilla :) Don't get me wrong, the old ticket system isn't all bad and I appreciate the work that was made on it, but the limitations it had (no possible follow-up by the submitter to name only the major one) made it hard to use efficiently.
Quoted 7 lines
I'm thinking 'i2c' and '
lm_sensors' for the products. And then breaking out each driver (chip and bus) for the components, each app in 'prog' (e.g. 'i2c-detect','sensors-detect',etc.) and adding either a catchall for the rest of the code or breaking them out further (e.g. 'dev', 'proc', 'core', etc.).What do you think?
What are these "Products"? When looking at the kernel's bugzilla I see categories and components within the categories, but no products.
http://bugzilla.kernel.org/query.cgi
I am not sure that formally splitting i2c and lm_sensors as products is wise. There are a couple bus drivers in the i2c package while the other ones are in lm_sensors. Also, the split between i2c and lm_sensors might not be clear to the user so it might confuse them more than help.
Quoted 10 lines
I wished there were a hierachical structure in components, so that one could use
|-->chips | |-->... | |-->... |-->bussesbut there isn't, it has to be kept flat (or we embed the hierachy in the components like "chips:lm93").
I would use the Categories for that. I would propose the following categories, with non-exhaustive components lists:
i2c core drivers
|--> i2c-core
|--> i2c-proc
|--> i2c-dev
|--> i2c-isa
bus drivers
|--> i2c-ali15x3
|--> i2c-ali1535
|--> i2c-i801
|--> i2c-viapro
|--> ...
chip drivers
|--> adm1021
|--> adm1025
|--> adm1031
|--> it87
|--> lm63
|--> lm75
|--> lm80
|--> lm83
|--> lm85
|--> lm87
|--> lm90
|--> lm92
|--> lm93
|--> via686a
|--> vt1211
|--> vt8231
|--> w83781d
|--> w83627hf
|--> ...
userspace tools
|--> sensors
|--> sensord
|--> sensors-detect
|--> i2cdetect
|--> i2cdump
|--> i2cset
|--> isadump
|--> isaset
|--> ddcmon
|--> ...I guess it somehow covers the hierarchical structure you were thinking of.
Quoted 2 lines
The main purpose of components is for developers to be auto-assigned them and to be able to sort easier through the bugs.
Completely agree. It would help much if we could all get an alert when one of "our" drivers gets a report, instead of having to watch the tickets as they are created and ignore those we don't feel competent for.
Thanks again,
--
Jean Delvare
Hi,
Quoted 8 lines · Philip Edelbrock
Quoted 7 lines · Jean Delvare
Quoted 6 lines
I'm thinking 'i2c' and '
lm_sensors' for the products. And then breaking out each driver (chip and bus) for the components, each app in 'prog' (e.g. 'i2c-detect','sensors-detect',etc.) and adding either a catchall for the rest of the code or breaking them out further (e.g. 'dev', 'proc', 'core', etc.).
What do you think?
Quoted 4 lines
Quoted 2 lines
What are these "Products"? When looking at the kernel's bugzilla I see categories and components within the categories, but no products.
I think it's the same, it's just a labelling difference.
Yes, they are the same, just a different "locale" :)
Quoted 18 lines
Quoted 17 lines
I would use the Categories for that. I would propose the following categories, with non-exhaustive components lists:
i2c core drivers
|--> i2c-core |--> i2c-proc |--> i2c-dev |--> i2c-isa bus drivers |--> i2c-ali15x3 |--> i2c-ali1535 |--> i2c-i801 |--> i2c-viapro |--> ...chip drivers
|--> adm1021
|--> adm1025
Quoted 2 lines
Quoted 1 line
I guess it somehow covers the hierarchical structure you were thinking of.
I like this. Seems more intuitive than what I originally was thinking.
I've set up a draft bugzilla on http://bugzilla.lm-sensors.org/ for playing with. Don't enter any serious bugs as the bugs will be wiped before going in production :)
I haven't yet renamed products to categories as one of the things to test is whether this hierarchical setup is OK or not.
I also allowed for flags, votes, milestone, QA contact and status whiteboard fields. Some of them are probably too much (or not) for lm_sensors, but I activated them for demonstration purposes. Anything that does not serve lm_sensors' needs will be dropped before going up.
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
The main purpose of components is for developers to be auto-assigned them and to be able to sort easier through the bugs.
Completely agree. It would help much if we could all get an alert when one of "our" drivers gets a report, instead of having to watch the tickets as they are created and ignore those we don't feel competent for.
Which brings up the question: Who is the "initial owner" of each of the catgories above? I tend to think, that we need a dummy bugzilla account that is a catch-all, at least for the beginning. Perhaps abusing [email protected], so that all lm_sensors developers get to see bugzilla mail on orphaned bugs.
For testing the bugzilla entity: Just create your account. You will have user access, e.g. you will be able to create new bugs, comment on others, menipulate your own bugs as submitters etc.
For testing the administrative part send me your created login account in PM and I will activate administrative access for it (like adding new components, new keywords, new flags, editing users etc).
Signature · 8 lines
Axel.Thimm at ATrpms.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050118/27d616ff/attachment.bin
Hi,
Quoted 6 lines · Jean Delvare
Quoted 3 lines
I've set up a draft bugzilla on http://bugzilla.lm-sensors.org/ for playing with. Don't enter any serious bugs as the bugs will be wiped before going in production :)
1* We would need a list of versions of
lm_sensorsthat existed to be picked from.
Yes, I had forgotten to place some versions to play with. I added some to "bus drivers" as a demo.
Quoted 3 lines
2* I would replace Platform with Architecture, and list there all architectures supposedly supported by
lm_sensors(+ "other" just in case).
Which are these? i386 and x86_64?
Quoted 2 lines
3* I don't feel a need for a Priority setting. Severity should be sufficient.
I think this cannot be dumbed. It is also a bit different. A blocker severity in a development version could be of lower priority than a major serverity of security issues in a released version. Or you could move an enhancement at higher priority than a trivial fix etc.
Quoted 9 lines
4* OS can go, as we only support Linux anyway. What would be more interesting would be a version of Linux, which would be a free input (because there are that many, and also because people will often report non-vanilla versions).
Maybe we can keep the OS to make a difference between the Linux trees (2.4, 2.6, and older ones for recovered tickets). This could help people having a problem which they think only affect a given tree (think procfs or sysfs issues).
That's a good idea. bugzilla only supports one-dimensional versioning, e.g. it would not be able to really deal with lm_sensors x Linux version tuples. By abusing the OS field, we can effectivly achive that. :)
Quoted 3 lines
5* Not sure why the reporter would be left a choice for the Initial State. What is this "Unconfirmed" state for? A new report is, err, New, period.
Unconfirmed means it may be not a bug at all. New means it is a bug but has not yet been assigned to anyone. You can drop the unconfirmed, I currently set it up for having to vote (with one vote) to make a bug new. Personally I don't think voting in general makes sense, but I left it for playing.
Quoted 4 lines
Quoted 2 lines
I haven't yet renamed products to categories as one of the things to test is whether this hierarchical setup is OK or not.
Looks OK to me except for the lack of user-space category.
OK, added. But not components, yet, so it does not show up. Try adding some to see the mechanics of it (You are and admin now).
Quoted 6 lines
Quoted 4 lines
I also allowed for flags, votes, milestone, QA contact and status whiteboard fields. Some of them are probably too much (or not) for
lm_sensors, but I activated them for demonstration purposes. Anything that does not servelm_sensors' needs will be dropped before going up.I think I see what milestones and votes are for. But what are flags?
flags can be used for example to ask for a review before commiting something. check out the example on
http://www.bugzilla.org/docs/2.18/html/flags-overview.html
Quoted 2 lines
Is QA Contact something different than the default assignee for this category? If yes, I don't think we need this.
It's the supervisor of the poor assignee, I also don't like him ;)
Quoted 12 lines
Quoted 5 lines
Which brings up the question: Who is the "initial owner" of each of the catgories above? I tend to think, that we need a dummy bugzilla account that is a catch-all, at least for the beginning. Perhaps abusing [email protected], so that all
lm_sensorsdevelopers get to see bugzilla mail on orphaned bugs.Each non-core driver would have a specific owner (current maintainer) providing this person actually has a bugzilla account. For the rest of the items, we can attribute them on a voluntarism basis, and using the mailing-list for the remaining items and core items seems fine. And if it doesn't please us in the long run we can change then.
Quoted 6 lines
Quoted 3 lines
For testing the administrative part send me your created login account in PM and I will activate administrative access for it (like adding new components, new keywords, new flags, editing users etc).
Please do for me: (my e-mail address - don't think this is a really private information so I don't think a PM was needed at all ;))
Done so.
Signature · 8 lines
Axel.Thimm at ATrpms.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050119/59b20250/attachment.bin
Quoted 8 lines · Jean Delvare
Hi Rudolf,
Quoted 3 lines
How will be situations as driver merge/name
change/ or obsoleted driver/ handled? Do you plan to change name of sis-645 to obsoleted sis-645 or make special cathegory/whatever?
Quoted 8 lines
This doesn't concern that many drivers so I don't think this will be a problem. People will simply pick the driver they use and have an issue with. We don't much care if that driver used to have a different name or has been obsoleted by a newer driver. IOW I would suggest as many items as we have or had driver names, regardless of the state of driver (we definitely have to forget what we know about the driver's history and only consider what the user knows - i.e. not much).
I agree. List everything and we can and tag issues as 'OBSOLETE' or 'WONTFIX' or whatever as needed. Even if we make an effort to exclude old modules now, we'll still have them in the future as things age and die.
Quoted 9 lines
Quoted 2 lines
How for 2.6 kernels how for 2.4 tree?
I guess that we will have a field for the kernel version (free input?) as well as for the
lm_sensorsversion (drop down list?). This should be sufficient to figure out what the reporter's setup is. Anything special you were about to suggest?
Humm, I tried to find a reference to another project like ours which tracks bugs in kernels as well as their own releases. I couldn't find one. Alsa is pretty similar, but you can only choose one of their own release versions. SCSI, firewire, and usb don't even have a bug tracking system. (scsi and usb use bitkeeper, btw).
Speaking of Bitkeeper, should we add that to the list of possible repository systems (CVS, SVN, and bk)?
Phil
Hi Philip,
Quoted 2 lines
Speaking of Bitkeeper, should we add that to the list of possible repository systems (CVS, SVN, and bk)?
I don't think we need the power of BitKeeper for this project (we don't work much with branches, nor do I think we should, and this is where BitKeeper really shines). Since not everyone likes BitKeeper's license (even if things are improving these days), I guess it's easier for everyone if we stick to CVS or SVN (SVN being my first choice, because it allows renaming/moving files).
--
Jean Delvare
Hello,
Maybe silly questions.
How will be situations as driver merge/name
change/ or obsoleted driver/ handled? Do you plan to change name of sis-645 to obsoleted sis-645 or make special cathegory/whatever?
How for 2.6 kernels how for 2.4 tree?
Thanks
Rudolf
Hi Rudolf,
Quoted 3 lines
How will be situations as driver merge/name
change/ or obsoleted driver/ handled? Do you plan to change name of sis-645 to obsoleted sis-645 or make special cathegory/whatever?
This doesn't concern that many drivers so I don't think this will be a problem. People will simply pick the driver they use and have an issue with. We don't much care if that driver used to have a different name or has been obsoleted by a newer driver. IOW I would suggest as many items as we have or had driver names, regardless of the state of driver (we definitely have to forget what we know about the driver's history and only consider what the user knows - i.e. not much).
Quoted 1 line
How for 2.6 kernels how for 2.4 tree?
I guess that we will have a field for the kernel version (free input?) as well as for the lm_sensors version (drop down list?). This should be sufficient to figure out what the reporter's setup is. Anything special you were about to suggest?
--
Jean
Hi Axel & all,
Quoted 5 lines
Quoted 2 lines
1* We would need a list of versions of
lm_sensorsthat existed to be picked from.Yes, I had forgotten to place some versions to play with. I added some to "bus drivers" as a demo.
This raises another point. If we go with multiple "products", this suggests that each one has its own set of versions, right? It doesn't quite work (simply becuse what we have are products, but components). I don't quite feel like adding each new version 4 times. Is there a way around this?
Also, the versions show older first, I guess it would make more sense with newer first?
Quoted 5 lines
Quoted 3 lines
2* I would replace Platform with Architecture, and list there all architectures supposedly supported by
lm_sensors(+ "other" just in case).Which are these? i386 and
x86_64?
And alpha and ppc, and sparc64 at least. I *think* that's all for now, but the list may grow later if needed.
Quoted 7 lines
Quoted 2 lines
3* I don't feel a need for a Priority setting. Severity should be sufficient.
I think this cannot be dumbed. It is also a bit different. A blocker severity in a development version could be of lower priority than a major serverity of security issues in a released version. Or you could move an enhancement at higher priority than a trivial fix etc.
I understand the difference between priority and severity. What I meant is that we have no need for priorities due to the way we work. We have no roadmaps for the releases. Basically we release a new version every three months or so, with no named goal in mind. And, when there are high priority tasks, they are usually not bug reports so they won't show in bugzilla.
Quoted 5 lines
Unconfirmed means it may be not a bug at all. New means it is a bug but has not yet been assigned to anyone. You can drop the unconfirmed, I currently set it up for having to vote (with one vote) to make a bug new. Personally I don't think voting in general makes sense, but I left it for playing.
Frankly I don't count on the reporters to properly fill this. People are always sure that hey found a bug - it is then up to us to make them realize it might be something different.
I agree that the votes don't make much sense at least for us. We don't have a sufficient volume of users and reports to take benefit of it. Better let users add a "me too" comment on an existing comment when they want us to take a look at a specific bug.
Quoted 3 lines
flags can be used for example to ask for a review before commiting something. check out the example on
http://www.bugzilla.org/docs/2.18/html/flags-overview.html
Ah, that's nice, especially for patches. We don't have a need for these right now but I guess that switching to bugzilla will change the way people report bugs, which in turn may change the way we work. Time will tell.
Quoted 4 lines
Quoted 2 lines
Is QA Contact something different than the default assignee for this category? If yes, I don't think we need this.
It's the supervisor of the poor assignee, I also don't like him ;)
We don't need this at all then.
Another point: migration of the exiting base. Phil, I guess this would fall under your responsability? I guess we would need some script that can access both the old base (in pgsql) and the new one (I guess in mysql) and transfer all the tickets. It is particularly important that ticket numbers are preserved. Then the attributs of each ticket have to be set manually since I can't think of a way to automate this. I guess we would also need a special user for these imported tickets since we won't possibly create accounts for all previous reporters.
Thanks,
--
Jean Delvare
Hi Axel, hi Philip,
Quoted 3 lines
I've set up a draft bugzilla on http://bugzilla.lm-sensors.org/ for playing with. Don't enter any serious bugs as the bugs will be wiped before going in production :)
Great.
Here are some random thoughts.
1* We would need a list of versions of lm_sensors that existed to be picked from. I guess we can start at 2.0.0, and drop the few tickets of the old base that refer to older versions. We might even set the reversed deadline after that and drop everything before 2.5.0 for example. Moving all the old tickets to the new base will be a significant work so this would limit it, and I don't think anybody care about these very very old tickets anyway. Default to the latest version.
2* I would replace Platform with Architecture, and list there all architectures supposedly supported by lm_sensors (+ "other" just in case).
3* I don't feel a need for a Priority setting. Severity should be sufficient.
4* OS can go, as we only support Linux anyway. What would be more interesting would be a version of Linux, which would be a free input (because there are that many, and also because people will often report non-vanilla versions).
Maybe we can keep the OS to make a difference between the Linux trees (2.4, 2.6, and older ones for recovered tickets). This could help people having a problem which they think only affect a given tree (think procfs or sysfs issues).
5* Not sure why the reporter would be left a choice for the Initial State. What is this "Unconfirmed" state for? A new report is, err, New, period.
Quoted 2 lines
I haven't yet renamed products to categories as one of the things to test is whether this hierarchical setup is OK or not.
Looks OK to me except for the lack of user-space category.
Quoted 4 lines
I also allowed for flags, votes, milestone, QA contact and status whiteboard fields. Some of them are probably too much (or not) for
lm_sensors, but I activated them for demonstration purposes. Anything that does not servelm_sensors' needs will be dropped before going up.
I think I see what milestones and votes are for. But what are flags?
Is QA Contact something different than the default assignee for this category? If yes, I don't think we need this.
Quoted 5 lines
Which brings up the question: Who is the "initial owner" of each of the catgories above? I tend to think, that we need a dummy bugzilla account that is a catch-all, at least for the beginning. Perhaps abusing [email protected], so that all
lm_sensorsdevelopers get to see bugzilla mail on orphaned bugs.
Each non-core driver would have a specific owner (current maintainer) providing this person actually has a bugzilla account. For the rest of the items, we can attribute them on a voluntarism basis, and using the mailing-list for the remaining items and core items seems fine. And if it doesn't please us in the long run we can change then.
Quoted 3 lines
For testing the administrative part send me your created login account in PM and I will activate administrative access for it (like adding new components, new keywords, new flags, editing users etc).
Please do for me: (my e-mail address - don't think this is a really private information so I don't think a PM was needed at all ;))
Thanks,
--
Jean Delvare