Request for comments on dry-run Trac -> GitLab migration

TL;DR. Have a look at this [2] test import of GHC's Trac tickets. Tell us what issues you find. Hello everyone, As you likely know, we are currently in the process of consolidating GHC's infrastructure on GitLab [1]. The last step of this process is to migrate our tickets and wiki from Trac. Towards this end I am happy to announce the availability of a test GitLab instance [2] for the community's review. This is a clone of gitlab.haskell.org but with the addition of tickets [3] and GHC wiki [4] content imported from a Trac dump from earlier this month. There are a few known issues: * There are currently around 50 tickets missing from the import; we are working on identifying where they escaped to * The revision history of the Wiki is currently squashed due to performance issues [6] with GitLab's wiki implementation We intend to resolve both of these problems by the time of the final migration. If you find a ticket on the staging instance with problems that are not in the above list please do add the `import problems` label to it so we can have a look. There are a few aesthetic questions that could use community input: * Should the "Trac Metadata" boxes be always visible? * How do we make the Wiki index [7] more usable? Imposing more hierarchy to the page names would likely help but I'm still a bit worried that it will be hard to browse. Please do take a few minutes to peruse the test import and check for mistakes or potential usability issues. GHC's Trac tickets are one of the crown-jewels of the project; we want to make sure we get this migration right as will be living with the result for a long time to come. Cheers, - Ben [1] https://gitlab.haskell.org/ [2] https://gitlab.staging.haskell.org/ghc/ghc/ [3] https://gitlab.staging.haskell.org/ghc/ghc/issues [4] https://gitlab.staging.haskell.org/ghc/ghc/wiki [6] https://gitlab.com/gitlab-org/gitlab-ce/issues/57179 [7] https://ghc.haskell.org/trac/ghc/ticket/16212

Could we arrange that searching for the ticket number succeeds?
Eg searching for 12088 fails, and 16013.
Simon
| -----Original Message-----
| From: ghc-devs

Simon Peyton Jones via ghc-devs
Could we arrange that searching for the ticket number succeeds? Eg searching for 12088 fails, and 16013.
Yes, this is a bug [1]. I will bring it up with David. Cheers, - Ben [1] https://gitlab.com/gitlab-org/gitlab-ce/issues/30974

Thanks Ben, looks amazing.
I don't think the trac metadata boxes should always be visible. They
are unobtrusive now and tbh, I don't think I will be opening them up
much when looking at tickets.
Simon, I think if you start the query with a # then it "works". For
example, search for #12088 instead of 12088.
https://gitlab.com/gitlab-org/gitlab-ce/issues/13306
Cheers,
Matt
On Mon, Feb 4, 2019 at 4:06 PM Ben Gamari
TL;DR. Have a look at this [2] test import of GHC's Trac tickets. Tell us what issues you find.
Hello everyone,
As you likely know, we are currently in the process of consolidating GHC's infrastructure on GitLab [1]. The last step of this process is to migrate our tickets and wiki from Trac.
Towards this end I am happy to announce the availability of a test GitLab instance [2] for the community's review. This is a clone of gitlab.haskell.org but with the addition of tickets [3] and GHC wiki [4] content imported from a Trac dump from earlier this month.
There are a few known issues:
* There are currently around 50 tickets missing from the import; we are working on identifying where they escaped to
* The revision history of the Wiki is currently squashed due to performance issues [6] with GitLab's wiki implementation
We intend to resolve both of these problems by the time of the final migration. If you find a ticket on the staging instance with problems that are not in the above list please do add the `import problems` label to it so we can have a look.
There are a few aesthetic questions that could use community input:
* Should the "Trac Metadata" boxes be always visible?
* How do we make the Wiki index [7] more usable? Imposing more hierarchy to the page names would likely help but I'm still a bit worried that it will be hard to browse.
Please do take a few minutes to peruse the test import and check for mistakes or potential usability issues. GHC's Trac tickets are one of the crown-jewels of the project; we want to make sure we get this migration right as will be living with the result for a long time to come.
Cheers,
- Ben
[1] https://gitlab.haskell.org/ [2] https://gitlab.staging.haskell.org/ghc/ghc/ [3] https://gitlab.staging.haskell.org/ghc/ghc/issues [4] https://gitlab.staging.haskell.org/ghc/ghc/wiki [6] https://gitlab.com/gitlab-org/gitlab-ce/issues/57179 [7] https://ghc.haskell.org/trac/ghc/ticket/16212 _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

There is this other issue though which explains that searching in the
issues view for a ticket number does fail.
https://gitlab.com/gitlab-org/gitlab-ce/issues/30974
https://gitlab.staging.haskell.org/ghc/ghc/issues?scope=all&utf8=%E2%9C%93&state=opened&search=%231234
So if you want to search for a ticket by number you have to use the
global search.
On Mon, Feb 4, 2019 at 5:03 PM Matthew Pickering
Thanks Ben, looks amazing.
I don't think the trac metadata boxes should always be visible. They are unobtrusive now and tbh, I don't think I will be opening them up much when looking at tickets.
Simon, I think if you start the query with a # then it "works". For example, search for #12088 instead of 12088.
https://gitlab.com/gitlab-org/gitlab-ce/issues/13306
Cheers,
Matt
On Mon, Feb 4, 2019 at 4:06 PM Ben Gamari
wrote: TL;DR. Have a look at this [2] test import of GHC's Trac tickets. Tell us what issues you find.
Hello everyone,
As you likely know, we are currently in the process of consolidating GHC's infrastructure on GitLab [1]. The last step of this process is to migrate our tickets and wiki from Trac.
Towards this end I am happy to announce the availability of a test GitLab instance [2] for the community's review. This is a clone of gitlab.haskell.org but with the addition of tickets [3] and GHC wiki [4] content imported from a Trac dump from earlier this month.
There are a few known issues:
* There are currently around 50 tickets missing from the import; we are working on identifying where they escaped to
* The revision history of the Wiki is currently squashed due to performance issues [6] with GitLab's wiki implementation
We intend to resolve both of these problems by the time of the final migration. If you find a ticket on the staging instance with problems that are not in the above list please do add the `import problems` label to it so we can have a look.
There are a few aesthetic questions that could use community input:
* Should the "Trac Metadata" boxes be always visible?
* How do we make the Wiki index [7] more usable? Imposing more hierarchy to the page names would likely help but I'm still a bit worried that it will be hard to browse.
Please do take a few minutes to peruse the test import and check for mistakes or potential usability issues. GHC's Trac tickets are one of the crown-jewels of the project; we want to make sure we get this migration right as will be living with the result for a long time to come.
Cheers,
- Ben
[1] https://gitlab.haskell.org/ [2] https://gitlab.staging.haskell.org/ghc/ghc/ [3] https://gitlab.staging.haskell.org/ghc/ghc/issues [4] https://gitlab.staging.haskell.org/ghc/ghc/wiki [6] https://gitlab.com/gitlab-org/gitlab-ce/issues/57179 [7] https://ghc.haskell.org/trac/ghc/ticket/16212 _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

I find that commits aren't mentioned on the corresponding issues, for example there's no equivalent of https://ghc.haskell.org/trac/ghc/ticket/13497#comment:27 on https://gitlab.staging.haskell.org/ghc/ghc/issues/13497 I vaguely remember these "commit posts" being discussed before somewhere. But that's not even what I'm after. The commit itself mentions the ticket ("This fixes #13497"). Usually when such a commit is pushed to Gitlab, it automatically creates an entry like: Niklas Hambüchen @nh2 mentioned in commit abc123456 3 months ago But this isn't the case here. Is it because the issues were imported *after* the repo commits already exist? Can it be fixed? E.g. can Gitlab be told to re-index the repo accordingly? Or could it be done by deleting `master` and re-pushing the entire history?

Niklas Hambüchen
I find that commits aren't mentioned on the corresponding issues, for example there's no equivalent of
https://ghc.haskell.org/trac/ghc/ticket/13497#comment:27
on
https://gitlab.staging.haskell.org/ghc/ghc/issues/13497
I vaguely remember these "commit posts" being discussed before somewhere. But that's not even what I'm after.
The commit itself mentions the ticket ("This fixes #13497"). Usually when such a commit is pushed to Gitlab, it automatically creates an entry like:
Niklas Hambüchen @nh2 mentioned in commit abc123456 3 months ago
But this isn't the case here. Is it because the issues were imported *after* the repo commits already exist?
Yes, this is the cause and the import does handle this; I just (yet again) forgot to rerun this stage of the import. This should be fixed now. Cheers, - Ben

On 05/02/2019 4:49 AM, Ben Gamari wrote:> Yes, this is the cause and the import does handle this; I just (yet
again) forgot to rerun this stage of the import. This should be fixed now.
For me, nothing seems to have changed on https://gitlab.staging.haskell.org/ghc/ghc/issues/13497

On 5 Feb 2019, at 3:06 am, Ben Gamari
wrote: TL;DR. Have a look at this [2] test import of GHC's Trac tickets. Tell us what issues you find.
First up, it’s utterly amazing to me that this is importable and with all links transferred and syntax highlighting and whatnot! so great! However, attachments don’t seem to be present (At least, where I’m looking: at https://gitlab.staging.haskell.org/ghc/ghc/issues/3372 https://gitlab.staging.haskell.org/ghc/ghc/issues/3372) Julian
participants (5)
-
Ben Gamari
-
Julian Leviston
-
Matthew Pickering
-
Niklas Hambüchen
-
Simon Peyton Jones