Bug 187430 - app-admin/hddtemp-0.3_beta15-r2 database update
Bug#: 187430 Product:  Gentoo Linux Version: 2006.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: spock@gentoo.org Reported By: dhp_gentoo@doublehp.org
Component: Applications
URL: 
Summary: app-admin/hddtemp-0.3_beta15-r2 database update
Keywords:  
Status Whiteboard: 
Opened: 2007-08-01 20:39 0000
Description:   Opened: 2007-08-01 20:39 0000
12/02/07 and 14/02/07 I sent two emails
> new hard drive to add to database
> second new hard drive to add to database

to hddtemp@guzu.net

Obviously, new version Gentoo updated this week does not include peaces of
information I provided to upstream, thus I come down to ask the distro to patch
database for these drives.

I attach informative files as the bug is created (grrr, still not possible to
attach files on bug creation )

------- Comment #1 From DEMAINE Benoît-Pierre, aka DoubleHP 2007-08-01 20:40:34 0000 -------
Created an attachment (id=126653) [details]
Seagate ST3400620A

------- Comment #2 From DEMAINE Benoît-Pierre, aka DoubleHP 2007-08-01 20:41:34 0000 -------
Created an attachment (id=126654) [details]
Maxtor(reseller) MAxtor(manifacturer) STM3160212A

------- Comment #3 From Jakub Moc (RETIRED) 2007-08-01 20:43:20 0000 -------
*** Bug 187429 has been marked as a duplicate of this bug. ***

------- Comment #4 From Peter Avramucz 2007-08-19 19:57:02 0000 -------
Created an attachment (id=128606) [details]
WDC WD2500JS-23MHB0 data report

Please include my drive too!

------- Comment #5 From Michal Januszewski 2007-08-19 21:17:46 0000 -------
Is the upstream totally unresponsive with this?  It would normally be better to
have these updates done upstream.  If we include them in the .db file provided
by Gentoo and a user later manually updates the hddtemp database, the updates
will be gone if they are not included in the upstream version.

------- Comment #6 From DEMAINE Benoît-Pierre, aka DoubleHP 2007-08-19 23:34:09 0000 -------
(In reply to comment #5)
> Is the upstream totally unresponsive with this?  It would normally be better to
> have these updates done upstream.  If we include them in the .db file provided
> by Gentoo and a user later manually updates the hddtemp database, the updates
> will be gone if they are not included in the upstream version.
> 

That is what hapenned to me, reason why I opened this bug ! I reported
upstream, and patched locally months ago, and recently I had a breakage,
because there have been an update that fired away my improovement. I was
expecting the update to include the lines I mailed them, but, in fact, no.

------- Comment #7 From Michal Januszewski 2007-08-23 20:06:41 0000 -------
OK, I'll try to contact them during this weekend because I actually also have
an entry to add as well.  If that doesn't work, I guess will do some
Gentoo-specific patching of hddtemp.db.

------- Comment #8 From DEMAINE Benoît-Pierre, aka DoubleHP 2007-08-24 00:18:25 0000 -------
(In reply to comment #7)
> OK, I'll try to contact them during this weekend because I actually also have
> an entry to add as well.  If that doesn't work, I guess will do some
> Gentoo-specific patching of hddtemp.db.

try something like

for i in disk_ID1 disk_ID2 disk_ID3
do
 cat file.db |grep $i || echo "$i foobar" >>file.db
done

This way, you only add the missing lines, and avoids side effects of
traditionnal patches.

------- Comment #9 From Michal Januszewski 2007-08-29 20:45:33 0000 -------
Just to keep everyone updated: the author of hddtemp is currently pretty busy
and has a large backlog of hddtemp db updates. We'll try to work out a solution
that could make everyone happy. 

------- Comment #10 From Michal Januszewski 2007-09-05 21:26:23 0000 -------
OK, I decided to go (at least temporarily) with our own mini db.  Thanks for
your drive DB submissions.