Page MenuHomePhabricator

Bugzilla-MigrationComponent
ArchivedPublic

Members (14)

Watchers (3)

Details

Description

This project was used to plan all the tasks that needed to get done for migrating from Bugzilla to Phabricator in November 2014. The migration has been finished successfully, hence this project is archived now.

Recent Activity

May 23 2024

Aklapper added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

Well well, followup:

May 23 2024, 1:02 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io

May 22 2024

Aklapper added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

FYI, due to importing RT tickets into Phabricator on 2014-12-17 and due to some tickets originally created either in Bugzilla or in RT being access restricted, there is still a number of non-open tickets filed before 2014-12-17 without a closedEpoch value in the DB.
However the vast majority got fixed today (which might not necessarily fix any statistics if they do not rely on querying the closedEpoch value but e.g. on transaction log values or such).

May 22 2024, 7:57 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
Aklapper closed T107254: Closed tickets in Bugzilla migrated without a closing date as Resolved.

Done. Thanks everyone!

May 22 2024, 10:59 AM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
Aklapper moved T107254: Closed tickets in Bugzilla migrated without a closing date from Backlog to Done on the Release-Engineering-Team (Yakisfaction) board.
May 22 2024, 10:57 AM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
Aklapper claimed T107254: Closed tickets in Bugzilla migrated without a closing date.
May 22 2024, 10:39 AM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io

May 17 2024

valerio.bozzolan placed T107254: Closed tickets in Bugzilla migrated without a closing date up for grabs.

Database fiddler hero welcome here with production access. Unassigning since I'm not.

May 17 2024, 9:52 AM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
valerio.bozzolan updated the task description for T107254: Closed tickets in Bugzilla migrated without a closing date.
May 17 2024, 9:49 AM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io

May 8 2024

valerio.bozzolan added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

The performance impact would be the same since the query plan uses the primary key. It would be just more verbose.

May 8 2024, 11:09 AM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
valerio.bozzolan added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

@Pppery at the moment the export followed T107254#9028797 so I'm quite sure we are already covered.

May 8 2024, 10:26 AM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io

May 7 2024

Aklapper added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

Make sure you handle the situation where a ticket is closed on Bugzilla, and then later reopened on Phabricator (and thus is open now). The result is that its closedDate would be null and should not be set.

May 7 2024, 5:03 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
Pppery added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

Make sure you handle the situation where a ticket is closed on Bugzilla, and then later reopened on Phabricator (and thus is open now). The result is that its closedDate would be null and should not be set.

May 7 2024, 4:52 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
valerio.bozzolan added a parent task for T107254: Closed tickets in Bugzilla migrated without a closing date: T356384: Phorge (Phabricator) Code Sprint 2024.
May 7 2024, 4:51 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io

May 3 2024

valerio.bozzolan added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

To any RelEng hero:

May 3 2024, 8:54 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
Pppery added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

LGTM from a quick glance

May 3 2024, 8:38 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
valerio.bozzolan added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

Oh, thanks Dzahn :3

May 3 2024, 8:19 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
valerio.bozzolan added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

Ignore my last comment. We can obtain that information using Arcanist and Conduit APIs 🌈 🦄

May 3 2024, 8:15 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
Dzahn added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.
+-------------+
| closedEpoch |
+-------------+
|  1714527215 |
+-------------+
May 3 2024, 8:15 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
valerio.bozzolan added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

Can somebody please run this SQL command in production?

May 3 2024, 7:59 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
valerio.bozzolan added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

appears to be truncated.

May 3 2024, 7:40 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io

May 2 2024

Pppery added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

And there's no reason to ignore mike.lifeguard - he was a valid bugzilla contributor, albeit now inactive.

May 2 2024, 10:22 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
Pppery added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

Actually it looks like this bug was already reported and fixed above and I was following aklapper's quote of an old version of the SQL. But even the most recent version of the SQL (https://gitlab.wikimedia.org/valeriobozzolan/yet-another-bugzilla-parser/-/blob/master/data/T107254-migration-commands.sql) appears to be truncated.

May 2 2024, 10:21 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
Pppery added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

Bug 1189/T3189 was open at the time Bugzilla was migrated to Phabricator. It was closed years later. There's nothing to do here.

May 2 2024, 10:20 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
valerio.bozzolan added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

Or, the scaper can surely ignore edits done by mike.lifeguard+bugs :D ihih

May 2 2024, 10:15 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
valerio.bozzolan added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.
UPDATE phabricator_maniphest.maniphest_task SET closedEpoch = 1247766128 WHERE closedEpoch IS NULL AND id = 3189; -- in date 2009-07-16 17:42:08 UTC BugZilla ID 1189 closed by user mike.lifeguard+bugs with status REOPENED

This doesn't make sense - a ticket can't be closed with status REOPENED.

May 2 2024, 10:14 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
valerio.bozzolan added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

This doesn't make sense - a ticket can't be closed with status REOPENED.

May 2 2024, 9:44 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
Pppery added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

There are a few entries that say:

UPDATE phabricator_maniphest.maniphest_task SET closedEpoch = 1247766128 WHERE closedEpoch IS NULL AND id = 3189; -- in date 2009-07-16 17:42:08 UTC BugZilla ID 1189 closed by user mike.lifeguard+bugs with status REOPENED

This doesn't make sense - a ticket can't be closed with status REOPENED.

May 2 2024, 5:56 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
Aklapper added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.
May 2 2024, 10:37 AM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io

Apr 16 2024

hashar added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

As for CLOSED, I guess we did that to prevent further comments and/or to indicate the task resolution got verified. Then.. I cant quite remember how we used Bugzilla 15/20 years ago :D

Apr 16 2024, 10:16 AM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io

Apr 13 2024

Aklapper added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

I cant quite remember how we used Bugzilla 15/20 years ago

Apr 13 2024, 3:48 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io

Apr 12 2024

valerio.bozzolan added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

@valerio.bozzolan The SQL statements and comments appear in contradiction. For every comment that says "Skipped bug X - state was REOPENED" there is in fact a real update statement that does exactly what the comment says it doesn't. Is this intentional?

Apr 12 2024, 4:49 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
Krinkle added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

@valerio.bozzolan The SQL statements and comments appear in contradiction. For every comment that says "Skipped bug X - state was REOPENED" there is in fact a real update statement that does exactly what the comment says it doesn't. Is this intentional?

Apr 12 2024, 4:39 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
valerio.bozzolan claimed T107254: Closed tickets in Bugzilla migrated without a closing date.

Here our generated SQL patch candidate ready for review:

Apr 12 2024, 3:36 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
hashar added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

Note: we have dump of Bugzilla data at https://dumps.wikimedia.org/other/bugzilla/ , as static html file and a database dump (without emails)

And... the script now takes seconds instead of weeks. Now we have enough extra Watts to shutdown a small nuclear plant somewhere 🌈

Apr 12 2024, 2:04 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io

Apr 11 2024

valerio.bozzolan updated subscribers of T107254: Closed tickets in Bugzilla migrated without a closing date.

And if it would work on a static HTML dump like ours, instead of a real BZ instance.

Apr 11 2024, 1:55 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
Aklapper added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

Have anybody already checked the file mentioned in the description, that is, maybe an useful starting point?
https://gitlab.wikimedia.org/valeriobozzolan/yet-another-bugzilla-parser/-/blob/master/data/bugzilla.csv

Apr 11 2024, 1:23 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
valerio.bozzolan added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

Anyway a required step is to take P49618 and make a nice phabricator.csv.

Apr 11 2024, 1:03 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
valerio.bozzolan added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

Have anybody already checked the file mentioned in the description, that is, maybe an useful starting point?

Apr 11 2024, 12:48 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
Aklapper added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

@valerio.bozzolan I admit I didn't try to fully understand those 400 lines which seem to cover way way more stuff than needed here. :D Like why there is an array with statuses when we only care about last Status=Resolved etc. Or why care about ACTION_WITH_LINKS etc. (Also, stuff like WORKSFORME and REMIND and LATER and --- are no statuses but resolutions.) And if it would work on a static HTML dump like ours, instead of a real BZ instance.

Apr 11 2024, 11:36 AM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
valerio.bozzolan added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

Small note

Apr 11 2024, 11:19 AM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
Aklapper added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

Had another quick look and managed to get down to have only <table>...</table> left in the local bug activity page. But then interesting problem is dealing with the rowspan: No date cell in the Status change row when several actions were performed at once and 'Status change' is not listed as first row)

Apr 11 2024, 11:08 AM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io

Apr 10 2024

Aklapper added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.
Apr 10 2024, 9:53 AM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io

Apr 9 2024

Dzahn added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

git clone https://gitlab.wikimedia.org/repos/sre/miscweb/bugzilla.git

Apr 9 2024, 8:33 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
hashar added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

Note: we have dump of Bugzilla data at https://dumps.wikimedia.org/other/bugzilla/ , as static html file and a database dump (without emails)

Apr 9 2024, 11:36 AM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
Aklapper added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

To summarize: Would need to perform 57008 times the following steps:

I obviously do not care who set the closed status (we cannot match non-existing accounts!), and I obviously do not care about creating fake transactions in the DB, but would only set that one closedEpoch column value, if at all.

Apr 9 2024, 10:22 AM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
LSobanski removed a project from T107254: Closed tickets in Bugzilla migrated without a closing date: collaboration-services.

Got it. In this case I'll just untag Collab.

Apr 9 2024, 9:21 AM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io

Apr 8 2024

Aklapper reopened T107254: Closed tickets in Bugzilla migrated without a closing date as "Open".

This is not resolved; it would require altering our DB

Apr 8 2024, 3:57 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
LSobanski closed T107254: Closed tickets in Bugzilla migrated without a closing date as Resolved.

Closing based on the last comment.

Apr 8 2024, 3:52 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io

Apr 2 2024

Dzahn added a project to T107254: Closed tickets in Bugzilla migrated without a closing date: collaboration-services.
Apr 2 2024, 3:49 PM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io
valerio.bozzolan placed T107254: Closed tickets in Bugzilla migrated without a closing date up for grabs.

I sincerely do not remember what I was doing here :D will retry to do something during the next WMHack. I will continue from this point:

Apr 2 2024, 7:02 AM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io

Jul 21 2023

valerio.bozzolan added a comment to T107254: Closed tickets in Bugzilla migrated without a closing date.

Let's join this lovely pastebin with our scraped stuff

Jul 21 2023, 6:49 AM · Release-Engineering-Team (Yakisfaction), DevRel-November-2015, Phabricator, Bugzilla-Migration, wikimedia.biterg.io