> On May 14, 2018, at 6:47 AM, Derek Atkins <de...@ihtfp.com> wrote: > > Hi All, > > I hit another snag in working on the BZ migration -- we need to > "predefine" any keywords we wish to use. I can try to determine which > ones we DO use (so far I've seen "documentation"), but I figured I would > put this out there first to decide how we want to handle them. > > First, keywords need to be predefined in the BZ instance. So unlike > product categories, which get built based on the bugs being imported, I > have to know a priori all the keywords that our bugs will use. > > Second, to create a keyword I need the keyword itself and a description. > > The good news is that you can get a list of keywords (and their > descriptions) from gnome bugzilla without be logged in: > https://bugzilla.gnome.org/describekeywords.cgi > > The bad news is that I think I need to install them (manually) every time > I blow away the database. I can probably script this, somewhat. > > So my question to the devs: which keywords do we want to keep? Should I > just copy them all (for now) and prune after I import? Should I figure > out which ones we need? Should I ignore keywords completely? > > How do you all feel?
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. Regards, John Ralls _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel