Trac to GitLab migration underway
Simon Peyton Jones
simonpj at microsoft.com
Tue Mar 12 16:39:44 UTC 2019
| > * I have lots of pages like this one
| > https://gitlab.haskell.org/ghc/ghc/wikis/proposal/custom-type-errors
| > that list the tickets relevant to a particular keyword. (Now "label" I
| > think?) But tat page is now lying: it claims to list current open
| > tickets, but actually it's a frozen snapshot. What should I do?
|
| I can take care of replacing these with links to the appropriate query.
Actually, clicking on a label icon takes you to a page that lists the open and closed issues associated with that label. That's enough I think. No need to make a custom query.
I have done an example here:
https://gitlab.haskell.org/ghc/ghc/wikis/partial-type-signatures
Simon
| -----Original Message-----
| From: Ben Gamari <ben at well-typed.com>
| Sent: 11 March 2019 22:37
| To: Simon Peyton Jones <simonpj at microsoft.com>; GHC developers <ghc-
| devs at haskell.org>
| Subject: RE: Trac to GitLab migration underway
|
| Simon Peyton Jones via ghc-devs <ghc-devs at haskell.org> writes:
|
| > | I'm happy to announce that the ticket and issue import processes
| > | are now complete and gitlab.haskell.org is back online. There are
| > | still a few final steps remaining which I will be carrying out over
| > | the next few
| > | days:
| >
| > Great! I'm sure it'll help to have everything in one place.
| >
| > Can I ask
| >
| > * That the old ticket repo be put in read-only mode. I've just
| > modified the old #16344, but I should have modified the new one.
| >
| Indeed this was supposed to be already done but it looks like I failed to
| remove a few permissions for developers which allowed further changes.
| This has been fixed.
|
| > * Back on the tickets front, how do I record the test cases(s) for a
| ticket?
| >
| This is unfortunately one of the casualties of the migration. GitLab
| doesn't have support for custom ticket fields (although they have
| indicated that they may introduce such support in the future).
|
| In the meantime we have a few options:
|
| * we introduce a convention to document this in comments
|
| * we give up tracking this in the issue tracker
|
| > * How do I record the MR for a ticket? (When it has one.)
| >
| Referring to the ticket from the MR description will result in a reference
| being added to the ticket.
|
| > * That the banner (on the wiki at least) saying "This site has been
| > deprecated and is in read-only mode" should describe how to get to the
| > corresponding URL on the new wiki. Eg. say "If you are trying to
| > access https://ghc.haskell.org/trac/ghc/wiki/<page>, the new URL is
| > "https://gitlab.haskell.org/ghc/ghc/wikis/<page>".
| >
| Ultimately the plan is to make Trac URLs directly forward to GitLab's
| Wiki. The current state of affairs is temporary.
|
| > * Where has https://ghc.haskell.org/trac/ghc/wiki/RichardAndSimon
| > gone? The corresponding URL on the new wiki doesn't exist.
| >
| This is an unfortunate effect of the move to GitLab's wiki, which insists
| on a different naming convention than Trac (kebab-case instead of
| CamelCase).
|
|
| > * How can I list the title index on the new wiki?
| >
| As Matthew mentioned, there is a table of contents page here [1]. Note
| that this is quite a hack; ideally we would be able to use GitLab's
| provided pages list feature [2] but unfortunately it's essentially
| unusable with a Wiki of non-trivial size. I have reported this upstream
| [3,4].
|
| > * I have lots of pages like this one
| > https://gitlab.haskell.org/ghc/ghc/wikis/proposal/custom-type-errors
| > that list the tickets relevant to a particular keyword. (Now "label" I
| > think?) But tat page is now lying: it claims to list current open
| > tickets, but actually it's a frozen snapshot. What should I do?
|
| I can take care of replacing these with links to the appropriate query.
|
| Cheers,
|
| - Ben
|
|
| [1] https://gitlab.haskell.org/ghc/ghc/wikis/index
| [2] https://gitlab.haskell.org/ghc/ghc/wikis/pages
| [3] https://gitlab.com/gitlab-org/gitlab-ce/issues/57751
| [4] https://gitlab.com/gitlab-org/gitlab-ce/issues/57179
More information about the ghc-devs
mailing list