Op vrijdag 6 juli 2018 18:14:08 CEST schreef Derek Atkins: > On Fri, July 6, 2018 11:59 am, John Ralls wrote: > >> I suspect I could write a script using the Perl interface that would > >> search for any references like this, and possibly hand-modify the SQL > >> tables that need adjusting. If nothing else I can look for any comment > >> references to bugzilla.gnome.org <http://bugzilla.gnome.org/> or a bug# > >> that's not in the database. > >> > >> Actually, I can probably do that in the json! So there are 361 bugs > >> that > >> have a reference to "show_bug.cgi". Only 287 of those reference > >> bugzilla.gnome.org/show_bug.cgi > >> <http://bugzilla.gnome.org/show_bug.cgi>. > >> > >> Searching for "Bug # xxx" which wasn't imported is going to be harder. > >> > >> I'm not sure what to change the bugzilla.gnome.org > >> <http://bugzilla.gnome.org/> references to... > > > > I assume that you mean you don’t know what to change bugzilla.gnome.org > > <http://bugzilla.gnome.org/> references to when they refer to a bug that > > we didn’t import to bugs.gnucash.org <http://bugs.gnucash.org/>. I suppose > > that there are two alternatives: We can import those bugs too or just > > leave the links as-is. I don’t think that we want to import them. (The > > third alternative, find their gitlab instances, will likely apply only to > > a very few of them: Only open bugs being actively worked on or identified > > as still a serious problem were migrated.) > > Yes. > > I can easily change local references. > > I don't know how to modify references to bugs we didn't import. > Depends on how much effort we're willing to spend.
You can query the db for all variations of bug #<number>, bug <number> and bugzilla.gnome.org/show_bug.cgi. The first two formats when referring to gnucash bugs can be left as they are. The third format when referring to gnucash bugs can be rewritten to bug #<number> If the bugs don't refer to a gnucash bug you could try to find a gitlab.ngome.org url in the last few comments on the bug on bugzilla.gnome.org and substitute that in our comments. If no gitlab.gnome.org url is found in the bug, just replace it with the bugzilla.gnome.org url. There's not alternative in that case (this last option is needed for the first two formats, as our bug db doesn't have these bugs). Geert _______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.