Red Hat Bugzilla – Bug 474534
Updates links to kbase.redhat.com articles in hardware.redhat.com
Last modified: 2013-07-04 04:48:19 EDT
Description of problem:It shows the old links to the kbase.redhat.com
Attached is the mapping from primus articles id (first column) to clearspace id (second column).
May be you can run a query on the db for the search and replace of the links.
Tushar, seems the list didn't get attached, perhaps there is an api we could utilize to script the ID swapping?
(In reply to comment #1)
> Tushar, seems the list didn't get attached, perhaps there is an api we could
> utilize to script the ID swapping?
i sent you the mapping again in a separate mail, currently we used some scripts to swap the urls but those are specific to the clearspace. I am not sure about the structure if the hardware.redhat site, so i wont be able to comment much.
Please let me know if you need our help in creating some scripts, i can take the talks forward but could not guarantee anything as we are going to start the QA for our next release next week.
Thanks and Regards
Created attachment 344617 [details]
old to new kbase mapping
seems this kbase mapping is for all kbase articles. I asked nicho for help, to find out hwcert related kbases.
Created attachment 344745 [details]
old-format kbase list
there're 383 old-format kbase records in our DB. Not too many I guess :-)
I think we can manually replace these old-format records with the corresponding new IDs. I'll try to do this this afternoon and see how many I can finish in 1hour.
the catalog become really slow now. I don't wanna try in this condition for 1hour. so I tried 10minutes, manually added the new kbase links and removed the old-format kbase links. I finished 7 records and did this very slowly :) I'm optimistic I can do at least 42 records in 1hour.
which means I think we can finish all 383 old-format hwcert related kbase records in :
383 / 42 ~= 9.12 < 10 (man*hour)
this is done today. thanks for BillSun's help. we manually changed those 383 old kbase links to the new ones :)
confirmed with nicho. there're no old-format kbase links in our hwcert records.
I'm going to change the status to verified.
Confirmed, I see 7 continued uses of the old kbase linking:
187977 - not a hwcert
205195 - not a hwcert
205511 - test hwcert, in dumpster
367381 - test hwcert, in dumpster
428736 - hwcert, in dumpster
456311 - hwcert, in dumpster
456319 - hwcert, in dumpster
Tushar, anything left to do here?
(In reply to comment #10)
> Confirmed, I see 7 continued uses of the old kbase linking:
> 187977 - not a hwcert
> 205195 - not a hwcert
> 205511 - test hwcert, in dumpster
> 367381 - test hwcert, in dumpster
> 428736 - hwcert, in dumpster
> 456311 - hwcert, in dumpster
> 456319 - hwcert, in dumpster
> Tushar, anything left to do here?
I am not sure what you meant above. Is there still some linking to old urls? If everything has been replaced with the new links, then i consider this as a fixed issue :)
You can close the ticket.. Let it rest in peace for good ;)
Thanks and Regards
There are still 7 bugs in Bugzilla that have links to the old kbase URL, 5 of those are garbage thrown away dead certs (you can't delete bugs in BZ's so these will stay but can be ignored) and 2 are regular bugs that aren't hwcerts so you may want to contact the bug owners and see what makes sense with them. There are no live or active hwcerts with links to the old kbase so I'm going to go ahead and close this.