[GNC-dev] Bugzilla Keywords -- keep or drop (and which ones)?
derek at ihtfp.com
Mon May 14 12:10:07 EDT 2018
On Mon, May 14, 2018 11:41 am, John Ralls wrote:
> The existing keywords don’t seem terribly useful to me and they’re in any
> case not used consistently enough: only 364 out of 8590 GnuCash bugs have
> a keyword on them. I don’t think that there’s any need to import them
> unless BZ requires it.
> If you do have to create them, do so and then back up the keyworddefs
> table using MySQL; you can then easily restore the table when you recreate
> the db.
It was easy enough to extract the fieds from gnome-bz into json, so I have
the list of defined keywords. And it was easy enough to write some code
to add them to the database programatically during the migration before I
insert any data. So that's what I did.
So for now I am going to duplicate all the gnome keywords and allow the
bugs to retain them. Then we can go through and remove any that are
I'm going to run the next try import and see how it behaves. I have (for
now) removed the dup_id fields from the import data, which I think means
we wont properly get duplicates marked in the database. We'll see how
this goes and how it all looks. The problem I'm seeing when I leave the
dup_iud field is that I get an error from the migration script:
Starting to create Bug 84690
Can't use string ("Bugzilla::Bug") as a HASH ref while "strict refs" in
use at Bugzilla/Bug.pm line 3322.
I will continue to explore this issue.
> John Ralls
Derek Atkins 617-623-3745
derek at ihtfp.com www.ihtfp.com
Computer and Internet Security Consultant
More information about the gnucash-devel